From 9328e826012e369da3d689c72cf2be17e026b69c Mon Sep 17 00:00:00 2001 From: dencheva Date: Fri, 21 May 2010 15:23:48 +0000 Subject: Removed commented out code git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@9432 fe389314-cf27-0410-b35b-8c050e845b92 --- distortion/mutil.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'distortion/mutil.py') diff --git a/distortion/mutil.py b/distortion/mutil.py index 780de0b..d656b32 100644 --- a/distortion/mutil.py +++ b/distortion/mutil.py @@ -77,20 +77,7 @@ def readIDCtab (tabname, chip=1, date=None, direction='forward', # First, read in TDD coeffs if present phdr = ftab['PRIMARY'].header skew_coeffs = read_tdd_coeffs(phdr) - """ - # Read in ACS TDD correction coefficients - if ftab['PRIMARY'].header.has_key('INSTRUME'): - instrument = ftab['PRIMARY'].header['INSTRUME'] - if instrument == 'ACS' and detector == 'WFC': - skew_coeffs = None - if phdr.has_key('TDD_DATE'): - print 'Reading TDD coefficients from ',tabname - skew_coeffs = read_tdd_coeffs(phdr) - # Using coefficients read in from IDCTAB Primary header - #skew_coeffs = {'TDD_A0':phdr['TDD_A0'],'TDD_A1':phdr["TDD_A1"], - # 'TDD_B0':phdr['TDD_B0'],'TDD_B1':phdr['TDD_B1'], - # 'TDD_D0':phdr['TDD_D0'],'TDD_DATE':phdr['TDD_DATE']} - """ + # Set default filters for SBC if detector == 'SBC': if filter1 == 'CLEAR': -- cgit