23 #ifndef CalibratingVi2_H_
24 #define CalibratingVi2_H_
170 virtual void next ();
virtual void verifyWeightSpectrum(casa::vi::VisBuffer2 *vb) const
Ensure weightSpectrum is populated.
virtual casacore::String ViiType() const
Report the the ViImplementation type.
CalibratingParameters & operator=(const CalibratingParameters &other)
casacore::Bool byCalLib_p
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
virtual casacore::Bool weightSpectrumExists() const
Weight spectrum exists by_defn in the solving context (it is generated by verifyWeightSpectrum() belo...
virtual void originChunks(casacore::Bool forceRewind=false)
Iterating management.
casacore::Int64 nskipped_
casacore::Bool byCalLib() const
CalSolvingVi2LayerFactoryByVE(VisEquation *ve)
const CalibratingParameters calpars_
Store a copy of the parameters.
virtual casacore::String ViiType() const
Report the the ViImplementation type.
void setCorrFactor(casacore::Float corrFactor)
Calibrater * cb_p
Calibrater and VisEquation.
virtual void visibilityCorrected(casacore::Cube< casacore::Complex > &vis) const
Return the visibilities as found in the casacore::MS, casacore::Cube (npol,nchan,nrow).
virtual void flag(casacore::Cube< casacore::Bool > &flagC) const
Return flag for each polarization, channel and row.
CalVi2LayerFactory(const CalibratingParameters &calpars)
casacore::Float corrFactor_p
A simple factor for testing.
virtual void origin()
Iterating management.
virtual ViImplementation2 * createInstance(ViImplementation2 *vii0) const
CalSolvingVi2-specific layer-creater.
virtual void weight(casacore::Matrix< casacore::Float > &wt) const
Smart corrected data/weights/flags accessors.
virtual ViImplementation2 * createInstance(ViImplementation2 *vii0) const
CalVi2-specific layer-creater.
void setCalLibRecord(const casacore::Record &calLibRecord)
virtual ~CalVi2LayerFactory()
CalibratingParameters()
TBD: add solve-context parameters, like apply pivot (solved-for term), normalization.
virtual void visibilityModel(casacore::Cube< casacore::Complex > &vis) const
Cal solving also involve modified model data.
CalSolvingVi2LayerFactory(const CalibratingParameters &calpars)
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
CalSolvingVi2(vi::ViImplementation2 *inputVii, const CalibratingParameters &calpar)
virtual ~CalSolvingVi2LayerFactory()
virtual void calibrateCurrentVB() const
Correct the current VB.
virtual ~CalSolvingVi2LayerFactoryByVE()
virtual void initCorrected(casa::vi::VisBuffer2 *vb) const
Initialize corrected data member to raw data (this method is sensitive to DATA vs.
casacore::Int64 nflagged_
const casacore::Record & getCalLibRecord() const
virtual casacore::Bool existsColumn(VisBufferComponent2 id) const
virtual void flag(casacore::Matrix<casacore::Bool>& flagM) const; // CORR-INDEP FLAGS DEPRECATED IN V...
VisBuffer2s encapsulate one chunk of visibility data for processing.
virtual void corrIndepFlags(casa::vi::VisBuffer2 *vb) const
Flag all corrs if any one is flagged (OLD style)
VisibilityIterator2 iterates through one or more readonly MeasurementSets.
virtual void origin()
Iterating management.
virtual casacore::String ViiType() const =0
Report the the ViImplementation type.
String: the storage and methods of handling collections of characters.
CalibratingVi2(vi::ViImplementation2 *inputVii, const CalibratingParameters &calpar)
casacore::Float getCorrFactor() const
casacore::Bool visCalibrationOK_p
signals whether or not correctCurrentVB has been called
virtual void calibrateCurrentVB() const
specialized cal application for solving
casacore::Record calLibRecord_p
casacore::Float corrFactor_p
virtual void weightSpectrum(casacore::Cube< casacore::Float > &wtsp) const
Return weightspectrum (a weight for each channel)
virtual ViImplementation2 * createInstance(ViImplementation2 *vii0) const
CalSolvingVi2-specific layer-creater.
casacore::Int64 ntotal_
Sample counters.