Open esheldon opened 1 year ago
That list comprehension is fine, and we could add it as a new property, e.g. noise_realizations_with_mask_and_variance
(naming is hard). I would like to keep the original as a clearer representation of what's actually stored.
https://github.com/lsst/cell_coadds/blob/88a373ac7738320530baad8b2eeedd49f9e93fcc/python/lsst/cell_coadds/_image_planes.py#L81
They use the same variance and mask as the image.
I think this can be accomplished by making do something like this:
Is the PSF already set in the ImageF?