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

allow wavelength to be used in source and monitor creation #2245

Open
wants to merge 2 commits into
base: pre/2.8
Choose a base branch
from

Conversation

groberts-flex
Copy link
Contributor

Potential solution for Github Issue #1933 (Add wavelength option to specify sources and monitors)

This allows the pydantic models to continue to use just frequency variables for sources/monitors but allow those to be set by wavelength properties instead. Extra checking/validation is added in to ensure we don't have conflicting information (i.e. - either wavelengths are supplied or frequencies) and that we can create the frequency specification from supplied wavelength specification.

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