environmentaltools.graphics.serie_peaks

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

Plot time series with identified peak values.

Displays the complete time series and overlays the extracted peak events for visual verification of peak detection algorithms.

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

  • df_peaks (pd.DataFrame) – Subset containing only peak values with datetime index.

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

  • nombre (str) – Plot title.

Returns:

Displays the plot.

Return type:

None