tropea_clustering.plot.plot_time_res_analysis

tropea_clustering.plot.plot_time_res_analysis(title, tra)[source]

Plots the results of clustering at different time resolutions.

Here’s an example of the output:

Example Image

For each of the analyzed time resolutions, the blue curve shows the number of identified clusters (not including the unclassified data); the orange line shows the fraction of unclassififed data.

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

  • tra (ndarray of shape (n_windows, 3)) – Contains the number of states and the population of ENV0 at every tau_window.