Skip to content

#1365 Fix an error in SED * Bandpass when not using nm for the wavelengths - #1367

Open
rmjarvis wants to merge 3 commits into
releases/2.8from
#1365
Open

rmjarvis wants to merge 3 commits into
releases/2.8from
#1365

Conversation

@rmjarvis

Copy link
Copy Markdown
Member

@vera-rubin reported a bug in the SED * Bandpass code that applies the unit conversion in the wrong direction when the bandpass has units other than nm.

This PR fixes this bug as well as two other similar bugs that Codex found when I asked it to look for other related cases. The test suite now has tests of all three of these with a variety of wave units to check that the code works consistently regardless of which units you use to define the Bandpass or SED.

@rmjarvis rmjarvis added this to the v2.8 milestone Oct 16, 2026
@rmjarvis rmjarvis added bug report Bug report chromatic Related to the Chromatic classes, SEDs, bandpasses, etc. labels Oct 16, 2026
@rmjarvis
rmjarvis requested a review from jmeyers314 October 16, 2026 01:10

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug report Bug report chromatic Related to the Chromatic classes, SEDs, bandpasses, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant