From 7d454d26157320effa121b8c57df225a479439e1 Mon Sep 17 00:00:00 2001 From: dencheva Date: Mon, 27 Jul 2009 17:55:37 +0000 Subject: Removed code related to d2im correction. Changed the type of CDELT to be float. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8162 fe389314-cf27-0410-b35b-8c050e845b92 --- wcsutil/__init__.py | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'wcsutil/__init__.py') diff --git a/wcsutil/__init__.py b/wcsutil/__init__.py index fe2e8c8..a275a18 100644 --- a/wcsutil/__init__.py +++ b/wcsutil/__init__.py @@ -119,8 +119,6 @@ class HSTWCS(WCS): self.dec_targ = primhdr.get('DEC_TARG', None) self.det2imfile = primhdr.get('D2IMFILE', None) self.det2imext = ehdr.get('D2IMEXT', None) - self.axiscorr = primhdr.get('AXISCORR', None) - self.d2imerr = primhdr.get('D2IMERR', 0.0) try: self.pav3 = primhdr['PA_V3'] @@ -226,16 +224,8 @@ class HSTWCS(WCS): return else: self.updatehdr(header) - - def get_origin(self, *args): - # Parse the arguments to get the origin of the - #transformation: 0 or 1 - if len(args) == 2: - return args[1] - elif len(args) == 3: - return args[2] - raise TypeError("Expected 2 or 3 arguments, %d given" % len(args)) - + + def restore(self, header=None): """ Restore a WCS archive in memory and update the WCS object. -- cgit