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

filtering based on id when matching time ranges #41

Closed
moishy90 opened this issue Sep 22, 2018 · 0 comments · Fixed by #42
Closed

filtering based on id when matching time ranges #41

moishy90 opened this issue Sep 22, 2018 · 0 comments · Fixed by #42

Comments

@moishy90
Copy link
Contributor

when matching time ranges in https://github.com/dpwe/audfprint/blob/master/audfprint_match.py#L178 wouldn't it make sense to filter based on id as well? Something like this:

match_times = hits[np.logical_and.reduce([ hits[:, 1] >= minoffset, hits[:, 1] <= maxoffset, hits[:, 0] == id ]), 3]

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 a pull request may close this issue.

1 participant