Last updated on Sep 04, 2024.

netsse.analys.emep.norm_DSF#

netsse.analys.emep.norm_DSF(D, theta)#

Normalizes the directional spreading function.

The function ensures that the output has a unit integral over wave directions.

Parameters:
  • D (array_like of shape (nt,nf)) – Directional spreading function.

  • theta (array_like of shape (nt,)) – Vector of wave directions.

Returns:

Dn – Normalized spreading function.

Return type:

array_like of shape (nt,nf)

Example

>>> Dn = norm_DSF(D, theta)