Skip to content

Commit

Permalink
added entry in input_output docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vigji committed Dec 11, 2024
1 parent 1f56e75 commit 78e954f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/source/user_guide/input_output.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ To analyse pose tracks, `movement` supports loading data from various frameworks
- [DeepLabCut](dlc:) (DLC)
- [SLEAP](sleap:) (SLEAP)
- [LightingPose](lp:) (LP)
- [Anipose](anipose:) (Anipose)

To analyse bounding boxes' tracks, `movement` currently supports the [VGG Image Annotator](via:) (VIA) format for [tracks annotation](via:docs/face_track_annotation.html).

Expand Down Expand Up @@ -84,6 +85,22 @@ ds = load_poses.from_file(
```
:::

:::{tab-item} Anipose

To load Anipose files in .csv format:
```python
ds = load_poses.from_anipose_file(
"/path/to/file.analysis.csv", fps=30, individual_name="individual_0"
) # We can optionally specify the individual name, by default it is "individual_0"

# or equivalently
ds = load_poses.from_file(
"/path/to/file.analysis.csv", source_software="Anipose", fps=30, individual_name="individual_0"
)

```
:::

:::{tab-item} From NumPy

In the example below, we create random position data for two individuals, ``Alice`` and ``Bob``,
Expand Down

0 comments on commit 78e954f

Please sign in to comment.