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

Add function to compute distance between one event and a catalog #586

Merged
merged 4 commits into from
Sep 1, 2024

Conversation

calum-chamberlain
Copy link
Member

What does this PR do?

Computes distance between one event and a catalog of other events. This is essentially one column of the distance matrix.

Why was it initiated? Any relevant Issues?

I need this for work in RT-EQcorrscan to implement near real-time relocations, which requires the addition of single events to the correlations. This is one part of that process.

PR Checklist

  • develop base branch selected?
  • This PR is not directly related to an existing issue (which has no PR yet).
  • All tests still pass.
  • Any new features or fixed regressions are be covered via new tests.
  • Any new or changed features have are fully documented.
    - [ ] Significant changes have been added to CHANGES.md.
    - [ ] First time contributors have added your name to CONTRIBUTORS.md.

@calum-chamberlain calum-chamberlain merged commit 0a9cbeb into develop Sep 1, 2024
19 of 20 checks passed
@calum-chamberlain calum-chamberlain deleted the dist-array branch September 1, 2024 21:05
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