From 914af36db70dafd6417198634ce1e55a5a5dd8d9 Mon Sep 17 00:00:00 2001 From: dencheva Date: Tue, 10 Feb 2009 20:58:37 +0000 Subject: Modified the constructor for HSTWCS. Now it can be created given: - a filename and extension number - fully qualified filename - a pyfits object and an extension number - if given an instrument and detctor parameters, a template HSTWCS object for that instrument will be created. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7534 fe389314-cf27-0410-b35b-8c050e845b92 --- hstwcs/makewcs.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'hstwcs/makewcs.py') diff --git a/hstwcs/makewcs.py b/hstwcs/makewcs.py index 650d251..809daab 100644 --- a/hstwcs/makewcs.py +++ b/hstwcs/makewcs.py @@ -1,4 +1,3 @@ -#from .. mappings import DEGTORAD, RADTODEG from updatewcs import DEGTORAD, RADTODEG import numpy from math import sin, sqrt, pow, cos, asin, atan2,pi @@ -42,7 +41,6 @@ class MakeWCS(object): cls.uprefwcs(ext_wcs, ref_wcs, rv23_corr, ltvoff, offshift) cls.upextwcs(ext_wcs, ref_wcs, v23_corr, rv23_corr, ltvoff, offshift) - kw2update = {'CD1_1': ext_wcs.wcs.cd[0,0], 'CD1_2': ext_wcs.wcs.cd[0,1], -- cgit