-
Notifications
You must be signed in to change notification settings - Fork 104
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
Adding orderStacks as a default coadd.py output for Echelle spectrographs #1841
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I have some code clean-up requests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Adolfo1519 , the changes here look OK.
I am just confused about the description of the PR. It says "Adding orderStacks as a default coadd.py output for Echelle spectrographs", but I cannot tell which part of the code here is doing that. Was it done in a previous PR and this is an update to that?
Also, if the orderstack is now provided by default for echelle, what happened to the -m
flag? Was it removed?
Sorry if I missed something in previous PRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving.
OrderStacks has been created to contain the order stacks output by coadd.py. Originally these were output as part of the onespec object when the -m flag was set, following the NIRSPEC merge. However, this has now been made into a default output for echelle spectrographs and the stacks are output in the original wavelength solution of each order (if it is monotonic).