-
Notifications
You must be signed in to change notification settings - Fork 9
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
Consequences of bandmath as currently implemented and desire for a usecase tutorial #83
Comments
My opinion is that the band math should be left as is, since it preserves that full functionality of the Spectrum1D class from specutils all the way through our EchelleSpectrum and EchelleSpectrumList classes, which are extensions of Spectrum1D. Combining separate EchelleSpectrumList objects is a unique event that will probably just be confined to combining the IGRINS H & K bands thus should just be its own definition in utilities.py. I don't see it being used for much beyond that. |
Thank you for your input Kyle! Would you be open to making a demo tutorial showing how you use bandmath as is? The |
I'll see what I can do. Do you want something realistic (e.g. with sky subtraction, flux calibration, telluric correction)? or just a demo showing how band math works? I would have to add in some more example data if you wanted something realistic. |
Simpler is better for tutorials, I think. It's OK to add some more example data, especially since you are used to working with the rawer form of Speaking of which, I can envision a successful tutorial that combines I think you're right that allowing the user the freedom and flexibility to operate on the orders separately is useful and desirable. That makes more work for us the developers though, and so the decision should not be made too lightly, since it adds a bunch of corner-case scenarios to consider. On balance it seems like expanding what we enable in |
Actually yes I am using |
The recent pull request #81 by @kfkaplan made us realize some unintended consequences of the "band math" changes to EchelleSpectrumList-like objects. See the conversation in that PR for the full breakdown.
I'm not sure one way or the other what we should do, since the status quo bandmath has some benefits and drawbacks. I'm opening this issue as a spot to have a conversation about it in a conspicuous place.
If we want to make some headway on deciding, I suggest we make an experimental tutorial with a working title "Unifying IGRINS H and K bands" or something like that, with whatever use case it is we want to support. We should get to the point where we achieve some complicated goal (without
muler
built in convenience functions) and then ask ourselves whether those patterns are going to be so frequent and uncontroversial that we should chisel them into muler's core.In other words, let's include the a typical band math use case in that tutorial, doing it with and without the current bandmath implementation.
The text was updated successfully, but these errors were encountered: