Opens a dirty .residual image, reads its frequency info
and writes it to a template .mask image for eventual use
as a tclean mask. Necessary for tclean in 4.6 builds since it complains about no overlap in frequency if you try to use a equal-shaped mask from a different line.
tt.makemaskForNewLine(templateMask, dirtyImage, overwrite=True)
- templateMask: mask image containing the interesting mask definition for line A
- dirtyImage: of line B, which you want to apply the mask to