Commits
Akeem Wells authored 2bfe48cab99 Merge
422 422 | if niter==0 and calcres==False: |
423 423 | if savemodel != "none": |
424 424 | imager.predictModel() |
425 425 | ## Do deconvolution and iterations |
426 426 | if niter>0 : |
427 427 | |
428 428 | |
429 429 | t0=time.time(); |
430 430 | isit = imager.hasConverged() |
431 431 | imager.updateMask() |
432 - | if((type(usemask)==str) and ('auto' in usemask)): |
433 - | isit = imager.hasConverged() |
432 + | #if((type(usemask)==str) and ('auto' in usemask)): |
433 + | # isit = imager.hasConverged() |
434 + | isit = imager.hasConverged() |
434 435 | t1=time.time(); |
435 436 | casalog.post("***Time to update mask: "+"%.2f"%(t1-t0)+" sec", "INFO3", "task_tclean"); |
436 437 | while ( not isit ): |
437 438 | t0=time.time(); |
438 439 | ### sometimes after automasking it does not do anything |
439 440 | doneMinor=imager.runMinorCycle() |
440 441 | t1=time.time(); |
441 442 | casalog.post("***Time for minor cycle: "+"%.2f"%(t1-t0)+" sec", "INFO3", "task_tclean"); |
442 443 | |
443 444 | t0=time.time(); |