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

Match Target and Secondaries by Index Rather Than Distance #65

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AKHughes1994
Copy link
Contributor

Hey Ian,

This is an idea (feel free to decline it). Oxkat (in a few cases) wound up matching the wrong secondary to the source due to some secondaries being closer in distance, but not the secondaries that bracket the target. Here is an alternative scheme where instead of using the distance on the sky it calculated the distance between target and secondary indexes, and uses the smallest difference in index as the secondary.

I can really think of a case where this wouldn't work, unless the observations have some bizzarre setup where the secondary you want to match isn't the closest in time to the target.

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.

1 participant