idtrackerai.extra_tools.cluster_inspection#

Warning

The code reference is a work in progress and may contain inconsistencies.

A simple module to inspect contrastive clusters after tracking, see Cluster inspection.

idtrackerai.extra_tools.cluster_inspection.scatter_plot(x: ndarray, y: ndarray, labels: ndarray, file: Path | str)[source]#

Expected Numpy array with IDs from 1 to n_animals, 0 values meaning unknown