Skip to content

DM-54758: Fix sigmaToFwhm conversion typo#455

Merged
isullivan merged 1 commit intomainfrom
tickets/DM-54758
Apr 23, 2026
Merged

DM-54758: Fix sigmaToFwhm conversion typo#455
isullivan merged 1 commit intomainfrom
tickets/DM-54758

Conversation

@isullivan
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@erykoff erykoff left a comment

Choose a reason for hiding this comment

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

Would be nice if we had this somewhere to import rather than having to do it by hand everywhere in the stack. But I have confirmed this is now correct.

@taranu
Copy link
Copy Markdown
Contributor

taranu commented Apr 23, 2026

Would be nice if we had this somewhere to import

from astropy.stats import gaussian_sigma_to_fwhm, gaussian_fwhm_to_sigma
and also
from lsst.gauss2d import M_HWHM_SIGMA, M_SIGMA_HWHM

... although you would not want to depend on gauss2d just for that.

@isullivan
Copy link
Copy Markdown
Contributor Author

Sure, we already import astropy here, so I'll use that for the conversions.

@isullivan isullivan merged commit 1ab274d into main Apr 23, 2026
2 checks passed
@isullivan isullivan deleted the tickets/DM-54758 branch April 23, 2026 03:01
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.

3 participants