ThermalObservationMode¶
- class stsynphot.observationmode.ThermalObservationMode(obsmode, graphtable=None, comptable=None, thermtable=None)[source]¶
Bases:
BaseObservationModeClass to handle an observation that uses the graph, optical component, and thermal component tables.
See
BaseObservationModefor additional attributes.- Parameters:
- obsmode, graphtable, comptable
See
BaseObservationMode.- thermtablestr or
None Thermal component table filename. If
None, usesstsynphot.config.conf.thermtable.
- Attributes:
- thnamestr
Thermal component table filename.
- Raises:
- NotImplementedError
Clear filters only not supported.
Methods Summary
Get thermal spectrum.
Methods Documentation
- to_spectrum()[source]¶
Get thermal spectrum.
The calculations start with zero-flux spectrum. Then for each component:
Multiply with optical throughput.
Add in thermal source spectrum from
synphot.thermal.ThermalSpectralElement.thermal_source().
- Returns:
- sp
synphot.spectrum.SourceSpectrum Thermal spectrum in PHOTLAM.
- sp