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-30465 Implement decorrelation afterburner for maximum likelihood images #563

Merged
merged 1 commit into from Sep 25, 2021

Conversation

kgabor
Copy link
Member

@kgabor kgabor commented Aug 13, 2021

No description provided.

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.

Please move decorrelation of the subtracted exposure out of the else statement. I believe we still want to decorrelate it even if we use the score image for detection.

@@ -970,15 +970,26 @@ def run(self, exposure=None, selectSources=None, templateExposure=None, template
# useScoreImageDetection=True and doDecorrelation=True is not allowed in the config
Copy link
Contributor

Choose a reason for hiding this comment

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

This comment should be removed

Comment on lines 984 to 992
else:
decorrResult = self.decorrelate.run(exposureOrig, subtractRes.warpedExposure,
subtractedExposure,
subtractRes.psfMatchingKernel,
spatiallyVarying=self.config.doSpatiallyVarying,
preConvKernel=None,
templateMatched=self.config.convolveTemplate,
preConvMode=False)
subtractedExposure = decorrResult.correctedExposure
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we want to decorrelate the subtracted exposure, even if we use the score image for detection.

 * Remove pre-convolution and decorrelation afterburner restriction in config.
 * Add support for likelihood image decorrelation.
@isullivan isullivan merged commit cb1df97 into master Sep 25, 2021
@isullivan isullivan deleted the tickets/DM-30465 branch September 25, 2021 18:10
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.

None yet

2 participants