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

Class GaussianSource

source code


spec = GaussianSource(TotalFlux under Gaussian, central wavelength of Gaussian, FWHM of Gaussian, waveunits, fluxunits)

Instance Methods [hide private]
 
__init__(self, flux, center, fwhm, waveunits='angstrom', fluxunits='flam')
All AnalyticSpectra must set wave & flux units; do it here.
source code
 
__str__(self)
str(x)
source code
 
__call__(self, wavelength) source code
 
GetWaveSet(self)
Return a wavelength set that describes the Gaussian.
source code

Inherited from SourceSpectrum: __add__, __mul__, __rmul__, addmag, convert, effstim, 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, flux, center, fwhm, waveunits='angstrom', fluxunits='flam')
(Constructor)

source code 

All AnalyticSpectra must set wave & flux units; do it here.

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

GetWaveSet(self)

source code 

Return a wavelength set that describes the Gaussian. Overrides the base class to compute 101 values, from center - 5*sigma to center + 5*sigma, in units of 0.1*sigma

Overrides: AnalyticSpectrum.GetWaveSet