tropea_clustering.plot.plot_one_trj_multi¶
- tropea_clustering.plot.plot_one_trj_multi(title, example_id, delta_t, input_data, labels)[source]¶
Plots the colored trajectory of an example particle.
- Parameters:
title (str) – The path of the .png file the figure will be saved as.
example_id (int) – The ID of the selected particle.
delta_t (int) – The length of the signal window used.
input_data (ndarray of shape (n_dims, n_particles, n_frames)) – The input data array.
labels (ndarray of shape (n_particles * n_seq,)) – The output of the clustering algorithm.
been (The datapoints are colored according to the cluster they have)
to. (assigned)