load_marker_csv¶
- daart.data.load_marker_csv(filepath: str) tuple[source]¶
Load markers from csv file assuming DLC format.
coords | x | y | likelihood | x | …
. | . | . | . | . | … . | . | . | . | . | …
- Parameters:
filepath (str) – absolute path of csv 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