FREQCOR_plot.plot_hh_cosp

FREQCOR_plot.plot_hh_cosp(freq, freqn, sps, zL, cosR, cosI, ws, i, plot, outputpath, pause=3, file_tag=None)[source]

Plot an individual half-hour (co)spectrum.

Parameters:
  • freq (array-like) – Natural frequencies (Hz).

  • freqn (pandas.DataFrame) – Normalized frequencies per half-hour.

  • sps (int) – Approach selector (cospectral or spectral).

  • zL (pandas.Series) – Stability parameter time series.

  • cosR (pandas.DataFrame) – Real and ideal (co)spectral matrices.

  • cosI (pandas.DataFrame) – Real and ideal (co)spectral matrices.

  • ws (pandas.Series) – Wind speed time series.

  • i (int) – Column index of the half-hour to plot.

  • plot (list[int]) – Plot configuration.

  • outputpath (str) – Output directory.

  • pause (int, optional) – Pause duration for interactive use.

  • file_tag (str, optional) – Output filename tag (required when saving is enabled).

Return type:

None

Raises:

ValueError – If saving is enabled and file_tag is missing.