Skip to content
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

Merged
merged 17 commits into from
Oct 29, 2024

Conversation

Adolfo1519
Copy link
Collaborator

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).

Copy link
Collaborator

@kbwestfall kbwestfall left a 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.

pypeit/core/coadd.py Outdated Show resolved Hide resolved
pypeit/core/coadd.py Outdated Show resolved Hide resolved
pypeit/core/flux_calib.py Outdated Show resolved Hide resolved
pypeit/core/wavecal/autoid.py Show resolved Hide resolved
pypeit/core/wavecal/wvutils.py Outdated Show resolved Hide resolved
pypeit/sensfunc.py Show resolved Hide resolved
Copy link
Collaborator

@debora-pe debora-pe left a 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.

Copy link
Collaborator

@kbwestfall kbwestfall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving.

@kbwestfall kbwestfall merged commit 1b7f032 into pypeit:develop Oct 29, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants