sdr
Digital signal processing
Initializing search
mhostetter/sdr
Examples
Development
API Reference
Release Notes
Index
sdr
mhostetter/sdr
Examples
Examples
Digital signal processing
Digital signal processing
FIR filters
IIR filters
Farrow arbitrary resampler
Digital signal processing
Digital signal processing
Table of contents
FIR filters
IIR filters
Farrow arbitrary resampler
Modulation
Modulation
Pulse shapes
Peak-
to-
average power
Phase-
shift keying
Detection
Detection
Coherent integration
Non-
coherent integration
Synchronization
Synchronization
Phase-
locked loops
Development
Development
Installation
Formatting
Unit Tests
Documentation
API Reference
API Reference
Digital signal processing
Digital signal processing
FIR filtering
FIR filtering
C
FIR
FIR
Constructors
Constructors
M
__
init__
Special methods
Special methods
M
__
call__
M
__
len__
Streaming mode only
Streaming mode only
M
reset
M
flush
P
streaming
P
state
Methods
Methods
M
impulse_
response
M
step_
response
M
frequency_
response
M
group_
delay
M
phase_
delay
M
noise_
bandwidth
Properties
Properties
P
taps
P
order
P
delay
F
lowpass_
fir
F
highpass_
fir
F
bandpass_
fir
F
bandstop_
fir
IIR filtering
IIR filtering
C
IIR
IIR
Constructors
Constructors
M
__
init__
M
Zeros
Poles
Special methods
Special methods
M
__
call__
Streaming mode only
Streaming mode only
M
reset
P
streaming
P
state
Methods
Methods
M
impulse_
response
M
step_
response
M
frequency_
response
M
noise_
bandwidth
Properties
Properties
P
b_
taps
P
a_
taps
P
order
P
zeros
P
poles
P
gain
Polyphase FIR filtering
Polyphase FIR filtering
C
Polyphase
FIR
Polyphase
FIR
Constructors
Constructors
M
__
init__
Special methods
Special methods
M
__
call__
Streaming mode only
Streaming mode only
M
reset
Properties
Properties
P
branches
P
taps
P
polyphase_
taps
P
order
P
polyphase_
order
P
input
P
output
P
interpolation
P
decimation
P
rate
P
delay
C
Interpolator
Interpolator
Constructors
Constructors
M
__
init__
Properties
Properties
P
method
C
Decimator
Decimator
Constructors
Constructors
M
__
init__
Streaming mode only
Streaming mode only
M
reset
Properties
Properties
P
method
C
Resampler
Resampler
Constructors
Constructors
M
__
init__
Special methods
Special methods
M
__
call__
Properties
Properties
P
method
C
Channelizer
Channelizer
Constructors
Constructors
M
__
init__
Special methods
Special methods
M
__
call__
Properties
Properties
P
channels
P
method
F
multirate_
fir
F
polyphase_
decompose
Filter applications
Filter applications
C
Moving
Averager
Moving
Averager
Constructors
Constructors
M
__
init__
C
Differentiator
Differentiator
Constructors
Constructors
M
__
init__
C
Integrator
Integrator
Constructors
Constructors
M
__
init__
C
Leaky
Integrator
Leaky
Integrator
Constructors
Constructors
M
__
init__
Arbitrary resampling
Arbitrary resampling
C
Farrow
Resampler
Farrow
Resampler
Constructors
Constructors
M
__
init__
Special methods
Special methods
M
__
call__
Streaming mode only
Streaming mode only
M
reset
M
flush
P
streaming
P
state
Properties
Properties
P
order
P
taps
P
delay
C
Fractional
Delay
Fractional
Delay
Constructors
Constructors
M
__
init__
F
fractional_
delay_
fir
Signal manipulation
Signal manipulation
F
sinusoid
F
mix
F
to_
complex_
baseband
F
to_
real_
passband
F
upsample
F
downsample
Sequences
Sequences
Symbol-
mapping sequences
Symbol-
mapping sequences
F
binary_
code
F
gray_
code
Correlation sequences
Correlation sequences
F
barker_
code
F
hadamard_
code
F
walsh_
code
F
gold_
code
F
kasami_
code
F
zadoff_
chu_
sequence
Linear recurrent sequences
Linear recurrent sequences
C
FLFSR
FLFSR
Constructors
Constructors
M
__
init__
M
Taps
Special methods
Special methods
M
__
call__
Methods
Methods
M
reset
M
step
M
to_
galois_
lfsr
Properties
Properties
P
field
P
taps
P
order
Polynomials
Polynomials
P
characteristic_
poly
P
feedback_
poly
State
State
P
initial_
state
P
state
C
GLFSR
GLFSR
Constructors
Constructors
M
__
init__
M
Taps
Methods
Methods
M
reset
M
step
M
to_
fibonacci_
lfsr
Properties
Properties
P
field
P
taps
P
order
Polynomials
Polynomials
P
characteristic_
poly
P
feedback_
poly
State
State
P
initial_
state
P
state
F
berlekamp_
massey
Maximum-
length sequences
Maximum-
length sequences
F
m_
sequence
F
preferred_
pairs
F
is_
preferred_
pair
Coding
Coding
Interleavers
Interleavers
C
Interleaver
Interleaver
Constructors
Constructors
M
__
init__
Special methods
Special methods
M
__
len__
Methods
Methods
M
interleave
M
deinterleave
Properties
Properties
P
map
P
inverse_
map
C
Block
Interleaver
Block
Interleaver
Constructors
Constructors
M
__
init__
Scramblers
Scramblers
C
Additive
Scrambler
Additive
Scrambler
Constructors
Constructors
M
__
init__
Methods
Methods
M
scramble
M
descramble
Properties
Properties
P
lfsr
Modulation
Modulation
Linear modulations
Linear modulations
C
Linear
Modulation
Linear
Modulation
Constructors
Constructors
M
__
init__
Methods
Methods
M
map_
symbols
M
decide_
symbols
M
modulate
M
demodulate
M
ber
M
ser
Properties
Properties
P
order
P
bps
P
phase_
offset
P
symbol_
map
P
sps
P
pulse_
shape
P
tx_
filter
P
rx_
filter
C
PSK
PSK
Constructors
Constructors
M
__
init__
Methods
Methods
M
ber
M
ser
Properties
Properties
P
phase_
offset
P
symbol_
map
C
Pi
MPSK
Pi
MPSK
Constructors
Constructors
M
__
init__
C
OQPSK
OQPSK
Constructors
Constructors
M
__
init__
Continuous-
phase modulations
Continuous-
phase modulations
C
CPM
CPM
Constructors
Constructors
M
__
init__
Methods
Methods
M
modulate
M
demodulate
M
ber
M
ser
Properties
Properties
P
order
P
bps
P
index
P
phase_
offset
P
sps
P
pulse_
shape
P
tx_
filter
P
rx_
filter
C
MSK
MSK
Constructors
Constructors
M
__
init__
Pulse shaping
Pulse shaping
F
rectangular
F
half_
sine
F
gaussian
F
raised_
cosine
F
root_
raised_
cosine
Symbol encoding
Symbol encoding
F
diff_
encode
F
diff_
decode
Estimation
Estimation
Signal-
to-
noise ratio
Signal-
to-
noise ratio
F
composite_
snr
Time domain
Time domain
F
toa_
crlb
F
tdoa_
crlb
Frequency domain
Frequency domain
F
foa_
crlb
F
fdoa_
crlb
Detection
Detection
Detectors
Detectors
C
Replica
Correlator
Replica
Correlator
Methods
Methods
M
roc
M
p_
d
M
p_
fa
M
threshold
C
Energy
Detector
Energy
Detector
Methods
Methods
M
roc
M
p_
d
M
p_
fa
M
threshold
Theoretical performance
Theoretical performance
F
h0
F
h1
F
p_
d
F
p_
fa
F
threshold
F
threshold_
factor
F
min_
snr
Approximated performance
Approximated performance
F
albersheim
F
peebles
F
shnidman
Coherent integration
Coherent integration
F
coherent_
gain
F
coherent_
gain_
loss
F
max_
integration_
time
F
max_
frequency_
offset
Non-
coherent integration
Non-
coherent integration
F
non_
coherent_
gain
Synchronization
Synchronization
Phase-
locked loops
Phase-
locked loops
C
NCO
NCO
Constructors
Constructors
M
__
init__
Special methods
Special methods
M
__
call__
Methods
Methods
M
reset
M
step
Properties
Properties
P
gain
P
increment
P
offset
C
Loop
Filter
Loop
Filter
Constructors
Constructors
M
__
init__
Special methods
Special methods
M
__
call__
Methods
Methods
M
reset
Properties
Properties
P
noise_
bandwidth
P
damping_
factor
P
proportional_
gain
P
integral_
gain
P
iir
C
Closed
Loop
PLL
Closed
Loop
PLL
Constructors
Constructors
M
__
init__
Methods
Methods
M
phase_
lock_
time
M
frequency_
lock_
time
M
lock_
time
M
phase_
error_
variance
Properties
Properties
P
sample_
rate
P
Bn
T
P
Bn
P
zeta
P
K0
P
Kp
P
K1
P
K2
P
iir
P
omega_
n
P
omega_
3d
B
Phase error detectors
Phase error detectors
C
PED
PED
Constructors
Constructors
M
__
init__
Special methods
Special methods
M
__
call__
Methods
Methods
M
data_
aided_
error
M
decision_
directed_
error
Properties
Properties
P
gain
C
MLPED
MLPED
Constructors
Constructors
M
__
init__
Special methods
Special methods
M
__
call__
Methods
Methods
M
data_
aided_
error
M
decision_
directed_
error
Properties
Properties
P
gain
P
A_
received
P
A_
reference
Amplitude control loops
Amplitude control loops
C
AGC
AGC
Constructors
Constructors
M
__
init__
Special methods
Special methods
M
__
call__
Streaming mode only
Streaming mode only
M
reset
P
streaming
P
gain
Properties
Properties
P
attack
P
decay
P
reference
Measurement
Measurement
Energy
Energy
F
energy
Power
Power
F
power
F
peak_
power
F
average_
power
F
papr
Voltage
Voltage
F
peak_
voltage
F
rms_
voltage
F
crest_
factor
Distance
Distance
F
euclidean
F
hamming
Modulation
Modulation
C
Error
Rate
Error
Rate
Constructors
Constructors
M
__
init__
Methods
Methods
M
add
M
errors
M
counts
M
error_
rate
M
error_
rates
F
evm
F
rms_
bandwidth
F
rms_
integration_
time
Conversions
Conversions
Decibels
Decibels
F
db
F
linear
Signal-
to-
noise ratios
Signal-
to-
noise ratios
F
ebn0_
to_
esn0
F
ebn0_
to_
snr
F
esn0_
to_
ebn0
F
esn0_
to_
snr
F
snr_
to_
ebn0
F
snr_
to_
esn0
Simulation
Simulation
Channel models
Channel models
C
Channel
Channel
Constructors
Constructors
M
__
init__
Special methods
Special methods
M
__
call__
Methods
Methods
M
reset
M
capacities
Properties
Properties
P
capacity
C
Binary
Symmetric
Channel
Binary
Symmetric
Channel
Constructors
Constructors
M
__
init__
Special methods
Special methods
M
__
call__
Methods
Methods
M
capacities
Properties
Properties
P
X
P
Y
P
p
P
capacity
C
Binary
Erasure
Channel
Binary
Erasure
Channel
Constructors
Constructors
M
__
init__
Special methods
Special methods
M
__
call__
Methods
Methods
M
capacities
Properties
Properties
P
X
P
Y
P
p
P
capacity
C
Discrete
Memoryless
Channel
Discrete
Memoryless
Channel
Constructors
Constructors
M
__
init__
Special methods
Special methods
M
__
call__
Properties
Properties
P
X
P
Y
P
P
F
bsc
F
bec
F
dmc
Signal impairments
Signal impairments
F
awgn
F
iq_
imbalance
F
sample_
rate_
offset
F
frequency_
offset
Link budgets
Link budgets
Channel capacity
Channel capacity
F
bsc_
capacity
F
bec_
capacity
F
awgn_
capacity
F
biawgn_
capacity
F
shannon_
limit_
ebn0
F
shannon_
limit_
snr
Path losses
Path losses
F
free_
space_
path_
loss
Antennas
Antennas
F
wavelength
F
parabolic_
antenna
Miscellaneous
Miscellaneous
Probability
Probability
F
Q
F
Qinv
Independent random variables
Independent random variables
F
add_
rvs
F
subtract_
rvs
F
multiply_
rvs
F
min_
rvs
F
max_
rvs
IID random variables
IID random variables
F
add_
iid_
rvs
F
min_
iid_
rvs
F
max_
iid_
rvs
Data manipulation
Data manipulation
F
pack
F
unpack
F
hexdump
Plotting
Plotting
Utility
Utility
F
use_
style
F
stem
Time-
domain
Time-
domain
F
time_
domain
F
raster
F
correlation
Frequency-
domain
Frequency-
domain
F
dft
F
dtft
Spectral estimation
Spectral estimation
F
periodogram
F
spectrogram
Modulation
Modulation
F
constellation
F
symbol_
map
F
eye
F
phase_
tree
F
ber
F
ser
F
shannon_
limit_
ebn0
Detection
Detection
F
p_
d
F
roc
F
detector_
pdfs
Filter analysis
Filter analysis
F
impulse_
response
F
step_
response
F
zeros_
poles
F
magnitude_
response
F
phase_
response
F
phase_
delay
F
group_
delay
F
filter
Release Notes
Release Notes
Versioning
v0.
0
Index
Index
Index
Digital signal processing
¶
FIR filters
IIR filters
Farrow arbitrary resampler
Back to top