-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
Cosmic Ray Correction Gives NaN Values on Flats #800
Labels
Comments
So it actually seems that this line is the real issue:
I must be entering something weird or applying a variable wrong. |
kjkoeller
changed the title
Flat Field Correct Gives NaN Values
Cosmic Ray Correction Gives NaN Values
Jan 8, 2023
kjkoeller
changed the title
Cosmic Ray Correction Gives NaN Values
Cosmic Ray Correction Gives NaN Values on Flats
Jan 8, 2023
Thanks for submitting this report @kjkoeller -- do you have a data file I could try running this on to see what the problem is? I can give an email address to send it to if you want to keep the data private. |
The data is located here: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using these versions
ccdproc 2.4.0
,astropy 5.1.1
, andnumpy 1.22.3
. I go through the whole process of overscan, trimming, bias, dark, and flat field correction. However, after the flats are combined to their respective filters and I run the following code:It runs through the code no problem but the output for the science image is completely blank and the values that are given are NaN's across the whole image. However, when I don't do flat correction the science image is produced. I have also tried doing things more manually like as follows:
However, the same issue arises where the final science image is all NaN values and without flat correcting is a fine image without flat correction though. I have tested to make the sure the program is pulling the correct flat and only the master flats, and from the looks of things it is using the correct master flat image and only the master flat.
The text was updated successfully, but these errors were encountered: