Source
310
310
Vector<Float> steplist(maxIter_+2,0.0);
311
311
Vector<Float> rsteplist(maxIter_+2,0.0);
312
312
313
313
// Verify Data's validity for solve w.r.t. baselines available
314
314
// (this sets parOK() on per-antenna basis (for focusChan)
315
315
// based on data weights and baseline participation)
316
316
Bool oktosolve = svc_->verifyConstraints(*SDBs_);
317
317
318
318
if (oktosolve) {
319
319
320
+
// Tweak guess in L1 case, to avoid degeneracy...
321
+
if (doL1_)
322
+
par()*=Complex(1.0001,0.0);
323
+
320
324
if (prtlev()>1) cout << "First guess:" << endl
321
325
<< "amp = " << amplitude(par()) << endl
322
326
<< "pha = " << phase(par())
323
327
<< endl;
324
328
325
329
// Iterate solution
326
330
Int iter(0);
327
331
Bool done(False);
328
332
Bool applyWorkingFlags(false);
329
333
Int L1iter(0), IRiter(0);