Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background returns incorrect units #213

Open
cshanahan1 opened this issue Feb 29, 2024 · 0 comments
Open

Background returns incorrect units #213

cshanahan1 opened this issue Feb 29, 2024 · 0 comments

Comments

@cshanahan1
Copy link
Contributor

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()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant