maxima.plot_maxima

plot_maxima(maxima, f=None, bins=50)[source]

Visualise the maxima distribution and compare it with a theoretical one.

Parameters
  • maxima (pd.DataFrame) – Pandas DataFrame with the information of the maxima. Has to contain at least the column ‘Intensity’.

  • f (function or None, optional) – Theoretical distribution of the maxima, f.

  • bins (int, optional) – Number of bins for the histogram of the maxima

Returns

Figure containing the histogram of the maxima intensity and, if included, the expected distribution from f.

Return type

matplotlib.figure.Figure