environmentaltools.graphics.serie_peaks_umbral

environmentaltools.graphics.serie_peaks_umbral(df_serie, df_peaks, ylab, umbral, nombre)[source]

Plot time series with peaks over threshold.

Displays the time series and highlights values exceeding a specified threshold for Peaks Over Threshold (POT) analysis.

Parameters:
  • df_serie (pd.DataFrame) – Complete time series data with datetime index.

  • df_peaks (pd.DataFrame) – Values exceeding the threshold with datetime index.

  • ylab (str) – Y-axis label describing the variable.

  • umbral (float) – Threshold value used for peak extraction.

  • nombre (str) – Plot title.

Returns:

Displays the plot.

Return type:

None