Skip to content

Python Examples

Short code examples for each doppler Python module.

  • RateConverter — Automatic cascade (CIC / halfband / polyphase) for any rate ratio.
  • LO — Complex phasor generator with FM control and phase continuity.
  • NCO — Raw uint32 phase accumulator with overflow carry and fixed-point scaling.
  • FFT — Per-instance 1-D and 2-D FFT with plan reuse.
  • Ring Buffers — Double-mapped lock-free ring buffers for producer/consumer pipelines.
  • AGC — Closed-loop power controller with decimated loop update.
  • Corr & Detector — Cross-correlation and CFAR detection in 1-D and 2-D.
  • Detection Theory — Marcum Q closed-form curves and Monte Carlo validation.
  • 2-D Acquisition — GPS/CDMA acquisition grid with Bonferroni-corrected CFAR.