Skip to content

Fix wavelength conversion when filtering SEDs - #1366

Closed
vera-rubin wants to merge 1 commit into
GalSim-developers:releases/2.8from
vera-rubin:fix/sed-bandpass-units
Closed

vera-rubin wants to merge 1 commit into
GalSim-developers:releases/2.8from
vera-rubin:fix/sed-bandpass-units

Conversation

@vera-rubin

Copy link
Copy Markdown

SED filtering evaluated Angstrom Bandpasses at the wrong wavelength. We now multiply by the Bandpass wavelength factor when converting from nanometers. We tested the reproducer and the SED and Bandpass test suites, including a new regression test.

Fixes #1365

— ChipLab

@rmjarvis

Copy link
Copy Markdown
Member

Sorry, I didn't notice this before doing my own PR. Thanks for submitting this. I'll keep the other one, since it has two other related bugs that we didn't have tests for. But the fix is of course the same in both. That / should have been a * as you noted.

@rmjarvis rmjarvis closed this Oct 16, 2026
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.

SED filtering uses the wrong wavelength for Angstrom Bandpasses

2 participants