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