-
Notifications
You must be signed in to change notification settings - Fork 9
DM-51368: Move kernel candidate residual metric to utils #408
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
Conversation
fred3m
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. A few docstrings need to be updated and I left a note about a potential issue that might need to be investigated in another ticket.
|
|
||
| @timeMethod | ||
| def run(self, science, matchedTemplate, difference, | ||
| def run(self, science, matchedTemplate, difference, kernelSources, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't forget to add kernelSources to the docstring.
| mask &= ~mask.getPlaneBitMask(self.config.clearMaskPlanes) | ||
|
|
||
| def processResults(self, science, matchedTemplate, difference, sources, idFactory, | ||
| def processResults(self, science, matchedTemplate, difference, sources, idFactory, kernelSources, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update this docstring too.
| diaSource.assign(forcedSource, mapper) | ||
|
|
||
| def calculateMetrics(self, science, difference, diaSources): | ||
| def calculateMetrics(self, science, difference, diaSources, kernelSources): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update docstring
|
|
||
| @timeMethod | ||
| def run(self, science, matchedTemplate, difference, scoreExposure, | ||
| def run(self, science, matchedTemplate, difference, scoreExposure, kernelSources, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update docstring
9c08354 to
cbadd64
Compare
No description provided.