- class sdr.NCO
Implements a numerically-controlled oscillator (NCO).
Notes¶
Numerically-Controlled Oscillator Block Diagram¶increment offset | | +----+ v v x[n] -->| K0 |-->@--------------+--@--> y[n] +----+ ^ | | +------+ | +---| z^-1 |---+ +------+ x[n] = Input signal (units) y[n] = Output signal (units) K0 = NCO gain increment = Constant accumulation (units/sample) offset = Absolute offset (units) z^-1 = Unit delay @ = Adder
See also
Examples¶
See the Phase-locked loops example.
Constructors¶
-
NCO(K0: float =
1.0
, increment: float =0.0
, offset: float =0.0
) Creates a numerically-controlled oscillator (NCO).
Special methods¶
Methods¶
- reset()
Resets the NCO.
Properties¶
-
NCO(K0: float =