summaryrefslogtreecommitdiff
path: root/wcsutil/instruments.py
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2008-08-22 13:59:11 -0400
committerdencheva <dencheva@stsci.edu>2008-08-22 13:59:11 -0400
commitb003de463c45950a475892c8f5316c2f13a7536f (patch)
tree773f31bc7fe0149be7576667d2403c4c53fa771c /wcsutil/instruments.py
parent33107fbdd5bba3625c63bf944cfb7a927f18cd1e (diff)
downloadstwcs_hcf-b003de463c45950a475892c8f5316c2f13a7536f.tar.gz
- HSTWCS class was modified to
- not keep the headers as attributes - accept an adittional paramter fobj, consistent with SIP and WCS classes. - The restore method was renamed to get_archive and moved to utils - corrections classes: - updateWCS were turned into classmethods - diff_abgles was moved to utils - restoreWCS() was moved to utils git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@6973 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'wcsutil/instruments.py')
-rw-r--r--wcsutil/instruments.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/wcsutil/instruments.py b/wcsutil/instruments.py
index 2790d8a..a80ec31 100644
--- a/wcsutil/instruments.py
+++ b/wcsutil/instruments.py
@@ -71,13 +71,11 @@ class ACSWCS(InstrWCS):
InstrWCS.__init__(self,hdr0, hdr)
self.set_ins_spec_kw()
-
def set_parity(self):
parity = {'WFC':[[1.0,0.0],[0.0,-1.0]],
'HRC':[[-1.0,0.0],[0.0,1.0]],
'SBC':[[-1.0,0.0],[0.0,1.0]]}
detector = self.primhdr.get('detector', None)
- print 'detector', detector
self.parity = parity[detector]