deepof.utils.compute_dist
- deepof.utils.compute_dist(pair_array: array) DataFrame
Return a pandas.DataFrame with the scaled distances between a pair of body parts.
- Parameters:
pair_array (numpy.array) – np.array of shape N * 4 containing X, y positions over time for a given pair of body parts.
- Returns:
pandas.DataFrame with the absolute distances between a pair of body parts.
- Return type:
result (pd.DataFrame)