tropea_clustering.plot.plot_one_trj_multi

tropea_clustering.plot.plot_one_trj_multi(title, example_id, tau_window, 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.

  • tau_window (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_windows,)) – The output of the clustering algorithm.