From b003de463c45950a475892c8f5316c2f13a7536f Mon Sep 17 00:00:00 2001 From: dencheva Date: Fri, 22 Aug 2008 17:59:11 +0000 Subject: - 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 --- wcsutil/instruments.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'wcsutil/instruments.py') 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] -- cgit