Source
170
170
CalibratingParameters cp(calfactor);
171
171
// Make the layer factory
172
172
cal_= new vi::CalSolvingVi2LayerFactory(cp);
173
173
174
174
// Add it to the list...
175
175
this->appendFactory(cal_);
176
176
177
177
}
178
178
179
179
//
180
-
void CalSolVi2Organizer::addCalForSolving(VisEquation& ve) {
180
+
void CalSolVi2Organizer::addCalForSolving(VisEquation& ve, const Bool& corrDepFlags) {
181
181
182
182
// Must not have added one already!
183
183
AlwaysAssert(!cal_, AipsError);
184
184
185
185
// Must be at least one other layer already...
186
186
AlwaysAssert(factories_.nelements()>0, AipsError);
187
187
188
188
// Make the layer factory
189
-
cal_= new CalSolvingVi2LayerFactoryByVE(&ve);
189
+
cal_= new CalSolvingVi2LayerFactoryByVE(&ve,corrDepFlags);
190
190
191
191
// Add it to the list...
192
192
this->appendFactory(cal_);
193
193
194
194
}
195
195
196
196
197
197
void CalSolVi2Organizer::addChanAve(Vector<Int> chanbin) {
198
198
199
199
// Must not have added one already!