API Reference#
Input/Output#
|
Load pose tracking data from any supported file format. |
|
Load pose tracking data from a SLEAP file into an xarray Dataset. |
|
Load pose tracking data from a DeepLabCut (DLC) output file. |
|
Create an xarray.Dataset from a DeepLabCut-style pandas DataFrame. |
|
Load pose tracking data from a LightningPose (LP) output file. |
|
Save the xarray dataset to a DeepLabCut-style .h5 or .csv file. |
|
Convert an xarray dataset to DeepLabCut-style pandas DataFrame(s). |
|
Save the xarray dataset to a SLEAP-style .h5 analysis file. |
|
Save the xarray dataset to a LightningPose-style .csv file (see Notes). |
|
Class for validating file paths. |
|
Class for validating HDF5 files. |
|
Class for validating DLC-style .csv files. |
|
Class for validating pose tracking data imported from a file. |
Sample Data#
Find available sample datasets. |
|
|
Get paths to sample pose data and any associated frames or videos. |
|
Load a sample dataset containing pose data. |
Filtering#
|
Drop all points below a certain confidence threshold. |
|
Fill in NaN values by interpolating over the time dimension. |
|
Report the number and percentage of points that are NaN. |
Analysis#
|
Compute displacement between consecutive positions. |
|
Compute the velocity in cartesian |
|
Compute acceleration in cartesian |
|
Transform Cartesian coordinates to polar. |
|
Transform polar coordinates to Cartesian. |
MovementDataset#
|
An |
Logging#
|
Configure the logging module. |
|
Log an error message and return the Exception. |
|
Log a warning message. |