summaryrefslogtreecommitdiff
path: root/wcsutil
diff options
context:
space:
mode:
Diffstat (limited to 'wcsutil')
-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