load_marker_h5

daart.data.load_marker_h5(filepath: str) tuple[source]

Load markers from hdf5 file assuming DLC format.

Parameters:

filepath (str) – absolute path of hdf5 file

Returns:

  • x coordinates (np.ndarray): shape (n_t, n_bodyparts)

  • y coordinates (np.ndarray): shape (n_t, n_bodyparts)

  • likelihoods (np.ndarray): shape (n_t,)

  • marker names (list): name for each column of x and y matrices

Return type:

tuple