diff options
author | Nadia Dencheva <nadia.astropy@gmail.com> | 2016-08-11 14:42:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-11 14:42:28 -0400 |
commit | 892edca9d767cf2dfea48a60c9cc0eb97ef2e4e0 (patch) | |
tree | d81f29b7f54ff7132ac1073a2b9c2186da34aef9 /stwcs/wcsutil/mappings.py | |
parent | 6ee1b08a2bc2fea4e61fb05d6c3d9250c15a1a75 (diff) | |
parent | 9932a03e2abe7c871195af0dc21f43415c12027d (diff) | |
download | stwcs_hcf-892edca9d767cf2dfea48a60c9cc0eb97ef2e4e0.tar.gz |
Merge pull request #12 from nden/pep8-pylint
Pep8 pylint
Diffstat (limited to 'stwcs/wcsutil/mappings.py')
-rw-r--r-- | stwcs/wcsutil/mappings.py | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/stwcs/wcsutil/mappings.py b/stwcs/wcsutil/mappings.py index 24038bf..a85df13 100644 --- a/stwcs/wcsutil/mappings.py +++ b/stwcs/wcsutil/mappings.py @@ -1,29 +1,29 @@ -from __future__ import division # confidence high +from __future__ import division # This dictionary maps an instrument into an instrument class # The instrument class handles instrument specific keywords -inst_mappings={'WFPC2': 'WFPC2WCS', - 'ACS': 'ACSWCS', - 'NICMOS': 'NICMOSWCS', - 'STIS': 'STISWCS', - 'WFC3': 'WFC3WCS', - 'DEFAULT': 'InstrWCS' - } +inst_mappings = {'WFPC2': 'WFPC2WCS', + 'ACS': 'ACSWCS', + 'NICMOS': 'NICMOSWCS', + 'STIS': 'STISWCS', + 'WFC3': 'WFC3WCS', + 'DEFAULT': 'InstrWCS' + } # A list of instrument specific keywords # Every instrument class must have methods which define each of these # as class attributes. -ins_spec_kw = [ 'idctab', 'offtab', 'date_obs', 'ra_targ', 'dec_targ', 'pav3', \ - 'detector', 'ltv1', 'ltv2', 'parity', 'binned','vafactor', \ - 'chip', 'naxis1', 'naxis2', 'filter1', 'filter2'] +ins_spec_kw = ['idctab', 'offtab', 'date_obs', 'ra_targ', 'dec_targ', + 'pav3', 'detector', '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'] +# 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_', 'CD2_', 'CRVAL', 'CTYPE', 'CRPIX', 'CTYPE', 'CDELT', 'CUNIT'] - +basic_wcs = ['CD1_', 'CD2_', 'CRVAL', 'CTYPE', 'CRPIX', 'CTYPE', + 'CDELT', 'CUNIT'] |