summaryrefslogtreecommitdiff
path: root/lib/stwcs/updatewcs/utils.py
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2014-05-01 17:44:37 -0400
committerdencheva <dencheva@stsci.edu>2014-05-01 17:44:37 -0400
commit1aea0a057bde417b181538512006c1dfeccbc16e (patch)
treec2700e59e198b77fb6581be3902edb99c2e1c0c0 /lib/stwcs/updatewcs/utils.py
parente2041048d7b03b0a8d9557863a1cfb32592fab1a (diff)
downloadstwcs_hcf-1aea0a057bde417b181538512006c1dfeccbc16e.tar.gz
further changes to move to astropy
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31270 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'lib/stwcs/updatewcs/utils.py')
-rw-r--r--lib/stwcs/updatewcs/utils.py30
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/stwcs/updatewcs/utils.py b/lib/stwcs/updatewcs/utils.py
index 550ce56..7bdd6fe 100644
--- a/lib/stwcs/updatewcs/utils.py
+++ b/lib/stwcs/updatewcs/utils.py
@@ -35,8 +35,8 @@ def updateNEXTENDKw(fobj):
Parameters
-----------
- fobj : pyfits.HDUList
- PyFITS object for file opened in update mode
+ fobj : `astropy.io.fits.HDUList`
+ The FITS object for file opened in `update` mode
"""
if 'nextend' in fobj[0].header:
@@ -124,11 +124,11 @@ def build_sipname(fobj, fname=None, sipname=None):
Parameters
----------
- fobj: HDUList
- pyfits file object
- fname: string
- science file name (to be used if ROOTNAMe is not present
- sipname: string
+ fobj : `astropy.io.fits.HDUList`
+ file object
+ fname : string
+ science file name (to be used if ROOTNAME is not present
+ sipname : string
user supplied SIPNAME keyword
Returns
@@ -169,10 +169,10 @@ def build_npolname(fobj, npolfile=None):
Parameters
----------
- fobj: HDUList
- pyfits file object
- npolfile: string
- user supplied NPOLFILE keyword
+ fobj : `astropy.io.fits.HDUList`
+ file object
+ npolfile : string
+ user supplied NPOLFILE keyword
Returns
-------
@@ -202,10 +202,10 @@ def build_d2imname(fobj, d2imfile=None):
Parameters
----------
- fobj: HDUList
- pyfits file object
- d2imfile: string
- user supplied NPOLFILE keyword
+ fobj : `astropy.io.fits.HDUList`
+ file object
+ d2imfile : string
+ user supplied NPOLFILE keyword
Returns
-------