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

DM-40387: CalibrateImage improvements #848

Merged
merged 5 commits into from
Oct 27, 2023
Merged

DM-40387: CalibrateImage improvements #848

merged 5 commits into from
Oct 27, 2023

Conversation

parejkoj
Copy link
Contributor

No description provided.

@@ -463,10 +465,23 @@ def _compute_psf(self, exposure, guess_psf=True):
cell_set : `lsst.afw.math.SpatialCellSet`
PSF candidates returned by the psf determiner.
"""
self.log.info("First pass detection with Guassian PSF FWHM=%s", self.config.install_simple_psf.fwhm)
def log_psf(msg):
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a preference, but I would like to see exposure (or psf) passed in explicitly, along with background.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a closure, so it already has access to all local variables.

@parejkoj parejkoj force-pushed the tickets/DM-40387 branch 2 times, most recently from a1cc1e1 to 620206f Compare October 25, 2023 23:41
It now says whether the CRs were fixed or not.
We need to run repair with keepCRs=False (the default) and re-measure
in order to not have CRs included in the final output.
Some summary information about the fitted PSF is informative about fit
convergence during CR repair.
In order to deblend out fainter sources, we probably want to detect deeper
than we need for the final star catalog (which is still S/N>10). Whether
this change is strictly necessary needs to be investigated further.
@parejkoj parejkoj merged commit ea66e45 into main Oct 27, 2023
2 checks passed
@parejkoj parejkoj deleted the tickets/DM-40387 branch October 27, 2023 22:13
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