neuralib.tracking.deeplabcut.core.load_dlc_result
- neuralib.tracking.deeplabcut.core.load_dlc_result(file, meta_file, time=None)[source]
Load DeepLabCut result from file
- Parameters:
file (str | Path | bytes | BinaryIO | BufferedIOBase | BufferedReader) – DeepLabCut result filepath. supports both .h5 and .csv
meta_file (str | Path | bytes | BinaryIO | BufferedIOBase | BufferedReader) – DeepLabCut meta filepath. should be the .pickle. TODO Cannot it be inferred according to file?
time (ndarray | None) – time array for each sample point. If None, then assume stable DAQ for using total frames and fps info in meta
- Returns:
DeepLabCutResult- Return type: