-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
ccdproc.subtract_dark incorrectly raises TypeError on CCDData objects #668
Comments
Hi @RLWagner and thank you for the report. I will have a look at this later. But could you check what |
I couldn't reproduce this with the provided versions. It would be very helpful if you could provide the output of |
CCDData is ccdproc.core.CCDData returns True.
Rick
…---------- Original Message ----------
From: Michael Seifert <[email protected]>
Date: June 7, 2019 at 2:20 AM
I couldn't reproduce this with the provided versions. It would be very helpful if you could provide the output of CCDData is ccdproc.core.CCDData. I assume that somehow your installed ccdproc has a different CCDData class.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
|
@MSeifert04 -- do you have time to follow up on this or should I take a look later today? |
@mwcraig It would be great if you could follow up on this. I'm a bit at a loss what might cause the issue. |
@RLWagner -- sorry for the delay. I'm not able to reproduce the bug, but I'm not on Ubuntu (not that it should make any difference). Could you please send (or post here) the output of |
I am trying to automate my image reduction. I use the individual ccdproc functions (subtract_bias, subtract_dark, etc) since I need to do an image linearization between the bias and dark subtractions. I always get a TypeError from ccdproc.subtract_dark() saying that both image and dark need to be type CCDData. However, as you can see in the code below I've implemented the exact test from subtract_dark before calling and it never triggers. Bias subtraction works fine. If I comment out the isinstance test in ccdproc.subtract_dark everything works fine.
I can provide the images (~11MB total) and/or FITS headers if that would help.
Linux Fedora 27
Python 3.6.8 | Anaconda
astropy 3.1.2
ccdproc 1.3.0.post1
numpy 1.16.3
Trace:
The text was updated successfully, but these errors were encountered: