tropea_clustering.plot_smooth.plot_output_uni

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

Plots clustering output with Gaussians and thresholds.

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

  • input_data (ndarray of shape (n_particles, n_frames)) – The input data array.

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

Example

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.