summaryrefslogtreecommitdiff
path: root/wcsutil/headerlet.py
diff options
context:
space:
mode:
authorhack <hack@stsci.edu>2011-04-05 09:42:56 -0400
committerhack <hack@stsci.edu>2011-04-05 09:42:56 -0400
commit462577895390869011e5aeb22e6afdd55b95c008 (patch)
tree4fc6c59dbd6cfbe59fe3a11636ea6a959f936353 /wcsutil/headerlet.py
parent9753d368de5771d33cf8dd2ae16e735402ec4298 (diff)
downloadstwcs_hcf-462577895390869011e5aeb22e6afdd55b95c008.tar.gz
The HSTWCS method 'wcs2header' was modified to append the SIP and IDC distortion model keywords to the header using the '.update()' method instead of extending the header with a CardList. This corrected a problem with the CardList not fully updating the original header making the appended cards unaccessible using the dictionary lookup syntax.
The logic for using the 'readModel()' method of HSTWCS was also improved to not try and read the IDCModel when no 'idctab' had been specified in the header. Finally, a small bug was fixed in the 'wcscorr' module for recognizing what rows are available for being updated so that the update will actually occur. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12392 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'wcsutil/headerlet.py')
0 files changed, 0 insertions, 0 deletions