-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
IRAF tasks of interest to be replaced #40
Comments
Changed My 2c: At Gemini, @chris-simpson has been making significant progress towards 3, which we also need, but not as carbon copies -- we need to do better than IRAF in some respects and don't think cloning it is the way to go. Our early work is currently more tied to our pipeline system than I would like, but the algorithm underlying the line matching is fairly general. You can see our in-progress pipeline "primitives" at https://github.com/GeminiDRSoftware/DRAGONS/blob/spectroscopy/geminidr/core/primitives_spect.py. I think Chris is planning to give a talk on wavelength calibration at ADASS. Our pipeline also does bias/overscan, but there's already Python |
For reference, identify is almost fully reproduce by: This is an interactive PyQT GUI that is generalized for identifying spectral lines and can be used with any system. It also has some of the functionality of reidentify but uses different algorithms. However, this does return a different type of object than in identify. It is a dictionary of astropy.models that can be used for transforming the data or creating a new WCS for the data. |
General routines that Gemini has developed and want to move upstream would be very welcome here to make the available to a wider audience and reduce redundancy. Please consider/encourage them to be migrated to here! |
And for completeness:
|
I am starting work on porting the tasks |
Thanks. These tasks actually come with IRAF and are not part of the Gemini IRAF package per se (though it does make use of them). The Gemini package does have a look-up table for an extra standard (EG131, in gmos/calib). |
Someone asked about http://www.stsci.edu/itt/review/dhb_2011/Intro/intro_ch37.html#1927923 mkmultispec: This task writes wavelength information into the header of a flux file while preserving all the original information. It is therefore a better choice than resample for most applications, and we describe it in more detail below. |
Mkmultispec probably should be part of specutils -- as it is involved with input/output and the format of spectra |
Found this recently: https://pydis.readthedocs.io/stepbystep.html#flux-calibration Could be used as a reference for the code needed in |
Hi @pllim I have finally submitted a PR with a draft of some flux calibration utilities for |
Someone asked about |
I've never really used it much, but it seems like it's basically |
You mean astropy/astropy#10687 ? Thanks, @jehturner ! I'll pass this info on to the inquirer. |
I think everything needed is in AstroPy 4.2 now. We've just refactored that That should also simplify use cases like the model set fitting example in the latest astropy documentation? |
This was originally sent to STScI as a help call (INC0131510).
I list below the IRAF tasks that I would most like to see 'carbon copy' replacements for in Python.
splot
ccdproc
- especially interactive bias overscan fitting and trimminglongslit.identify
,reidentify
,fitcoords
,transform
,standard
,sensfunc
imcopy
with the ability to select image sections and extensionsimplot
cc @crawfordsm
p.s. Feel free to crossref with other issues as appropriate.
The text was updated successfully, but these errors were encountered: