BaseObservationMode¶
- class stsynphot.observationmode.BaseObservationMode(obsmode, graphtable=None, comptable=None)[source]¶
Bases:
object
Base class to handle an observation that uses the graph and optical component tables, common to both optical and thermal observation modes.
Note
modes
for parameterized mode is set such that the parameterized value is stripped away; e.g.,'acs,wfc1,f555w,mjd#53000'
becomes['acs', 'wfc1', 'f555w', 'mjd#']
. Instead, the parameterized value is kept inpardict
; e.g.,'mjd#53000'
becomes{'mjd': 53000.0}
.pixscale
is set fromstsynphot.config.conf.detectorfile
, which is parsed withstsynphot.stio.read_detector_pars()
.binset
is set bystsynphot.wavetable.WAVECAT
.- Parameters:
- Attributes:
- modeslist
List of individual modes within observation mode.
- pardictdict
Maps parameterized mode to its value.
- gtname, ctnamestr
Graph and component table filenames.
- compnames, thcompnameslist of str
Optical and thermal components.
- componentslist of obj
List of component objects.
- primary_area
astropy.units.quantity.Quantity
Telescope collecting area.
- pixscale
astropy.units.quantity.Quantity
Detector pixel scale.
- binsetstr
Wavelength table filename/param string from matching obsmode.
- bandwave
astropy.units.quantity.Quantity
Wavelength set defined by
binset
.
Methods Summary
Display optical component filenames.
Methods Documentation