ngmix icon indicating copy to clipboard operation
ngmix copied to clipboard

Add the standard deviation of the noise image to the metacal obs ".meta"

Open esheldon opened this issue 4 years ago • 2 comments

This is useful downstream, e.g. for detection thresholds

esheldon avatar Nov 02 '21 17:11 esheldon

We might even want to correct the weight map based on this. E.g.

var = noise.var()

# if doing fixnoise
weight[:, :] = 1/(2 * var)

# if not doing fixnoise
weight[:, :] = 1/var

this could be a little noisy for small images

esheldon avatar Nov 02 '21 17:11 esheldon

Although we don't currently have a noise image available if not doing fixnoise....

esheldon avatar Nov 02 '21 17:11 esheldon