environmentaltools.graphics.dimensionless_fits

environmentaltools.graphics.dimensionless_fits(event, df, ajuste, fun, ejes)[source]

Plot dimensionless scatter plots for wave parameters.

Generates scatter plots for fitting Hs and Tp, limiting values according to fully developed sea conditions using dimensionless wave parameters.

Parameters:
  • event (list) – List of values exceeding each threshold (length equals number of thresholds).

  • df (pd.DataFrame) – DataFrame with all time series including ‘hs’, ‘tp’, ‘vv’.

  • ajuste (dict) – Dictionary with fit values (x, upper_ci, mean, lower_ci) for each threshold. Keys include: - ‘x’+variable+function: x-values for the fit - ‘y’+variable+function: mean fit values - ‘ysup’+variable+function: upper confidence interval - ‘yinf’+variable+function: lower confidence interval - ‘hs_aux’, ‘t_aux’: Auxiliary curve for fully developed conditions

  • fun – Function identifier used for fitting.

  • ejes (list) – Axis labels [x-label, y-label-tp, y-label-vv].

Returns:

Displays the plots.

Return type:

None

Note

Uses dimensionless parameters: Hs*g/(1.1*Vv²) and Tp*g/(1.1*Vv). The plot includes the theoretical curve for fully developed sea.