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

Prefer same block/proposal for calibrations. Only use public calibrations. Use calibrations with the same slit width (i.e. same slit mask) for processing. #34

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cmccully
Copy link
Contributor

This PR pulls in the changes from LCOGT/banzai#403 to prefer calibrations from the same block or the same proposal. We now also only use public arcs if there is not one in the same block/proposal. This also adds a delay to processing if the observing block is still in progress so that we can use the calibrations taken at the end of the block.

We also only use arcs and flats taken with the same slit width.

…ions. Use calibrations with the same slit width (i.e. same slit mask) for processing.
@jchate6
Copy link
Contributor

jchate6 commented Dec 11, 2024

the tests seem awfully unhappy... :(

CHANGES.md Outdated Show resolved Hide resolved
setup.cfg Outdated
@@ -20,7 +20,7 @@ setup_requires =
psycopg2-binary
install_requires =
astropy >= 4.3
banzai @ git+https://github.com/lcogt/banzai.git@1.19.1
banzai @ git+https://github.com/lcogt/banzai.git@cals-by-block.git
Copy link

Choose a reason for hiding this comment

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

remember to replace with tag

Copy link

@sfoale sfoale left a comment

Choose a reason for hiding this comment

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

lgtm

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