ThermalObservationMode

class stsynphot.observationmode.ThermalObservationMode(obsmode, graphtable=None, comptable=None, thermtable=None)[source]

Bases: BaseObservationMode

Class to handle an observation that uses the graph, optical component, and thermal component tables.

See BaseObservationMode for additional attributes.

Parameters:
obsmode, graphtable, comptable

See BaseObservationMode.

thermtablestr or None

Thermal component table filename. If None, uses stsynphot.config.conf.thermtable.

Attributes:
thnamestr

Thermal component table filename.

Raises:
NotImplementedError

Clear filters only not supported.

Methods Summary

to_spectrum()

Get thermal spectrum.

Methods Documentation

to_spectrum()[source]

Get thermal spectrum.

The calculations start with zero-flux spectrum. Then for each component:

  1. Multiply with optical throughput.

  2. Add in thermal source spectrum from synphot.thermal.ThermalSpectralElement.thermal_source().

Returns:
spsynphot.spectrum.SourceSpectrum

Thermal spectrum in PHOTLAM.