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

Detect artifacts on warpDiffs with SourceDetectionTask #160

Merged
merged 1 commit into from Nov 14, 2017

Conversation

yalsayyad
Copy link
Contributor

SourceDetectionTask adds overhead, but is more configurable.

@@ -1640,6 +1629,8 @@ def __init__(self, *args, **kwargs):
"""
AssembleCoaddTask.__init__(self, *args, **kwargs)
self.makeSubtask("assembleStaticSkyModel")
schema = afwTable.SourceTable.makeMinimalSchema()

Choose a reason for hiding this comment

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

Perhaps detectionSchema, to make clear the relation?

nans = numpy.where(numpy.isnan(chiIm.array), 1, 0)
nansMask = afwImage.makeMaskFromArray(nans.astype(afwImage.MaskPixel))
nansMask.setXY0(chiIm.getXY0())
nansMask = afwImage.MaskX(coaddBBox, 1)

Choose a reason for hiding this comment

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

Mask everything?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adding an inline comment

SourceDetectionTask adds overhead, but is more configurable.
@yalsayyad yalsayyad merged commit 06c8644 into master Nov 14, 2017
@ktlim ktlim deleted the tickets/DM-12517 branch August 25, 2018 06:45
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