comnum.nr_numerology#
- comnum.nr_numerology(mu, *, extended_cp=False, n_fft=2048)#
The numerology
muof NR (the subcarrier spacing2^mu · 15kHz;mu = 0is also the numerology of LTE).- Parameters:
- Returns:
subcarrier_spacing_hz,slots_per_subframe,slots_per_frame,symbols_per_slot,sample_rate(Hz),cp_lengths(samples, the symbols of one subframe).- Return type:
- Raises:
ValueError – for an invalid parameter (the message names it).
Examples
>>> import comnum >>> info = comnum.nr_numerology(0, n_fft=2048) # LTE: 30.72 MS/s >>> info["sample_rate"], info["cp_lengths"][:2].tolist() (30720000.0, [160, 144])