summaryrefslogtreecommitdiff
path: root/wcsutil/__init__.py
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2010-09-09 18:00:21 -0400
committerdencheva <dencheva@stsci.edu>2010-09-09 18:00:21 -0400
commitd7d1dc99a1e50339522faa88b89583973ab14f94 (patch)
tree0ab420274e0befd75e83a77db3ff27830935e0f9 /wcsutil/__init__.py
parenta10cfd3fd163ea6ff29a109c55b5cd82435d3a4b (diff)
downloadstwcs_hcf-d7d1dc99a1e50339522faa88b89583973ab14f94.tar.gz
Added parameters to updatewcs to allow the primary WCS to be archived under an arbitrary name. Corrected bugs.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@10267 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'wcsutil/__init__.py')
-rw-r--r--wcsutil/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wcsutil/__init__.py b/wcsutil/__init__.py
index 5bdbeb9..5344904 100644
--- a/wcsutil/__init__.py
+++ b/wcsutil/__init__.py
@@ -33,7 +33,8 @@ class HSTWCS(WCS):
`fobj`: string or PyFITS HDUList object or None
a file name, e.g j9irw4b1q_flt.fits
a fully qualified filename[EXTNAME,EXTNUM], e.g. j9irw4b1q_flt.fits[sci,1]
- a pyfits file object, e.g pyfits.open('j9irw4b1q_flt.fits')
+ a pyfits file object, e.g pyfits.open('j9irw4b1q_flt.fits'), in which case the
+ user is responsible for closing the file object.
`ext`: int or None
extension number
if ext==None, it is assumed the data is in the primary hdu