diff options
author | dencheva <dencheva@stsci.edu> | 2008-12-16 10:57:48 -0500 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2008-12-16 10:57:48 -0500 |
commit | 138b356640950d751f92570ba58a8ebc2ca6667e (patch) | |
tree | 1721e5d5693cb8db961c0dce9243f0e4b157647e /lib/mappings.py | |
parent | d8180f17a14e755c66990baa98f7a593ee8d2ce3 (diff) | |
download | stwcs_hcf-138b356640950d751f92570ba58a8ebc2ca6667e.tar.gz |
-Added SIP correction to look up tables
-Changed CTYPE to reflect the use of SIP
- mappings module was moved to wcsutil
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7381 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'lib/mappings.py')
-rw-r--r-- | lib/mappings.py | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/lib/mappings.py b/lib/mappings.py deleted file mode 100644 index 4cc4327..0000000 --- a/lib/mappings.py +++ /dev/null @@ -1,38 +0,0 @@ -from pytools import fileutil - -# This dictionary maps an instrument into an instrument class -# The instrument class handles instrument specific keywords - -inst_mappings={'WFPC2': 'WFPC2WCS', - 'ACS': 'ACSWCS' - } - -DEGTORAD = fileutil.DEGTORAD -RADTODEG = fileutil.RADTODEG - -# A dictionary which lists the allowed corrections for each instrument. -# These are the default corrections applied also in the pipeline. -#Dgeo correction is applied separately. -allowed_corrections={'WFPC2': ['MakeWCS','CompSIP', 'VACorr', 'DGEOCorr'], - 'ACS': ['TDDCorr', 'MakeWCS','CompSIP', 'VACorr', 'DGEOCorr'] - } - -# A list of instrument specific keywords -# Every instrument class must have methods which define each of these -# as class attributes. -ins_spec_kw = ['ltv1', 'ltv2', 'parity', 'binned','vafactor', 'chip', - 'naxis1', 'naxis2', 'filter1', 'filter2'] - -# A list of keywords defined in the primary header. -# The HSTWCS class sets this as attributes -prim_hdr_kw = ['detector', 'offtab', 'idctab', 'date-obs', - 'pa_v3', 'ra_targ', 'dec_targ'] - -# These are the keywords which are archived before MakeWCS is run -basic_wcs = ['CD1_1', 'CD1_2', 'CD2_1', 'CD2_2', 'CRVAL1','CRVAL2','CTYPE1', 'CTYPE2', - 'CRPIX1', 'CRPIX2', 'CTYPE1', 'CTYPE2', 'ORIENTAT', 'NAXIS1', 'NAXIS2'] - -dgeo_vals = {'ACS': - {'naxis1':65, 'naxis2':33, 'extver':1, 'crpix1':33.5, 'crpix2':16.5, - 'cdelt1':1., 'cdelt2':1., 'crval1':2048., 'crval2':1024.} - }
\ No newline at end of file |