Class for a source spectrum that is read in from a table.
|
|
__init__(self,
filename=None,
fluxname=None,
keepneg=False)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
|
|
|
| _readSpectrumFile(self,
filename,
fluxname) |
source code
|
|
|
|
|
|
|
|
|
|
__call__(self,
wavelengths)
This is where the flux array is actually calculated given a
wavelength array. |
source code
|
|
|
|
taper(self)
Taper the spectrum by adding zeros to each end. |
source code
|
|
|
|
resample(self,
resampledWaveTab)
Interpolate flux given a wavelength array that is monotonically
increasing and the TabularSourceSpectrum object. |
source code
|
|
|
|
|
|
|
ToInternal(self)
Convert to the internal representation of (angstroms, photlam). |
source code
|
|
|
Inherited from SourceSpectrum:
__add__,
__mul__,
__rmul__,
__sub__,
addmag,
convert,
effstim,
getArrays,
integrate,
redshift,
renorm,
sample,
setMagnitude,
validate_units,
writefits
Inherited from Integrator:
trapezoidIntegration,
validate_fluxtable,
validate_wavetable
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__subclasshook__
|