Skip to content

Commit 0b65349

Browse files
authored
Update README.md
1 parent 6c0ee6b commit 0b65349

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
[![PyPI version](https://badge.fury.io/py/kinematik.svg)](https://badge.fury.io/py/DLC2Kinematics)
2-
[![PyPI - Downloads](https://img.shields.io/pypi/dm/kinematik.svg?color=purple&label=PyPi)](https://pypistats.org/packages/DLC2Kinematics)
1+
[![PyPI version](https://badge.fury.io/py/dlc2kinematics.svg)](https://badge.fury.io/py/dlc2kinematics)
2+
[![Downloads](https://pepy.tech/badge/dlc2kinematics/month)](https://pepy.tech/project/dlc2kinematics)
3+
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
4+
[![Generic badge](https://img.shields.io/badge/Contributions-Welcome-brightgreen.svg)](CONTRIBUTING.md)
5+
[![Twitter Follow](https://img.shields.io/twitter/follow/dlc2kinematics.svg?label=dlc2kinematics&style=social)](https://twitter.com/DLC2Kinematics)
36

47
<img src="https://images.squarespace-cdn.com/content/v1/57f6d51c9f74566f55ecf271/1628452157953-RBVUGI7M3ABF9AOSUMMS/DLC2k.jpg?format=2500w" width="750" title="camera control" alt="cam cntrl" align="center" vspace = "80">
58

@@ -14,6 +17,7 @@ This repo will continue to grow, but here are some helper functions to get you s
1417
``` bash
1518
pip install dlc2kinematics
1619
```
20+
1721
## Useage
1822

1923
``` python
@@ -105,7 +109,9 @@ dlc2kinematics.plot_3d_pca_reconstruction(df_vel, n_components=10, framenumber=5
105109

106110
### UMAP Embeddings
107111
``` python
108-
dlc2kinematics.compute_umap(df, key=['LeftForelimb', 'RightForelimb'], chunk_length=30, fit_transform=True, n_neighbors=30, n_components=3,metric="euclidean")
112+
data = dlc2kinematics.compute_umap(df, key=['LeftForelimb', 'RightForelimb'], chunk_length=30, fit_transform=True, n_neighbors=30, n_components=3,metric="euclidean")
113+
114+
dlc2kinematics.plot_umap(data, size=5, alpha=1, color="indigo", figsize=(10, 6))
109115
```
110116

111117
## Contributing

0 commit comments

Comments
 (0)