Commits

Takahiro Tsutsumi authored 3bd3cd51f7f
Made nsigma threshold to be updated before the global exit tests

code/synthesis/ImagerObjects/SDAlgorithmBase.cc

Modified
173 173 modelflux, peakresidual );
174 174 // loopcontrols.setPeakResidual( peakresidual );
175 175
176 176 // Init the deconvolver
177 177 initializeDeconvolver();
178 178
179 179 while ( stopCode==0 )
180 180 {
181 181
182 182 if (nsigma>0.0) {
183 - os << "Using " << thresholddesc << " for threshold criterion: cyclethreshold value="<<loopcontrols.getCycleThreshold()<< " nsigma="<<nsigmathresh << LogIO::POST;
183 + os << "Using " << thresholddesc << " for threshold criterion: (cyclethreshold="<<loopcontrols.getCycleThreshold()<< ", nsigma threshold="<<nsigmathresh<<" )" << LogIO::POST;
184 + loopcontrols.setNsigmaThreshold(nsigmathresh);
184 185 }
185 186 Int thisniter = loopcontrols.getCycleNiter() <5000 ? loopcontrols.getCycleNiter() : 2000;
186 187
187 188 loopcontrols.setPeakResidual( peakresidual );
188 189 takeOneStep( loopcontrols.getLoopGain(),
189 190 // loopcontrols.getCycleNiter(),
190 191 thisniter,
191 192 //loopcontrols.getCycleThreshold(),
192 193 thresholdtouse,
193 194 peakresidual,

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut