obs = Observation(Spectrum object, Bandpass object, binset=numpy array
to be used for binning when converting to counts.)
Most ObsBandpass objects have a built-in binset that is optimized for
use with the specified observing mode; specifying the binset in the
Observation constructor would overrirde that binset.
An Observation is the end point of a chain of spectral
manipulation.
|
|
__init__(self,
spec,
band,
binset=None)
The normal means of producing an Observation is by means of the
.observe() method on the spectral element. |
source code
|
|
|
|
|
|
|
initbinflux(self)
This routine performs the integration of the spectrum on the
specified binned waveset. |
source code
|
|
|
|
|
|
|
__mul__(self,
other)
Source Spectra can be multiplied, by constants or by SpectralElement
objects. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
writefits(self,
fname,
clobber=True,
trimzero=True,
binned=True)
All we really want to do here is flip the default value of 'binned'
from the vanilla spectrum case. |
source code
|
|
|
|
countrate(self,
binned=True)
This is the calculation performed when the ETC invokes countrate. |
source code
|
|
|
|
pivot(self)
This is the calculation performed when the ETC invokes calcphot. |
source code
|
|
|
|
efflam(self)
Calculation performed based on observation.py _EfflamCalculator,
which produces EFFLPHOT results!. |
source code
|
|
|
Inherited from spectrum.CompositeSourceSpectrum:
GetWaveSet,
__call__,
__str__
Inherited from spectrum.SourceSpectrum:
addmag,
convert,
getArrays,
integrate,
renorm,
sample,
setMagnitude,
validate_units
Inherited from spectrum.Integrator:
trapezoidIntegration,
validate_fluxtable,
validate_wavetable
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__
|