Base class for the Source Spectrum object.
|
|
|
|
|
__mul__(self,
other)
Source Spectra can be multiplied, by constants or by SpectralElement
objects. |
source code
|
|
|
|
|
|
|
getArrays(self)
Returns wavelength and flux arrays as a tuple, performing units
conversion. |
source code
|
|
|
|
|
|
|
|
|
|
writefits(self,
filename,
clobber=True,
trimzero=True,
binned=False)
Write the spectrum to a FITS file. |
source code
|
|
|
|
|
|
|
|
|
|
redshift(self,
z)
Returns a new redshifted spectrum. |
source code
|
|
|
|
|
|
|
renorm(self,
band,
value,
unitstring)
Renormalize the spectrum to the specified value (in the specified
flux units) in the specified band. |
source code
|
|
|
Inherited from Integrator:
trapezoidIntegration
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__init__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|