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

Module spectrum

source code

Classes [hide private]
  Integrator
Integrator engine.
  SourceSpectrum
Base class for the Source Spectrum object.
  CompositeSourceSpectrum
Composite Source Spectrum object, handles addition, multiplication and keeping track of the wavelength set.
  TabularSourceSpectrum
Class for a source spectrum that is read in from a table.
  NewTabularSpectrum
Replacement class
  FileSourceSpectrum
Class for a source spectrum that is read in from a table.
  AnalyticSpectrum
Base class for analytic functions.
  GaussianSource
  UnitSpectrum
  Powerlaw
  BlackBody
  SpectralElement
Base class for a Spectral Element (e.g.
  CompositeSpectralElement
CompositeSpectralElement Class, which knows how to calculate its throughput by delegating the calculating the calculating to its components.
  UniformTransmission
Uniform Transmission Spectral Element.
  TabularSpectralElement
The TabularSpectralElement class handles spectral elements that are stored in tables.
  InterpolatedSpectralElement
The InterpolatedSpectralElement class handles spectral elements that are interpolated from columns stored in FITS tables
  ThermalSpectralElement
The ThermalSpectralElement class handles spectral elements that have associated thermal properties read from a FITS table.
  Box
  Band
Functions [hide private]
 
renormalize(spectrum, band, flux, unit)
renormalization function.
source code
 
_computeDefaultWaveset() source code
 
MergeWaveSets(waveset1, waveset2)
Return the union of the two wavesets, unless one or both of them is None.
source code
 
trimSpectrum(sp, minw, maxw)
Creates a new spectrum with trimmed upper and lower ranges.
source code
Variables [hide private]
  PI = 3.14159265
  RSUN = 69599000000.0
  PC = 3.085678e+18
  RADIAN = 2.25554967174e-11
  RENORM = 1.59828661839e-21
  default_waveset = array([ 500. , 500.19760122, ...
Function Details [hide private]

renormalize(spectrum, band, flux, unit)

source code 

renormalization function. This function is marked for deletion once the SourceSpectrum.renorm method is well tested.


Variables Details [hide private]

default_waveset

Value:
array([   500.        ,    500.19760122,    500.39528054, ...,
        25969.1985582 ,  25979.46164894,  25989.72879567])