Package pysynphot :: Module spectrum :: Class CompositeSpectralElement
[hide private]
[frames] | no frames]

Class CompositeSpectralElement

source code


CompositeSpectralElement Class, which knows how to calculate its throughput by delegating the calculating the calculating to its components.

Instance Methods [hide private]
 
__init__(self, component1, component2)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__call__(self, wavelength)
This is where the throughput calculation is delegated.
source code
 
__str__(self)
str(x)
source code
 
GetWaveSet(self)
This method returns a wavelength set appropriate for a composite object by forming the union of the wavelengths of the components.
source code

Inherited from SpectralElement: GetThroughput, ToInternal, __mul__, __rmul__, convert, resample, taper, unitResponse, validate_units, writefits

Inherited from Integrator: trapezoidIntegration, validate_fluxtable, validate_wavetable

Inherited from Integrator (private): _columnsFromASCII

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Properties [hide private]
  wave
wave for CompositeSpectralElement

Inherited from SpectralElement: throughput

Inherited from object: __class__

Method Details [hide private]

__init__(self, component1, component2)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__call__(self, wavelength)
(Call operator)

source code 

This is where the throughput calculation is delegated.

Overrides: SpectralElement.__call__

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

GetWaveSet(self)

source code 

This method returns a wavelength set appropriate for a composite object by forming the union of the wavelengths of the components.

Overrides: SpectralElement.GetWaveSet

Property Details [hide private]

wave

wave for CompositeSpectralElement

Get Method:
GetWaveSet(self) - This method returns a wavelength set appropriate for a composite object by forming the union of the wavelengths of the components.