netsse.analys.emep.norm_DSF =========================== .. py:function:: 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. :param D: Directional spreading function. :type D: array_like of shape (nt,nf) :param theta: Vector of wave directions. :type theta: array_like of shape (nt,) :returns: **Dn** -- Normalized spreading function. :rtype: array_like of shape (nt,nf) .. rubric:: Example >>> Dn = norm_DSF(D, theta)