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

respect order_start/order_end in extraction #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leejjoon
Copy link
Contributor

I think this is something that I started at some point but never finished. It lets you specify start/end order number to extract spectra. This was meant to solve issues like #29.

With this change, one can set the optional order-range parameter in the command line like below

python igr_pipe.py stellar-ab 20240429 -b H -g 190 --order-range="105,115"

Or, add the following lines to the "recipe.conf" so that that option is applied by default, for example,

"""
[EXTRACTION]
ORDER_START_H=100
ORDER_END_H=122
ORDER_START_K=73
ORDER_END_K=93
"""

For now, it simply drops the "WAT" header. I think this is rarely used (the exception is IRAF I guess?) so should be okay.

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.

1 participant