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

Danish joint fit #300

Merged
merged 6 commits into from
Dec 7, 2024
Merged

Danish joint fit #300

merged 6 commits into from
Dec 7, 2024

Conversation

jfcrenshaw
Copy link
Collaborator

Danish can now jointly fit a pair of donuts, rather than fitting individually and then averaging Zernikes. I think this is likely more robust, e.g. I think it is more likely to properly distinguish astigmatism from DCR. Futhermore, it appears to be about the same speed as the fit-individually-and-average method. I have, therefore, made the joint-fit the new default.

@jfcrenshaw jfcrenshaw requested a review from jmeyers314 December 5, 2024 05:34
Copy link
Collaborator

@jmeyers314 jmeyers314 left a comment

Choose a reason for hiding this comment

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

LGTM! One small comment. I guess you need for #299 to merge and rebase before merging this one?

@@ -248,7 +297,7 @@ def _estimateSingleZk(
dy,
fwhm,
zkFit,
sky_level=backgroundStd,
sky_level=backgroundStd**2,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good catch!

python/lsst/ts/wep/estimation/danish.py Outdated Show resolved Hide resolved
@jfcrenshaw jfcrenshaw merged commit 144e8fe into develop Dec 7, 2024
4 checks passed
@jfcrenshaw jfcrenshaw deleted the danishJointFit branch December 7, 2024 01:54
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