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
Coding
Initializing search
    mhostetter/sdr
    • Examples
    • Development
    • API Reference
    • Release Notes
    • Index
    mhostetter/sdr
      • Pulse shapes
      • Peak-to-average power
      • FIR filters
      • IIR filters
      • Farrow arbitrary resampler
      • Phase-shift keying
      • Phase-locked loops
      • Installation
      • Formatting
      • Unit Tests
      • Documentation
      • Digital signal processing
        • FIR filtering
          • CFIR
            • Constructors
              • M__init__
            • Special methods
              • M__call__
              • M__len__
            • Streaming mode only
              • Mreset
              • Mflush
              • Pstreaming
              • Pstate
            • Methods
              • Mimpulse_response
              • Mstep_response
              • Mfrequency_response
              • Mgroup_delay
              • Mphase_delay
            • Properties
              • Ptaps
              • Porder
              • Pdelay
          • Fdesign_lowpass_fir
          • Fdesign_highpass_fir
          • Fdesign_bandpass_fir
          • Fdesign_bandstop_fir
        • IIR filtering
          • CIIR
            • Constructors
              • M__init__
              • MZerosPoles
            • Special methods
              • M__call__
            • Streaming mode only
              • Mreset
              • Pstreaming
              • Pstate
            • Methods
              • Mimpulse_response
              • Mstep_response
              • Mfrequency_response
            • Properties
              • Pb_taps
              • Pa_taps
              • Porder
              • Pzeros
              • Ppoles
              • Pgain
        • Polyphase FIR filtering
          • CPolyphaseFIR
            • Constructors
              • M__init__
            • Special methods
              • M__call__
            • Streaming mode only
              • Mreset
            • Properties
              • Pbranches
              • Ptaps
              • Ppolyphase_taps
              • Porder
              • Ppolyphase_order
              • Pinput
              • Poutput
              • Pinterpolation
              • Pdecimation
              • Prate
              • Pdelay
          • CInterpolator
            • Constructors
              • M__init__
            • Properties
              • Pmethod
          • CDecimator
            • Constructors
              • M__init__
            • Streaming mode only
              • Mreset
            • Properties
              • Pmethod
          • CResampler
            • Constructors
              • M__init__
            • Special methods
              • M__call__
            • Properties
              • Pmethod
          • CChannelizer
            • Constructors
              • M__init__
            • Special methods
              • M__call__
            • Properties
              • Pchannels
              • Pmethod
          • Fdesign_multirate_fir
          • Fpolyphase_decompose
        • Filter applications
          • CMovingAverager
            • Constructors
              • M__init__
          • CDifferentiator
            • Constructors
              • M__init__
          • CIntegrator
            • Constructors
              • M__init__
          • CLeakyIntegrator
            • Constructors
              • M__init__
        • Arbitrary resampling
          • CFarrowResampler
            • Constructors
              • M__init__
            • Special methods
              • M__call__
            • Streaming mode only
              • Mreset
              • Mflush
              • Pstreaming
              • Pstate
            • Properties
              • Porder
              • Ptaps
              • Pdelay
          • CFractionalDelay
            • Constructors
              • M__init__
          • Fdesign_frac_delay_fir
        • Signal manipulation
          • Fmix
          • Fto_complex_bb
          • Fto_real_pb
          • Fupsample
          • Fdownsample
      • Sequences
        • Symbol-mapping sequences
          • Fbinary_code
          • Fgray_code
        • Correlation sequences
          • Fbarker_code
          • Fhadamard_code
          • Fwalsh_code
          • Fzadoff_chu_sequence
        • Linear recurrent sequences
          • CFLFSR
            • Constructors
              • M__init__
              • MTaps
            • Special methods
              • M__call__
            • Methods
              • Mreset
              • Mstep
              • Mto_galois_lfsr
            • Properties
              • Pfield
              • Ptaps
              • Porder
            • Polynomials
              • Pfeedback_poly
              • Pcharacteristic_poly
            • State
              • Pinitial_state
              • Pstate
          • CGLFSR
            • Constructors
              • M__init__
              • MTaps
            • Methods
              • Mreset
              • Mstep
              • Mto_fibonacci_lfsr
            • Properties
              • Pfield
              • Ptaps
              • Porder
            • Polynomials
              • Pfeedback_poly
              • Pcharacteristic_poly
            • State
              • Pinitial_state
              • Pstate
          • Fberlekamp_massey
        • Maximal-length sequences
          • Fm_sequence
      • Coding
        • Interleavers
          • CInterleaver
            • Constructors
              • M__init__
            • Special methods
              • M__len__
            • Methods
              • Minterleave
              • Mdeinterleave
            • Properties
              • Pmap
              • Pinverse_map
          • CBlockInterleaver
            • Constructors
              • M__init__
        • Scramblers
          • CAdditiveScrambler
            • Constructors
              • M__init__
            • Methods
              • Mscramble
              • Mdescramble
            • Properties
              • Plfsr
      • Coding
        • Interleavers
          • CInterleaver
            • Constructors
              • M__init__
            • Special methods
              • M__len__
            • Methods
              • Minterleave
              • Mdeinterleave
            • Properties
              • Pmap
              • Pinverse_map
          • CBlockInterleaver
            • Constructors
              • M__init__
        • Scramblers
          • CAdditiveScrambler
            • Constructors
              • M__init__
            • Methods
              • Mscramble
              • Mdescramble
            • Properties
              • Plfsr
      • Modulation
        • Linear modulations
          • CLinearModulation
            • Constructors
              • M__init__
            • Methods
              • Mmap_symbols
              • Mdecide_symbols
              • Mmodulate
              • Mdemodulate
              • Mber
              • Mser
            • Properties
              • Porder
              • Pbps
              • Pphase_offset
              • Psymbol_map
              • Psps
              • Ppulse_shape
              • Ptx_filter
              • Prx_filter
          • CPSK
            • Constructors
              • M__init__
            • Methods
              • Mber
              • Mser
            • Properties
              • Pphase_offset
              • Psymbol_map
          • CPiMPSK
            • Constructors
              • M__init__
          • COQPSK
            • Constructors
              • M__init__
        • Continuous-phase modulations
          • CCPM
            • Constructors
              • M__init__
            • Methods
              • Mmodulate
              • Mdemodulate
              • Mber
              • Mser
            • Properties
              • Porder
              • Pbps
              • Pindex
              • Pphase_offset
              • Psps
              • Ppulse_shape
              • Ptx_filter
              • Prx_filter
          • CMSK
            • Constructors
              • M__init__
        • Pulse shaping
          • Frectangular
          • Fhalf_sine
          • Fgaussian
          • Fraised_cosine
          • Froot_raised_cosine
        • Symbol encoding
          • Fdiff_encode
          • Fdiff_decode
      • Detection
        • Detectors
          • CReplicaCorrelator
            • Methods
              • Mroc
              • Mp_d
              • Mp_fa
              • Mthreshold
          • CEnergyDetector
            • Methods
              • Mroc
              • Mp_d
              • Mp_fa
              • Mthreshold
        • Theoretical limits
          • Falbersheim
      • Synchronization
        • Phase-locked loops
          • CNCO
            • Constructors
              • M__init__
            • Special methods
              • M__call__
            • Methods
              • Mreset
              • Mstep
            • Properties
              • Pgain
              • Pincrement
              • Poffset
          • CLoopFilter
            • Constructors
              • M__init__
            • Special methods
              • M__call__
            • Methods
              • Mreset
            • Properties
              • Pnoise_bandwidth
              • Pdamping_factor
              • Pproportional_gain
              • Pintegral_gain
              • Piir
          • CClosedLoopPLL
            • Constructors
              • M__init__
            • Methods
              • Mphase_lock_time
              • Mfrequency_lock_time
              • Mlock_time
              • Mphase_error_variance
            • Properties
              • Psample_rate
              • PBnT
              • PBn
              • Pzeta
              • PK0
              • PKp
              • PK1
              • PK2
              • Piir
              • Pomega_n
              • Pomega_3dB
        • Phase error detectors
          • CPED
            • Constructors
              • M__init__
            • Special methods
              • M__call__
            • Methods
              • Mdata_aided_error
              • Mdecision_directed_error
            • Properties
              • Pgain
          • CMLPED
            • Constructors
              • M__init__
            • Special methods
              • M__call__
            • Methods
              • Mdata_aided_error
              • Mdecision_directed_error
            • Properties
              • Pgain
              • PA_received
              • PA_reference
        • Amplitude control loops
          • CAGC
            • Constructors
              • M__init__
            • Special methods
              • M__call__
            • Streaming mode only
              • Mreset
              • Pstreaming
              • Pgain
            • Properties
              • Pattack
              • Pdecay
              • Preference
      • Measurement
        • Energy
          • Fenergy
        • Power
          • Fpeak_power
          • Faverage_power
          • Fpapr
        • Voltage
          • Fpeak_voltage
          • Frms_voltage
          • Fcrest_factor
        • Distance
          • Feuclidean
          • Fhamming
        • Modulation
          • CErrorRate
            • Constructors
              • M__init__
            • Methods
              • Madd
              • Merrors
              • Mcounts
              • Merror_rate
              • Merror_rates
          • Fevm
      • Conversions
        • Decibels
          • Fdb
          • Flinear
        • Ratios
          • Fpercent
          • Fppm
          • Fppb
        • From E_b/N_0
          • Febn0_to_esn0
          • Febn0_to_snr
        • From E_s/N_0
          • Fesn0_to_ebn0
          • Fesn0_to_snr
        • From S/N
          • Fsnr_to_ebn0
          • Fsnr_to_esn0
      • Simulation
        • Channel models
          • CChannel
            • Constructors
              • M__init__
            • Special methods
              • M__call__
            • Methods
              • Mreset
              • Mcapacities
            • Properties
              • Pcapacity
          • CBinarySymmetricChannel
            • Constructors
              • M__init__
            • Special methods
              • M__call__
            • Methods
              • Mcapacities
            • Properties
              • PX
              • PY
              • Pp
              • Pcapacity
          • CBinaryErasureChannel
            • Constructors
              • M__init__
            • Special methods
              • M__call__
            • Methods
              • Mcapacities
            • Properties
              • PX
              • PY
              • Pp
              • Pcapacity
          • CDiscreteMemorylessChannel
            • Constructors
              • M__init__
            • Special methods
              • M__call__
            • Properties
              • PX
              • PY
              • PP
          • Fbsc
          • Fbec
          • Fdmc
        • Signal impairments
          • Fawgn
          • Fiq_imbalance
          • Fsample_rate_offset
          • Ffrequency_offset
      • Link budgets
        • Channel capacity
          • Fbsc_capacity
          • Fbec_capacity
          • Fawgn_capacity
        • Path losses
          • Ffspl
        • Antennas
          • Fwavelength
          • Fparabolic_antenna
      • Probability
        • FQ
        • FQinv
      • Data manipulation
        • Fpack
        • Funpack
        • Fhexdump
      • Plotting
        • Configuration
          • Fuse_style
        • Time-domain
          • Ftime_domain
          • Fraster
        • Spectral estimation
          • Fperiodogram
          • Fspectrogram
        • Modulation
          • Fconstellation
          • Fsymbol_map
          • Feye
          • Fphase_tree
          • Fber
          • Fser
        • Detection
          • Froc
          • Fp_d
        • Filter analysis
          • Fimpulse_response
          • Fstep_response
          • Fzeros_poles
          • Fmagnitude_response
          • Fphase_response
          • Fphase_delay
          • Fgroup_delay
          • Ffilter
      • Versioning
      • v0.0
      • Index
    • Interleavers
    • Scramblers

    Coding¶

    Interleavers¶

    class sdr.Interleaver

    Implements an arbitrary interleaver.

    class sdr.BlockInterleaver(sdr.Interleaver)

    Implements a block interleaver.

    Scramblers¶

    class sdr.AdditiveScrambler

    Implements an additive scrambler.


    Last update: Jan 28, 2024
    Back to top
    Previous sdr.m_sequence
    Next sdr.Interleaver
    © Copyright 2023, Matt Hostetter.
    Created using Sphinx 5.3.0. and Sphinx-Immaterial