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.FarrowResampler.resample
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
                • Parameters
                  • px
                  • prate
                • Returns
                • Examples
              • 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__
            • 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
      • px
      • prate
    • Returns
    • Examples
    sdr.FarrowResampler.resample(x: ndarray, rate: float) → ndarray

    Resamples the input signal by the given arbitrary rate.

    Parameters:¶
    x: ndarray¶

    The input signal, \(x[n] = x(n T_s)\).

    rate: float¶

    The resampling rate, \(r\).

    Returns:¶

    The resampled signal, \(y[n] = x(n T_s / r)\).

    Examples¶

    See the Farrow arbitrary resampler example.

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