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 unsetSolve()
- Bool correct()
- Bool solve(String typeComp)
- Vector<Double> modelfit(const Int& iter, const String& stype, const Vector<Double>& par, const Vector<Bool>& vary, const String& file)
- 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)
- void accumulate(const String& intab, const String& incrtab, const String& outtab, const Vector<Int>& fields, const Vector<Int>& calFields, const String& interp="linear", const Double& t=-1.0)
- Bool reset()
- Bool initCalSet(const Int& calSet)
- void setPhaseSplineParam(const Int& npoi, const Double& phaseWrap)
- void writeHistory(LogIO& os, Bool cliCommand=False)
- 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
Unset the solved-for calibration component
Apply all set calibration components to update the CORRECTED_DATA column
Solve for a given calibration component (Jones matrix)
Vector<Double> modelfit(const Int& iter, const String& stype, const Vector<Double>& par, const Vector<Bool>& vary, const String& file)
Modelfit
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
void accumulate(const String& intab, const String& incrtab, const String& outtab, const Vector<Int>& fields, const Vector<Int>& calFields, const String& interp="linear", const Double& t=-1.0)
Accumulate (incremental)
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
Method to update MS HISTORY Table
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