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. See stsynphot.spectrum.interpolate_spectral_element().

Attributes
throughput_namestr

Component filename.

throughputsynphot.spectrum.SpectralElement or None

Component spectrum object.

Attributes Summary

empty

True if self.throughput is empty.

Attributes Documentation

empty

True if self.throughput is empty.