lmlib.utils.generator.k_period_to_omega#

lmlib.utils.generator.k_period_to_omega(k_period)#

Converts sample base period (samples per cycle) to the normalized frequency

Parameters

k_period (int) – number of samples per period

Returns

w – Normalized frequency, \(\omega = {2 \pi}/{k_\mathrm{period}}\)

Return type

float