summaryrefslogtreecommitdiff
path: root/lib/stwcs/updatewcs
Commit message (Collapse)AuthorAgeFilesLines
...
* Merging changes from 'stwcs_hdrlet' branch (r18787 - r13909) into trunk. ↵hack2011-10-253-13/+55
| | | | | | This version of STWCS (0.9.1) provides support for headerlets based on 'Headerlet Design' wiki document, and includes TEAL interfaces for all public headerlet functions. It also moves the TEAL interface for 'updatewcs' from 'astrodither' to this package. The TEAL interaces have been included as a new 'gui' sub-package in order to keep them separate from the remainder of the package's functionality. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13910 fe389314-cf27-0410-b35b-8c050e845b92
* Refined the definition of the 'SIPNAME' and 'DISTNAME' keyword values to ↵hack2011-08-301-2/+3
| | | | | | properly reflect that the distortion model is specific to each input image. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13698 fe389314-cf27-0410-b35b-8c050e845b92
* The 'createDgeoHDU' and 'createNpolHDU' methods in 'udpatewcs' were updated ↵hack2011-08-192-2/+29
| | | | | | to also include header keywords from the reference file's primary header. This information will provide the user with the source of the calibration data. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13649 fe389314-cf27-0410-b35b-8c050e845b92
* Corrected the generation of the WCSNAME keyword to use ↵hack2011-08-191-1/+1
| | | | | | 'utils.extract_rootname', so that the same conventions can be used and to eliminate problems that generate values such as 'IDC_./n7n18501j'. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13647 fe389314-cf27-0410-b35b-8c050e845b92
* update the values of the idctab coefficients in the SCi extension header ↵dencheva2011-08-191-0/+4
| | | | | | when the coefficients are shifted in subarray mode git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13646 fe389314-cf27-0410-b35b-8c050e845b92
* Cleaning the model.shift methoddencheva2011-08-191-2/+2
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13641 fe389314-cf27-0410-b35b-8c050e845b92
* Revised how DISTNAME and SIPNAME are computed to meet requirements specified ↵hack2011-08-192-20/+66
| | | | | | by 8/11/2011 version of Headerlet Design document. The function 'compute_distname' was moved from __init__ to utils for use in other STWCS routines if necessary. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13640 fe389314-cf27-0410-b35b-8c050e845b92
* Coefficients from the idc table were not properly shifted when the data is ↵dencheva2011-08-181-5/+16
| | | | | | taken in subarray mode. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13637 fe389314-cf27-0410-b35b-8c050e845b92
* The code for 'updatewcs' was revised to correctly add the NPOL related ↵hack2011-08-151-2/+6
| | | | | | keywords to a science header which does not have any HISTORY keywords. This caused problems with data processed using the IMPHTTAB, as that code no longer reports the files used for the photometry keyword computation as HISTORY keywords. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13616 fe389314-cf27-0410-b35b-8c050e845b92
* Added additional keywords to headers to support alternate WCSs and headerlets.dencheva2011-08-091-1/+27
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13552 fe389314-cf27-0410-b35b-8c050e845b92
* Do not copy the recomputed primary WCS. Also removed parameters related to ↵dencheva2011-08-091-62/+12
| | | | | | this change - wcsname, wcskey, clobber. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13548 fe389314-cf27-0410-b35b-8c050e845b92
* Use reusekey=True in updatewcs to overwrite the 'A' key. This is necessary ↵dencheva2011-08-091-1/+2
| | | | | | in order to be able to repeatedly run updatewcs on files. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13545 fe389314-cf27-0410-b35b-8c050e845b92
* Added pywcs version to headersdencheva2011-08-081-9/+15
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13539 fe389314-cf27-0410-b35b-8c050e845b92
* Removed parameter clobber in restoreWCS, so that it always overwrites the ↵dencheva2011-08-081-4/+3
| | | | | | primary WCS. Not passing input parameter check now raises an Error. Not findong a wcskey raises a KeyError. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13537 fe389314-cf27-0410-b35b-8c050e845b92
* this change to updatewcs goes with r13513dencheva2011-08-051-3/+4
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13516 fe389314-cf27-0410-b35b-8c050e845b92
* Redoing the r13221-13223 merge in the actual trunk now. This updates trunk ↵embray2011-06-227-0/+1647
to the setup_refactoring branch (however, coords, pysynphot, and pywcs are still being pulled from the astrolib setup_refactoring branch. Will have to do that separately then update the svn:externals) git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13225 fe389314-cf27-0410-b35b-8c050e845b92