-
Notifications
You must be signed in to change notification settings - Fork 13
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
Cannot use compressed .fits.gz files for flats #8
Comments
This is a decision that might require some thinking. Basically, the issue is a general one where we need to decide if we want to stick with pyraf or move to other resources such as astropy. |
I think that it would be good to switch to astropy for a couple of reasons: (1) it has absorbed a number of astronomy related projects like pyfits, which is now where all the updates are and will reduce the number of dependencies, (2) it is already included in ureka so most people will have it. It also has some nice utilities dealing with tables, etc. The issue with ccdproc is that is not part of the main astropy library, which by now is more stable. ccdproc is an astropy affiliated package, which means by default is not installed with ureka. Its api is also subject to changes. I think it would be good to move away from reliance on iraf, but I"m not sure how many routines will need to be replaced. From a cursory search, I see the following routines: geoxytran, imarith, imcombine |
Hi Luca,
|
The help page for ccdproc is here: http://ccdproc.readthedocs.org/en/latest/ccdproc/index.html# |
One suggestion on the imcombine topic. Perhaps it's better to use the The name is: Docs: http://ssb.stsci.edu/doc/stsci_python_x/stsci.tools.doc/html/analysis.html ~ Nick On Thu, Jan 8, 2015 at 5:18 PM, lucarizzi notifications@github.com wrote:
+1 831 704 6425 |
Thanks Nick Looks very promising. Keep us posted !
|
Hi Luca, Nick- Chuck
|
Hi Chuck, The only time pyraf's imcombine is used is in the Flat field step. In other As I understood it, changing from pyraf to stsci imcombine has some benefit I don't recommend swapping out the Background.imcombine with an iraf The way to move forward is (for someone) to play with the background To be specific, there's a file called (e.g.) Offset_1.5.txt. The first step I hope this helps! On Sun, Jan 18, 2015 at 12:26 PM, csteidel notifications@github.com wrote:
+1 831 704 6425 |
It looks like if the data file is compressed in .fit.gz, the flat combine routine crashes. This is because underneath, it is using IRAF's imcombine in IO.py. The internal python modules that use pyfits seem to work fine with gz files.
It would be useful to support gz files because that is what we get out of the KOA archive.
The text was updated successfully, but these errors were encountered: