jjtobin / auto_selfcal

MIT License
17 stars 8 forks source link

Ensure get_sensitivity doesn't continue stacking MS files for repeated calls. #20

Closed psheehan closed 1 year ago

psheehan commented 1 year ago

Because im.close() wasn't being called, repeated calls of get_sensitivity would continue to add on to the already selected visibilities for calculating sensitivity, and therefore get the wrong answer. This is now fixed by making sure to close the imager tool at the end.