comnum.fm_modulate#
- comnum.fm_modulate(m, fs, deviation_hz)#
The complex envelope of the frequency modulation of the message
m(sampled atfs) with the peak deviationdeviation_hzfor|m| = 1: the phase sums2π Δf m[n] / fs.- Parameters:
m (array_like) – the real message.
fs (float) – the sampling rate (Hz).
deviation_hz (float) – the deviation of
m = 1(Hz); 1 for a message already in hertz of deviation (the multiplex offm_multiplex()).
- Returns:
unit-amplitude samples (complex128).
- Return type:
- Raises:
ValueError – for an input that is not a 1-D array of real numbers.