Source
168
168
virtual casacore::Bool setsolve (const casacore::String& type,
169
169
const casacore::Record& solvepar);
170
170
171
171
// Unset all (default) or one apply calibration component
172
172
casacore::Bool unsetapply(const casacore::Int& which=-1);
173
173
// TBD: casacore::Bool unsetapply(const casacore::String& type); // by type?
174
174
175
175
// Unset the solved-for calibration component
176
176
casacore::Bool unsetsolve();
177
177
178
+
// Set corrDepFlags toggle
179
+
casacore::Bool setCorrDepFlags(const casacore::Bool& corrDepFlags = false);
180
+
178
181
// Reset the VisCal lists in the Calibrator object
179
182
casacore::Bool reset(const casacore::Bool& apply=true,
180
183
const casacore::Bool& solve=true);
181
184
182
185
// Apply all setapply'd calibration components to DATA and
183
186
// deposit in the CORRECTED_DATA column
184
187
virtual casacore::Bool correct(casacore::String /* mode="calflag"*/) { throw(casacore::AipsError("Calibrater::correct not implemented")); };
185
188
casacore::Bool correct2(casacore::String mode="calflag");
186
189
187
190
// Apply all setapply'd calibration components to MODEL_DATA and
390
393
casacore::Double phasewrap_p;
391
394
casacore::Int splinepoint_p;
392
395
393
396
//Used to update the casacore::MS HISTORY Table
394
397
casacore::Int histLockCounter_p;
395
398
casacore::MSHistoryHandler *hist_p;
396
399
casacore::Table historytab_p;
397
400
398
401
casacore::Bool usingCalLibrary_;
399
402
403
+
// Toggle for correlation-dependent flags
404
+
// (if false, when one correlation is flagged, all will be treated as flagged, per-antenna, per-channel)
405
+
// (CASA tradition is false; use cases where some antennas may only have one polarization, e.g., VLBI need true)
406
+
casacore::Bool corrDepFlags_;
407
+
400
408
// Activity record
401
409
casacore::Record actRec_;
402
410
403
411
private:
404
412
// Copy constructor and assignment operator are forbidden
405
413
Calibrater(const Calibrater&);
406
414
Calibrater& operator=(const Calibrater&);
407
415
408
416
// Simulated-data/testing context info
409
417
const bool simdata_p;