- class sdr.DDS
Implements a direct digital synthesizer (DDS).
Notes¶
increment offset | | +----+ v v +--------+ x[n] -->| K0 |-->@--------------+--@-->| e^(j.) |--> y[n] +----+ ^ | +--------+ | +------+ | +---| z^-1 |---+ +------+ x[n] = Input signal (radians) y[n] = Output complex exponential K0 = NCO gain increment = Constant accumulation (radians/sample) offset = Absolute offset (radians) z^-1 = Unit delay @ = Adder
See also
Examples¶
See the Phase-locked loops example.
Constructors¶
-
DDS(K0: float =
1.0
, increment: float =0.0
, offset: float =0.0
) Creates a direct digital synthesizer (DDS).
Special methods¶
Methods¶
- reset()
Resets the DDS.
Properties¶
-
DDS(K0: float =