4 #if ! defined (MSVIS_VisModelDataI_H)
5 #define MSVIS_VisModelDataI_H
10 class RecordInterface;
13 template <
typename T>
class Vector;
14 template <
typename T>
class Matrix;
20 namespace vi{
class VisBuffer2;}
115 #endif // ! defined (MSVIS_VisModelDataI_H)
std::vector< double > Vector
virtual ~VisModelDataI()
From a FTMachine Record VisModelDataI(const casacore::Record& ftmachinerec, const casacore::Vector<ca...
virtual casacore::Bool isVersion2()=0
VisModelDataI *(* Factory)()
virtual casacore::Bool isModelDefinedI(const casacore::Int fieldId, const casacore::MeasurementSet &thems, casacore::String &key, casacore::Int &sourceRow)=0
//...with field selection and optionally spw static void clearModel(const casacore::MeasurementSet& t...
virtual casacore::Bool getModelRecordI(const casacore::String &theKey, casacore::TableRecord &theRec, const casacore::MeasurementSet &theMs)=0
static casacore::Bool isModelDefined(const casacore::String& elkey, const casacore::MeasurementSet& t...
virtual void init(const VisBuffer &vb)=0
Make sure that VisModel has been called once loaded checks and detection of version 1 or 2 is valid...
virtual void putModelI(const casacore::MeasurementSet &thems, const casacore::RecordInterface &rec, const casacore::Vector< casacore::Int > &validfields, const casacore::Vector< casacore::Int > &spws, const casacore::Vector< casacore::Int > &starts, const casacore::Vector< casacore::Int > &nchan, const casacore::Vector< casacore::Int > &incr, casacore::Bool iscomponentlist=true, casacore::Bool incremental=false)=0
//this is a helper function that writes the model record to the ms
VisModelDataI()
empty constructor
bool Bool
Define the standard types used by Casacore.
virtual VisModelDataI * clone()=0
A hierarchical collection of named fields of various types.
A Table intended to hold astronomical data (a set of Measurements).
virtual casacore::Int hasModel(casacore::Int msid, casacore::Int field, casacore::Int spw)=0
// casacore::List the fields static void listModel(const casacore::MeasurementSet& thems); ...
VisBuffer2s encapsulate one chunk of visibility data for processing.
virtual void addModel(const casacore::RecordInterface &rec, const casacore::Vector< casacore::Int > &msids, const VisBuffer &vb)=0
Add Image/FTMachine to generate visibilities for void addFTMachine(const casacore::Record& recordFTMa...
virtual void clearModelI(const casacore::MeasurementSet &thems)=0
//helper function to clear the keywordSet of the ms of the model for the fields in that ms ...
static VisModelDataI * create2()
String: the storage and methods of handling collections of characters.
static VisModelDataI * create()
VisBuffers encapsulate one chunk of visibility data for processing.
Abstract base class for Record classes.
static Factory factory2_p
virtual casacore::Bool getModelVis(VisBuffer &vb)=0
//put the model data for this VisBuffer in the modelVisCube
static bool setFactory(Factory, casacore::Int whichone=0)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.