Base class for a Spectral Element (e.g. Filter, Detector...).
|
|
validate_units(self)
Ensure that waveunits are WaveUnits |
source code
|
|
|
|
__mul__(self,
other)
Permitted to multiply a SpectralElement by another SpectralElement,
or by a SourceSpectrum. |
source code
|
|
|
|
|
|
|
integrate(self,
wave=None)
Integrate the throughput over the specified waveset, if None,
integrate over the full waveset. |
source code
|
|
|
|
avgwave(self)
Implement the equation for lambda nought as defined in Koornneef et
al 1987, p 836. |
source code
|
|
|
|
pivot(self,
binned=False)
This is the calculation performed when the ETC invokes calcphot. |
source code
|
|
|
|
rmswidth(self,
floor=0)
Defines the lambda sub rms from Koornneef et al 1987, p 836; should
be definition of bandpar.bandw |
source code
|
|
|
|
rectwidth(self)
RECTW = INT(THRU) / MAX(THRU) |
source code
|
|
|
|
|
|
|
efficiency(self)
QTLAM = dimensionless efficience = INT(THRU / LAM) |
source code
|
|
|
|
|
|
|
check_overlap(self,
other)
Check whether the wavelength range of other is defined everywhere
that the wavelength range of self is defined. |
source code
|
|
|
|
|
|
|
|
|
|
__call__(self,
wavelengths)
This is where the throughput array is calculated for a given input
wavelength table. |
source code
|
|
|
|
sample(self,
wavelengths)
Provide a more normal user interface to the __call__ |
source code
|
|
|
|
taper(self)
Taper the spectrum by adding zeros to each end. |
source code
|
|
|
|
writefits(self,
filename,
clobber=True,
trimzero=True,
precision=None,
hkeys=None)
Write the bandpass to a FITS file. |
source code
|
|
|
|
resample(self,
resampledWaveTab)
Interpolate throughput given a wavelength array that is monotonically
increasing and the TabularSpectralElement object. |
source code
|
|
|
|
unitResponse(self)
Is this correct if waveunits != Angstrom? |
source code
|
|
|
|
GetWaveSet(self)
Return the waveset in the requested units. |
source code
|
|
|
|
GetThroughput(self)
Return the throughput for the internal wavetable. |
source code
|
|
|
|
|
|
Inherited from Integrator:
trapezoidIntegration,
validate_fluxtable,
validate_wavetable
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__init__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|