tropea_clustering.plot.plot_one_trj_uni¶
- tropea_clustering.plot.plot_one_trj_uni(title, example_id, input_data, labels, n_windows)[source]¶
Plots the colored trajectory of one 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.
input_data (ndarray of shape (n_particles * n_windows, tau_window)) – The input data array.
labels (ndarray of shape (n_particles * n_windows,)) – The output of the clustering algorithm.
n_windows (int) – The number of windows used.