Source
152
152
public:
153
153
154
154
CalSolvingVi2( vi::ViImplementation2 * inputVii,
155
155
const CalibratingParameters& calpar);
156
156
157
157
CalSolvingVi2( vi::ViImplementation2 * inputVii,
158
158
const CalibratingParameters& calpar,
159
159
casacore::String msname);
160
160
161
161
CalSolvingVi2( vi::ViImplementation2 * inputVii,
162
-
VisEquation *ve);
162
+
VisEquation *ve,
163
+
const casacore::Bool& corrDepFlags=false);
163
164
164
165
~CalSolvingVi2();
165
166
166
167
167
168
// Iterating management
168
169
virtual void originChunks(casacore::Bool forceRewind = false);
169
170
virtual void origin ();
170
171
virtual void next ();
171
172
172
173
// Report the the ViImplementation type
189
190
// Flag all corrs if any one is flagged (OLD style)
190
191
virtual void corrIndepFlags(casa::vi::VisBuffer2* vb) const;
191
192
192
193
// Ensure weightSpectrum is populated
193
194
virtual void verifyWeightSpectrum(casa::vi::VisBuffer2* vb) const;
194
195
195
196
// Sample counters
196
197
mutable casacore::Int64 ntotal_,nflagged_,nskipped_;
197
198
mutable casacore::Int64 nVB_,nVB0_;
198
199
mutable casacore::Double Tio_,Tcalws_,Tcalfl_,Tcal2_;
199
-
200
+
201
+
casacore::Bool corrDepFlags_;
200
202
201
203
};
202
204
203
205
204
206
class CalSolvingVi2LayerFactory : public CalVi2LayerFactory {
205
207
206
208
public:
207
209
208
210
CalSolvingVi2LayerFactory(const CalibratingParameters& calpars);
209
211
213
215
214
216
// CalSolvingVi2-specific layer-creater
215
217
virtual ViImplementation2 * createInstance (ViImplementation2* vii0) const;
216
218
217
219
};
218
220
219
221
class CalSolvingVi2LayerFactoryByVE : public ViiLayerFactory {
220
222
221
223
public:
222
224
223
-
CalSolvingVi2LayerFactoryByVE(VisEquation* ve); // From a VE pointer in calling scope
225
+
CalSolvingVi2LayerFactoryByVE(VisEquation* ve,const casacore::Bool& corrDepFlags=false); // From a VE pointer in calling scope
224
226
225
227
virtual ~CalSolvingVi2LayerFactoryByVE () {}
226
228
227
229
protected:
228
230
229
231
// CalSolvingVi2-specific layer-creater
230
232
virtual ViImplementation2 * createInstance (ViImplementation2* vii0) const;
231
233
232
234
private:
233
235
234
236
VisEquation *ve_p;
235
237
238
+
casacore::Bool corrDepFlags_;
239
+
236
240
};
237
241
238
242
239
243
240
244
241
245
} //# NAMESPACE VI - END
242
246
} //# NAMESPACE CASA - END
243
247
244
248
245
249
#endif /* CalibratingVi2_H_ */