comnum.ChannelTaps#

class comnum.ChannelTaps#

The taps of one realisation of a TdlChannel or a CdlChannel: one tap per delay, with its coefficients at every sample on every link.

coefficients()#

The coefficients of every tap.

Returns:

(n_taps, n_samples, n_rx, n_tx) (complex128): coefficients[l, n, r, t] is tap l at sample n between transmit antenna t and receive antenna r.

Return type:

numpy.ndarray

Raises:

ValueError – for an input that is not an array of numbers of the expected shape.

frequency_response(n, bins, fft_len)#

The frequency response at one sample on the bins of an FFT.

Parameters:
  • n (int) – the sample.

  • bins (array_like) – the FFT bins (as Ofdm.bins).

  • fft_len (int) – the size of the transform.

Returns:

(len(bins), n_rx, n_tx) (complex128), a channel matrix per bin.

Return type:

numpy.ndarray

Raises:

ValueError – for an input that is not an array of numbers of the expected shape.

delays#

Delays of the taps (samples, int64).

Type:

numpy.ndarray

n_samples#

Number of samples of the realisation.

Type:

int