-
Notifications
You must be signed in to change notification settings - Fork 8
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-47901: Configure streak masking for ComCam #367
Conversation
ff83967
to
a421749
Compare
_table = afwTable.SourceTable.make(self.schema) | ||
self.detection.run(table=_table, exposure=binnedExposure, doSmooth=True) | ||
sigma = difference.psf.computeShape(difference.psf.getAveragePosition()).getDeterminantRadius() | ||
_table = afwTable.SourceTable.make(afwTable.SourceTable.makeMinimalSchema()) |
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.
Do you specifically not want the self.schema
we used previously that had some extra columns floating around? I assumed it was more efficient to pass along an existing schema than making a new one from scratch, but it probably doesn't matter much either way.
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.
The minimal schema is trivial to create, and makes detection slightly faster since the resulting table has far fewer columns.
self.maskStreaks.maxFitIter = 10 | ||
# Only mask to 2 sigma in width | ||
self.maskStreaks.nSigmaMask = 2 | ||
self.maskStreaks.absMinimumKernelHeight = 2 |
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 add docstring for the absMinimumKernelHeight
config setting
a421749
to
144aacb
Compare
No description provided.