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

Class CompositeSourceSpectrum

source code


Composite Source Spectrum object, handles addition, multiplication and keeping track of the wavelength set.

Instance Methods [hide private]
 
__init__(self, source1, source2, operation)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code
 
__call__(self, wavelength)
Add or multiply components, delegating the function calculation to the individual objects.
source code
 
GetWaveSet(self)
Obtain the wavelength set for the composite source by forming the union of wavelengths from each component.
source code

Inherited from SourceSpectrum: __add__, __mul__, __rmul__, addmag, convert, getArrays, integrate, redshift, renorm, sample, setMagnitude, validate_units, writefits

Inherited from SourceSpectrum (private): _getFluxProp, _getWaveProp

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]

Inherited from SourceSpectrum: flux, wave

Inherited from object: __class__

Method Details [hide private]

__init__(self, source1, source2, operation)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)