Skip to content

Enjoying the library? Give us a on GitHub.

You're not viewing the latest version. Click here to go to latest.
sdr
sdr.DDS.__init__
Initializing search
    mhostetter/sdr
    • Examples
    • API Reference
    • Release Notes
    • Index
    mhostetter/sdr
      • IIR filters
      • Farrow arbitrary resampler
      • Phase-locked loops
      • sdr
        • Filtering
          • CIIR
            • Constructors
              • M__init__
              • MZerosPoles
            • Methods
              • Mfilter
              • Mfrequency_response
              • Mfrequency_response_log
              • Mimpulse_response
              • Mreset
              • Mstep_response
            • Plotting
              • Mplot_all
              • Mplot_frequency_response
              • Mplot_frequency_response_log
              • Mplot_group_delay
              • Mplot_impulse_response
              • Mplot_step_response
              • Mplot_zeros_poles
            • Properties
              • Pa_taps
              • Pb_taps
              • Pgain
              • Porder
              • Ppoles
              • Pstreaming
              • Pzeros
        • Resampling
          • CFarrowResampler
            • Constructors
              • M__init__
            • Methods
              • Mresample
              • Mreset
            • Properties
              • Porder
              • Pstreaming
              • Ptaps
        • Phase/time-locked loops
          • CClosedLoopPLL
            • Constructors
              • M__init__
            • Methods
              • Mfrequency_lock_time
              • Mlock_time
              • Mphase_error_variance
              • Mphase_lock_time
            • Properties
              • PBn
              • PBnT
              • Piir
              • PK0
              • PK1
              • PK2
              • PKp
              • Pomega_3dB
              • Pomega_n
              • Psample_rate
              • Pzeta
          • CDDS
            • Constructors
              • M__init__
                • Parameters
                  • pK0
                  • pincrement
                  • poffset
                • Examples
            • Methods
              • Mprocess
              • Mreset
              • Mstep
            • Properties
              • Pnco
          • CLoopFilter
            • Constructors
              • M__init__
            • Methods
              • Mfilter
              • Mreset
            • Properties
              • Pdamping_factor
              • Piir
              • PK1
              • PK2
              • Pnoise_bandwidth
          • CNCO
            • Constructors
              • M__init__
            • Methods
              • Mprocess
              • Mreset
              • Mstep
            • Properties
              • Pincrement
              • PK0
              • Poffset
      • Versioning
      • v0.0
      • Index
    • Parameters
      • pK0
      • pincrement
      • poffset
    • Examples
    sdr.DDS(K0: float = 1.0, increment: float = 0.0, offset: float = 0.0)

    Creates a direct digital synthesizer (DDS).

    Parameters:¶
    K0: float = 1.0¶

    The NCO gain.

    increment: float = 0.0¶

    The constant accumulation of the NCO in radians/sample.

    offset: float = 0.0¶

    The absolute offset of the NCO in radians.

    Examples¶

    See the Phase-locked loops example.

    Back to top
    Previous sdr.DDS
    Next sdr.DDS.process
    © Copyright 2023, Matt Hostetter.
    Created using Sphinx 5.3.0. and Sphinx-Immaterial