From d7d1dc99a1e50339522faa88b89583973ab14f94 Mon Sep 17 00:00:00 2001 From: dencheva Date: Thu, 9 Sep 2010 22:00:21 +0000 Subject: 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 --- wcsutil/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wcsutil/__init__.py') 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 -- cgit