tropea_clustering.plot.plot_pop_fractions

tropea_clustering.plot.plot_pop_fractions(title, list_of_pop, tra)[source]

Plot, for every time resolution, the populations of the ENVs.

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

  • list_of_pop (List[List[float]]) – For every tau_window, this is the list of the populations of all the states (the first one is ENV0).

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

Notes

The bottom state is the ENV0.