Skip to content

Conversation

@yalsayyad
Copy link
Contributor

No description provided.

This is needed if we want detection to do
any backgrounds subtraction during detection
Copy link
Contributor

@isullivan isullivan left a comment

Choose a reason for hiding this comment

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

Looks good, though make sure to fix the linting error.

Comment on lines +1473 to +1474
self.detectTemplate.doTempLocalBackground = True
self.detectTemplate.reEstimateBackground = True
Copy link
Contributor

Choose a reason for hiding this comment

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

It is not for this ticket, but we could replace the background subtraction built in to the detection task with the version I wrote for subtractImages that allows for outlier rejection and does a better job around artifacts and bright stars.

self.detect.returnOriginalFootprints = False
self.detect.thresholdPolarity = "both"
self.detect.thresholdValue = 5
self.detect.thresholdValue = 6
Copy link
Contributor

Choose a reason for hiding this comment

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

I thought your examples with thresholdValue = 7.5 looked convincing, but no objection to 6.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oooo, thank you for sharing that thought :)

@yalsayyad yalsayyad force-pushed the tickets/DM-50108 branch 3 times, most recently from f590c07 to 8b90992 Compare December 4, 2025 04:26
by shrinking safe zones by:
- increasing detection threshold
- adjusting background estimation configs in detection of safe zones
- and using calcErrorFromInputVariance in computation
  of template variance.
@yalsayyad yalsayyad merged commit acb9ab7 into main Dec 4, 2025
8 checks passed
@yalsayyad yalsayyad deleted the tickets/DM-50108 branch December 4, 2025 06:09
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