-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Draft inter-individual distances * Return vector norm in `compute_interindividual_distances` * Add `compute_interkeypoint_distances` * Refactor pairwise distances tests * Use `scipy.spatial.distance.cdist` * Add examples to docstrings * Rename variables * Update test function args + fix indentation * Handle scalar and 1d dims * Handle missing `core_dim` * Refactor `cdist` and tests * Fix docstrings * Reorder functions + cleanup docs * Reduce pairwise distances functions * Mention examples of available distance metrics * Update docstrings * Require `pairs` in `compute_pairwise_distances` * Raise error if there are no pairs to compute distances for * Rename `core_dim` to `labels_dim` * Spell out expected pairs in test * Merge old `kinematics` file changes into new * Rename `core_dim` to `labels_dim` in tests * Validate dims in `compute_pairwise_distances` * Apply suggestions from code review Co-authored-by: Niko Sirmpilatze <[email protected]> * Apply suggestions from code review Co-authored-by: Niko Sirmpilatze <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Niko Sirmpilatze <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
b10896f
commit 536de0e
Showing
3 changed files
with
540 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.