diff options
author | dencheva <dencheva@stsci.edu> | 2013-01-11 13:06:18 -0500 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2013-01-11 13:06:18 -0500 |
commit | 58bb25be00c89eb7d84a6930a500ecd07ff37c26 (patch) | |
tree | 33272352f75d9f1d12f748372f534e05a71b6dfa /lib/stwcs/wcsutil/hstwcs.py | |
parent | 082718eeffabb9a1f46ba119dca49a26a51e018d (diff) | |
download | stwcs_hcf-58bb25be00c89eb7d84a6930a500ecd07ff37c26.tar.gz |
minor documentation correction
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@21532 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'lib/stwcs/wcsutil/hstwcs.py')
-rw-r--r-- | lib/stwcs/wcsutil/hstwcs.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/stwcs/wcsutil/hstwcs.py b/lib/stwcs/wcsutil/hstwcs.py index e7e5460..c5bdd71 100644 --- a/lib/stwcs/wcsutil/hstwcs.py +++ b/lib/stwcs/wcsutil/hstwcs.py @@ -73,9 +73,10 @@ class HSTWCS(WCS): a fully qualified filename[EXTNAME,EXTNUM], e.g. j9irw4b1q_flt.fits[sci,1] 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 + ext: int, tuple or None extension number - if ext==None, it is assumed the data is in the primary hdu + if ext is tuple, it must be ("EXTNAME", EXTNUM), e.g. ("SCI", 2) + if ext is None, it is assumed the data is in the primary hdu minerr: float minimum value a distortion correction must have in order to be applied. If CPERRja, CQERRja are smaller than minerr, the corersponding |