torchsig.signals.builders.ofdm.ofdm_modulator_baseband

torchsig.signals.builders.ofdm.ofdm_modulator_baseband(class_name: str, max_num_samples: int, oversampling_rate_nominal: int, rng=Generator(PCG64) at 0x7694C485F920) ndarray[source]

Modulates OFDM signal at baseband

Parameters:
  • class_name (str) – Name of the signal to modulate, ex: ‘ofdm-1024’.

  • max_num_samples (int) – Maximum number of samples to be produced. The length of the output signal must be less than or equal to this number.

  • oversampling_rate_nominal (int) – The amount of oversampling, which is equal to the ratio of the ratio of the sampling rate and bandwidth.

  • rng (optional) – Seedable random number generator for reproducibility.

Returns:

OFDM modulated signal

Return type:

np.ndarray