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

lacosmic corrects for gain in data array but not uncertainties #729

Open
mheida opened this issue Apr 21, 2020 · 1 comment
Open

lacosmic corrects for gain in data array but not uncertainties #729

mheida opened this issue Apr 21, 2020 · 1 comment

Comments

@mheida
Copy link

mheida commented Apr 21, 2020

Hi, I noticed something strange about the behaviour of lacosmic and I'm not sure if this is a feature or a bug. If I feed it an image in adu (with an uncertainty array in adu) and the correct value for the gain, it corrects the data and updates the data unit to e-, but not the uncertainty array.
Is that how it's supposed to work?
I'm using astropy v3.2.2, ccdproc 2.1.0 and numpy 1.17.2.

@mwcraig
Copy link
Member

mwcraig commented Jul 10, 2020

thanks @mheida -- sounds more like a bug than a feature. Hope to look into it this weekend.

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

No branches or pull requests

2 participants