From 1c380263a895a6ce91ef24ee9c2c0445df7bbebb Mon Sep 17 00:00:00 2001 From: dencheva Date: Mon, 25 Jan 2010 22:13:05 +0000 Subject: - 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 --- updatewcs/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'updatewcs/__init__.py') 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. -- cgit