Calibrater.h
Classes
- Calibrater -- Controls the solution of calibration components (Jones Matrices) (full description)
Interface
- Public Members
- Calibrater()
- Calibrater(const Calibrater&)
- Calibrater& operator=(const Calibrater&)
- ~Calibrater()
- Bool initialize(MeasurementSet& inputMS, Bool compress=True)
- void setdata(const String& mode, const Int& nchan, const Int& start, const Int& step, const MRadialVelocity& mStart, const MRadialVelocity& mStep, const String& msSelect)
- Bool write()
- Bool setApply(const String& typeComp, const Record& interpolation, Vector<Int> rawspw= Vector<Int>(0))
- Bool setSolve(const String& typeComp, const Record& solver)
- Bool unset(String typeComp)
- Bool correct()
- Bool solve(String typeComp)
- Bool smooth(const String& infile, const String& outfile, const Bool& append, const String& select, const String& smoothtype, const Double& smoothtime, const String& interptype, const Double& interptime)
- Bool put(String typeComp, String tableName, Bool append)
- void fluxscale(const String& infile, const String& outfile, const Vector<Int>& refField, const Vector<Int>& refSpwMap, const Vector<Int>& tranField, const Bool& append, Matrix<Double>& fluxScaleFactor)
- Bool reset()
- Bool initCalSet(const Int& calSet)
- void setPhaseSplineParam(const Int& npoi, const Double& phaseWrap)
- Private Members
- LogIO& logSink()
- String timerString()
- Bool ok()
- void getRawPhaseVisSet(Vector<Int>& spwid)
Member Description
Default constructor
Copy constructor and assignment operator
Calibrater& operator=(const Calibrater&)
Destructor
Initialize the calibrator object from an input MeasurementSet.
Optional compression of the calibration columns (MODEL_DATA,
CORRECTED_DATA and IMAGING_WEIGHT) is supported.
void setdata(const String& mode, const Int& nchan, const Int& start, const Int& step, const MRadialVelocity& mStart, const MRadialVelocity& mStep, const String& msSelect)
Set uv-data selection criteria
Flush the underlying uv-data to disk
Bool setApply(const String& typeComp, const Record& interpolation, Vector<Int> rawspw= Vector<Int>(0))
Initialize calibration components to be solved for or applied
Unset a calibration component
Apply all set calibration components to update the CORRECTED_DATA column
Solve for a given calibration component (Jones matrix)
Bool smooth(const String& infile, const String& outfile, const Bool& append, const String& select, const String& smoothtype, const Double& smoothtime, const String& interptype, const Double& interptime)
Smooth and Interpolate calibration
Bool put(String typeComp, String tableName, Bool append)
Flush calibration solutions to disk
void fluxscale(const String& infile, const String& outfile, const Vector<Int>& refField, const Vector<Int>& refSpwMap, const Vector<Int>& tranField, const Bool& append, Matrix<Double>& fluxScaleFactor)
Fluxscale
Reset the calibrator object
Bool initCalSet(const Int& calSet)
Re-initialize the calibration scratch columns
void setPhaseSplineParam(const Int& npoi, const Double& phaseWrap)
Set parameters for 360 jump de-wrapping in spline solver
Time functions and variables
Bool ok()
Returns True if calibrator object is in a valid state
Create a VisSet for raw phase transfer if needed