summaryrefslogtreecommitdiff
path: root/wcsutil/__init__.py
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2009-07-27 13:55:37 -0400
committerdencheva <dencheva@stsci.edu>2009-07-27 13:55:37 -0400
commit7d454d26157320effa121b8c57df225a479439e1 (patch)
treee9acf254e21a4a8a2e0fabc3f82aa21d4c590f36 /wcsutil/__init__.py
parentf43ea346d157b414db65dac5e458a6396afb5615 (diff)
downloadstwcs_hcf-7d454d26157320effa121b8c57df225a479439e1.tar.gz
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
Diffstat (limited to 'wcsutil/__init__.py')
-rw-r--r--wcsutil/__init__.py14
1 files changed, 2 insertions, 12 deletions
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.