summaryrefslogtreecommitdiff
path: root/lib/stwcs/updatewcs/det2im.py
diff options
context:
space:
mode:
authorembray <embray@stsci.edu>2011-11-08 10:47:46 -0500
committerembray <embray@stsci.edu>2011-11-08 10:47:46 -0500
commit8e1d663c91b501c8e71eeba430de049a299f937c (patch)
tree16b746c35c1a20b1157ced03d8a282a840858b42 /lib/stwcs/updatewcs/det2im.py
parent40377535c7738b8022fda859228520918a99b0ff (diff)
downloadstwcs_hcf-8e1d663c91b501c8e71eeba430de049a299f937c.tar.gz
Updates the HeaderletHDU class to use PyFITS's new FitsHDU class as its base.
This works mostly the same way as the old implementation. The differences are as follows: * The headerlet data is no longer needlessly encapsulated in a tar file; instead it's included directly as an embedded FITS file which should work fine for most FITS readers (though most won't know what to do with it, and will just treat it as raw data). * A few new keywords are included in the HeaderletHDU's header--these keywords (the XINDn keywords) give the offsets of each HDU embedded in the HeaderletHDU. Howver, this information is not currently used. * In addition to the `.headerlet` property the `.hdulist` property is provided, which returns the HeaderletHDU's contents as a normal `HDUList` object instead of a `Headerlet` object. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13979 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'lib/stwcs/updatewcs/det2im.py')
0 files changed, 0 insertions, 0 deletions