torchsig.signals.builders.lfm.lfm_modulator_baseband¶
- torchsig.signals.builders.lfm.lfm_modulator_baseband(class_name: str, max_num_samples: int, oversampling_rate_nominal: int, rng=Generator(PCG64) at 0x7694C485EF80) ndarray[source]¶
LFM modulator at baseband.
- Parameters:
class_name (str) – Name of the signal to modulate, ex: ‘lfm_data’
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:
LFM modulated signal.
- Return type:
np.ndarray