casa
5.7.0-16
|
A top level class defining the data handling interface for the CalibratingTvi2 module. More...
#include <CalibratingVi2Factory.h>
Protected Member Functions | |
virtual vi::ViImplementation2 * | createVi () const |
Create CalibratingVi2 implementation If vii=NULL, create underlying vii internally. More... | |
virtual vi::ViImplementation2 * | createVi (vi::ViImplementation2 *vii) const |
If vii not NULL, then use it as the underlying one. More... | |
Private Attributes | |
casacore::Bool | valid_p |
casacore::MeasurementSet * | ms_p |
CalibratingParameters | calpar_p |
IteratingParameters | iterpar_p |
Additional Inherited Members | |
Public Types inherited from casa::vi::CalibratingVi2FactoryI | |
typedef CalibratingVi2FactoryI *(* | CalViFacGenerator )() |
typedef CalibratingVi2FactoryI *(* | CalViFac_byRec_Generator )(casacore::MeasurementSet *, const casacore::Record &, const IteratingParameters &) |
Static Public Member Functions inherited from casa::vi::CalibratingVi2FactoryI | |
static casacore::Bool | setGenerator (CalViFacGenerator) |
static casacore::Bool | set_byRec_Generator (CalViFac_byRec_Generator) |
static CalibratingVi2FactoryI * | generate () |
Public function to generate myself via static generator_p implemented in synthesis. More... | |
static CalibratingVi2FactoryI * | generate (casacore::MeasurementSet *ms, const casacore::Record &calrec, const IteratingParameters &iterpar) |
Public function to generate myself via static byRec_generator_p. More... | |
A top level class defining the data handling interface for the CalibratingTvi2 module.
Public interface
CalibratingVi2Factory is a class that generates a Visibility Iterator implementation that can calibrate data
CalibratingVi2Factory generates a Visibility Iterator implementation (ViImplementation2) object that can be plugged into a Visibility Iterator (VisibilityIterator2) object, so that the user can access corrected data (and related) using the VisibilityIterator2 interface.
This class makes calibration application portable, and available for all VisibilityIterator2 users
External usage is quite simple, and compliant with the 'normal' VI/VB framework.
The user first makes objects describing the data iteration and calibration parameters:
Then these parameter objects, along with a casacore::MeasurementSet pointer, are used to make a factory suitable for the generic VisibilityIterator2 ctor, which is then invoked
Once this is done one can normally iterate and access OTF calibrated data:
casacore::Notice that it is the responsibility of the application layer to delete the VisibilityIterator2 pointer returned by the factory method. However the life cycle of the VisBuffer2 object is responsibility of the VisibilityIterator2 object.
Definition at line 124 of file CalibratingVi2Factory.h.
casa::vi::CalibratingVi2Factory::CalibratingVi2Factory | ( | casacore::MeasurementSet * | ms, |
const CalibratingParameters & | calpar, | ||
const IteratingParameters & | iterpar = IteratingParameters() |
||
) |
casa::vi::CalibratingVi2Factory::CalibratingVi2Factory | ( | ) |
casa::vi::CalibratingVi2Factory::CalibratingVi2Factory | ( | casacore::MeasurementSet * | ms, |
const casacore::Record & | calrec, | ||
const IteratingParameters & | iterpar = IteratingParameters() |
||
) |
casa::vi::CalibratingVi2Factory::CalibratingVi2Factory | ( | casacore::MeasurementSet * | ms, |
const casacore::String & | callib, | ||
const IteratingParameters & | iterpar = IteratingParameters() |
||
) |
|
virtual |
|
protectedvirtual |
Create CalibratingVi2 implementation If vii=NULL, create underlying vii internally.
Implements casa::vi::CalibratingVi2FactoryI.
|
protectedvirtual |
If vii not NULL, then use it as the underlying one.
Implements casa::vi::CalibratingVi2FactoryI.
|
virtual |
Public functions to initialize a generic CVi2F.
Implements casa::vi::CalibratingVi2FactoryI.
|
virtual |
Implements casa::vi::CalibratingVi2FactoryI.
|
private |
Definition at line 166 of file CalibratingVi2Factory.h.
|
private |
Definition at line 167 of file CalibratingVi2Factory.h.
|
private |
Definition at line 165 of file CalibratingVi2Factory.h.
|
private |
Definition at line 164 of file CalibratingVi2Factory.h.