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

Add centralWavelength to GMOS steps #1550

Merged
merged 2 commits into from
Jan 8, 2025
Merged

Add centralWavelength to GMOS steps #1550

merged 2 commits into from
Jan 8, 2025

Conversation

swalker2m
Copy link
Contributor

Adds centralWavelength to JSON steps as requested in ShortCut 4491.

Central wavelength is taken from the grating config (if present) and otherwise from the filter (if present). It will be null if neither are specified in the GMOS dynamic config. There are two places where updates are required:

  1. In the JSON codec for the GMOS dynamic config which is used when the sequence is generated
  2. In the recorded steps which are mapped from database tables

To simplify the second item, I updated the GMOS dynamic config views to include a computed c_central_wavelength column.

Copy link
Contributor

@cquiroz cquiroz left a comment

Choose a reason for hiding this comment

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

LGTM

@swalker2m swalker2m merged commit ca29906 into main Jan 8, 2025
6 checks passed
@swalker2m swalker2m deleted the central-wavelength branch January 8, 2025 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants