tropea_clustering.plot.plot_output_uni

tropea_clustering.plot.plot_output_uni(title, input_data, n_windows, state_list)[source]

Plots clustering output with Gaussians and threshols.

Here’s an example of the output:

Example Image

The left planel shows the input time-series data, with the backgound colored according to the thresholds between the clusters. The left panel shows the cumulative data distribution, and the Gaussians fitted to the data, corresponding to the identified clusters.

Parameters:
  • title (str) – The path of the .png file the figure will be saved as.

  • input_data (ndarray of shape (n_particles * n_windows, tau_window)) – The input data array.

  • n_windows (int) – The number of windows used.

  • state_list (List[StateUni]) – The list of the cluster states.