check_mask

pipe.check_mask(mask_cube, apt, clip=5, niter=3)[source]

Checks the number of masked pixels for each mask of an array, and de-selects those frames that deviate more than clip sigma from the average.