diff options
author | dencheva <dencheva@stsci.edu> | 2010-07-19 14:46:50 -0400 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2010-07-19 14:46:50 -0400 |
commit | c3486243801cdc796e912ba06c9761808a679a48 (patch) | |
tree | 636626006083f39cc9a047f13f5d0692c08d008d /distortion/utils.py | |
parent | 187f9d9598db3a44a1a24a43aef2dbb393cd4bbf (diff) | |
download | stwcs_hcf-c3486243801cdc796e912ba06c9761808a679a48.tar.gz |
Pywcs was changed not to set default values when header is not provided, so setting ctype here.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@9881 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'distortion/utils.py')
-rw-r--r-- | distortion/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/distortion/utils.py b/distortion/utils.py index 19cec3c..cb434be 100644 --- a/distortion/utils.py +++ b/distortion/utils.py @@ -96,7 +96,7 @@ def undistortWCS(wcsobj): lin_wcsobj.pscale = sqrt(lin_wcsobj.wcs.cd[0,0]**2 + lin_wcsobj.wcs.cd[1,0]**2)*3600. lin_wcsobj.wcs.crval = np.array([0.,0.]) lin_wcsobj.wcs.crpix = np.array([0.,0.]) - + lin_wcsobj.wcs.ctype = ['RA---TAN', 'DEC--TAN'] lin_wcsobj.wcs.set() return lin_wcsobj |