From c3486243801cdc796e912ba06c9761808a679a48 Mon Sep 17 00:00:00 2001 From: dencheva Date: Mon, 19 Jul 2010 18:46:50 +0000 Subject: 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 --- distortion/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'distortion/utils.py') 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 -- cgit