Skip to content

Conversation

@isullivan
Copy link
Contributor

This moves background subtraction out of subtractImages where it was previously done as part of the psf matching kernel fit, and into a subtask in detectAndMeasure.

)
subtractFinalBackground = pexConfig.ConfigurableField(
target=lsst.meas.algorithms.SubtractBackgroundTask,
doc="Task to perform intial background subtraction, after first detection pass.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be Task to perform final background subtraction, ...?


if self.config.doSubtractBackground:
# Run background subtraction again after detecting peaks
# but before measurement
Copy link
Contributor

Choose a reason for hiding this comment

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

extra whitespace in doc string.

@isullivan isullivan merged commit 470b45d into main May 11, 2025
4 checks passed
@isullivan isullivan deleted the tickets/DM-50717 branch May 11, 2025 06:33
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