summaryrefslogtreecommitdiff
path: root/updatewcs/__init__.py
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2010-01-25 17:13:05 -0500
committerdencheva <dencheva@stsci.edu>2010-01-25 17:13:05 -0500
commit1c380263a895a6ce91ef24ee9c2c0445df7bbebb (patch)
tree75a3f18b0fd58d6ac5adfb1d3af7520967f3a67d /updatewcs/__init__.py
parentadd5bab6ddb69e48bc6f95e2f0b38e60c4fb9fed (diff)
downloadstwcs_hcf-1c380263a895a6ce91ef24ee9c2c0445df7bbebb.tar.gz
- If idc table is not found and idc model cannot be restored from SIP, idcmodel is always set to None.
- Two cases are considered when output_wcs is created and idcmodel for the reference image is None: -- if idcmodel can be found, a RuntimeError will be raised and the user prompted to run 'updatewcs' or pass 'undistort=False' kw. -- if idcmodel cannot be found, the original WCS for the reference object will be returned and used as an output WCS. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8640 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'updatewcs/__init__.py')
-rw-r--r--updatewcs/__init__.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/updatewcs/__init__.py b/updatewcs/__init__.py
index 26834db..282d6c9 100644
--- a/updatewcs/__init__.py
+++ b/updatewcs/__init__.py
@@ -16,7 +16,7 @@ __docformat__ = 'restructuredtext'
__version__ = '0.4'
-def updatewcs(input, vacorr=True, tddcorr=True, dgeocorr=True, checkfiles=True, d2imcorr=True):
+def updatewcs(input, vacorr=True, tddcorr=True, dgeocorr=True, d2imcorr=True, checkfiles=True):
"""
Purpose
=======
@@ -46,6 +46,10 @@ def updatewcs(input, vacorr=True, tddcorr=True, dgeocorr=True, checkfiles=True,
If True, vecocity aberration correction will be applied
`tddcorr`: boolean
If True, time dependent distortion correction will be applied
+ `dgeocorr`: boolean
+ If True, a Lookup table distortion will be applied
+ `d2imcorr`: boolean
+ If True, detector to image correction will be applied
`checkfiles`: boolean
If True, the format of the input files will be checked,
geis and waiver fits files will be converted to MEF format.