from_multiview_files#

movement.io.load_poses.from_multiview_files(file_path_dict, source_software, fps=None)[source]#

Load and merge pose tracking data from multiple views (cameras).

Parameters:
  • file_path_dict (dict[str, Union[Path, str]]) – A dict whose keys are the view names and values are the paths to load.

  • source_software ({'LightningPose', 'SLEAP', 'DeepLabCut'}) – The source software of the file.

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

Returns:

movement dataset containing the pose tracks, confidence scores, and associated metadata, with an additional views dimension.

Return type:

xarray.Dataset