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-7070 Move consts from top of Associations.cc into JointcalConfig #33

Merged
merged 1 commit into from Apr 5, 2017

Conversation

parejkoj
Copy link
Collaborator

cleanMatches looks like it was used to debug starMatchList: probably don't
need it any more.

Add tests for minMeasurements and matchCut, plus a test for 3 visits with the
default config, to test setting minMeasurements to 3 (since it obviously won't
work with only 2 visits).

Copy link

@mrawls mrawls left a comment

Choose a reason for hiding this comment

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

Thanks for walking through this with me! I think it looks fine aside from the one change to clarify that matchCut is an angle in units of arcseconds.

@@ -99,6 +99,17 @@ class JointcalConfig(pexConfig.Config):
dtype=float,
default=0.02,
)
# TODO: DM-6885 matchCut should be an afw.geom.Angle
matchCut = pexConfig.Field(
Copy link

Choose a reason for hiding this comment

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

Explicitly document that this is an angle and tell us what units you assume (arcseconds, it seems)

cleanMatches looks like it was used to debug starMatchList: probably don't
need it any more.

Add tests for minMeasurements and matchCut, plus a test for 3 visits with the
default config, to test setting minMeasurements to 3 (since it obviously won't
work with only 2 visits).
@parejkoj parejkoj merged commit 07d4b47 into master Apr 5, 2017
@ktlim ktlim deleted the tickets/DM-7070 branch August 25, 2018 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants