28 #ifndef MS_MSCONTINUUMSUBTRACTOR_H
29 #define MS_MSCONTINUUMSUBTRACTOR_H
casacore::String itsMode
Processing mode.
casacore::MeasurementSet * ms_p
Pointer to MS.
void setOrder(casacore::Int order)
Set the order of the fit (1=linear)
void setFitSpw(const casacore::String &fitspw)
Set the channels to use in the fit.
casacore::Int nSpw_
Number of spws.
void setFields(const casacore::Vector< casacore::Int > &fieldIds)
void setDataDescriptionIds(const casacore::Vector< casacore::Int > &ddIds)
Set the required spws (ddids)
void setSubSpw(const casacore::String &subspw)
Fits and subtracts or models the continuum in spectra.
MSContinuumSubtractor & operator=(MSContinuumSubtractor &other)
Assignment (only copies reference to casacore::MS, need to reset selection etc)
void setField(const casacore::String &field)
Set the required field Ids.
MSContinuumSubtractor(casacore::MeasurementSet &ms)
Constructor.
casacore::Matrix< casacore::Int > itsFitChans
Channels to use in fit.
~MSContinuumSubtractor()
Destructor.
casacore::Matrix< casacore::Int > itsSubChans
Channels to subtract from.
casacore::Vector< casacore::Int > itsFieldIds
Field Ids to process.
casacore::Vector< casacore::Int > itsDDIds
DataDescription Ids to process.
void subtract()
Do the subtraction (or save the model)
A Table intended to hold astronomical data (a set of Measurements).
casacore::Int itsOrder
Order of the fit.
casacore::Float itsSolInt
Solution interval for fit.
void setSolutionInterval(casacore::Float solInt)
Set the solution interval in seconds, the value zero implies scan averaging.
String: the storage and methods of handling collections of characters.
void setMode(const casacore::String &mode)
Set the processing mode: subtract, model or replace.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.