This information is needed as part of the DM stack analysis to create the variance image of the MaskedImage data structure. We could take a variance image as input but for now I think it is easiest just to create the variance image as the Image/gain.
@wadawson I added an interface in the commit 05ec0373d5cba86d1f1827c0babba698af66109f to save a gain value in the segments file. Can you check what other feature(s) you had in mind for this issue?
This information is needed as part of the DM stack analysis to create the variance image of the MaskedImage data structure. We could take a variance image as input but for now I think it is easiest just to create the variance image as the Image/gain.