diff options
author | dencheva <dencheva@stsci.edu> | 2008-12-16 12:00:15 -0500 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2008-12-16 12:00:15 -0500 |
commit | 56b509af2d9d64e50d412cc0a033f3df0fa57814 (patch) | |
tree | 1fea5d8eeec1e22216b071d332997136dcea9fe8 /wcsutil/mappings.py | |
parent | 9a4d14dd4842aa052251793681a2870e88aa5e94 (diff) | |
download | stwcs_hcf-56b509af2d9d64e50d412cc0a033f3df0fa57814.tar.gz |
Forgot to commit a file
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7383 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'wcsutil/mappings.py')
-rw-r--r-- | wcsutil/mappings.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/wcsutil/mappings.py b/wcsutil/mappings.py new file mode 100644 index 0000000..d5d5e29 --- /dev/null +++ b/wcsutil/mappings.py @@ -0,0 +1,25 @@ + + +# This dictionary maps an instrument into an instrument class +# The instrument class handles instrument specific keywords + +inst_mappings={'WFPC2': 'WFPC2WCS', + 'ACS': 'ACSWCS' + } + + +# 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', 'detector'] + +# 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'] + |