comnum.nr_pdsch_dmrs#

comnum.nr_pdsch_dmrs(n_rb, *, config_type=1, type_a_position=2, additional_position=0, n_id=0, slot=0)#

The DMRS of a PDSCH of mapping type A over a slot of 14 symbols, single-symbol, port 1000 (TS 38.211, Sec. 7.4.1.1).

Parameters:
  • n_rb (int) – the resource blocks of the grid (from common resource block 0).

  • config_type (int) – 1 (one subcarrier in two) or 2 (two in six).

  • type_a_position (int) – the first DMRS symbol, 2 or 3.

  • additional_position (int) – 0 to 3: the symbols {l0}, {l0, 11}, {l0, 7, 11}, {l0, 5, 8, 11}.

  • n_id (int) – the scrambling identity.

  • slot (int) – the slot in the frame.

Returns:

symbols (the DMRS symbols), subcarriers, values (shape (len(subcarriers), len(symbols)), complex128) and indices (the (k, l) pairs of the DMRS in the (12 n_rb, 14) grid, frequency first, (n, 2)).

Return type:

dict

Raises:

ValueError – for an invalid parameter (the message names it).