specreduce icon indicating copy to clipboard operation
specreduce copied to clipboard

Background returns incorrect units

Open cshanahan1 opened this issue 2 years ago • 0 comments

The following should return flux in DN, not DN**2:

img = np.tile((np.arange(1., 13)), (13, 1)) * u.DN trace = FlatTrace(img, 2) background = Background(img, trace) background.bkg_image()

cshanahan1 avatar Feb 29 '24 01:02 cshanahan1