Component¶
- class stsynphot.observationmode.Component(throughput_name, interpval=None)[source]¶
Bases:
object
Class to handle individual components in
BaseObservationMode
.- Parameters:
- throughput_namestr
Component filename.
- interpvalfloat or
None
If not
None
, interpolate to the given value. Seestsynphot.spectrum.interpolate_spectral_element()
.
- Attributes:
- throughput_namestr
Component filename.
- throughput
synphot.spectrum.SpectralElement
orNone
Component spectrum object.
Attributes Summary
True
ifself.throughput
is empty.Attributes Documentation