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

supress wavelength sampling warning for twilight sky #354

Merged
merged 2 commits into from
Aug 30, 2023

Conversation

yoachim
Copy link
Member

@yoachim yoachim commented Aug 29, 2023

No description provided.

)
bp_temp = Bandpass()
bp_temp.set_bandpass(bpdata["wave"], bpdata["through"])
canon_filters[filter_name] = bp_temp
Copy link
Member

Choose a reason for hiding this comment

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

Does this produce the same results as previously, given that the wavelengths were previously on the grid?

Copy link
Member Author

Choose a reason for hiding this comment

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

Looks like differences are at the 1e-3 level. But we can resample the bandpass for good measure since it only happens once on init.

@yoachim yoachim merged commit 34fecd7 into main Aug 30, 2023
3 of 4 checks passed
@rhiannonlynne rhiannonlynne deleted the u/yoachim/supress-warning-twilight branch November 1, 2023 18:53
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.

2 participants