from_anipose_file#

movement.io.load_poses.from_anipose_file(file_path, fps=None, individual_name='individual_0')[source]#

Create a movement poses dataset from an Anipose 3D .csv file.

Parameters:
  • file_path (pathlib.Path) – Path to the Anipose triangulation .csv file

  • fps (float, optional) – The number of frames per second in the video. If None (default), the time coordinates will be in frame units.

  • individual_name (str, optional) – Name of the individual, by default “individual_0”

Returns:

movement dataset containing the pose tracks, confidence scores, and associated metadata.

Return type:

xarray.Dataset

Notes

We currently do not load all information, only x, y, z, and score (confidence) for each keypoint. Future versions will load n of cameras and error.