sdr_helper

Subpackages

Submodules

Package Contents

Functions

discrim(x)

function disdata = discrim(x)

mono_fm(x[, fs, file_name])

Decimate complex baseband input by 10

stereo_fm(x[, fs, file_name])

Stereo demod from complex baseband at sampling rate fs.

wide_psd(tc, f_start, f_stop[, fs, rho])

pilot_pll(xr, fq, fs, loop_type, bn, zeta)

Mark Wickert, April 2014

sccs_bit_sync(y, ns)

fsk_bep(rx_data, m, flip)

Estimate the BEP of the data bits recovered

to_wav_stereo(filename, rate, x_l[, x_r])

complex2wav(filename, rate, x)

Save a complex signal vector to a wav file for compact binary

wav2complex(filename)

Return a complex signal vector from a wav file that was used to store

sdr_helper.discrim(x)

function disdata = discrim(x) where x is an angle modulated signal in complex baseband form.

Mark Wickert

sdr_helper.mono_fm(x, fs=2400000.0, file_name='test.wav')

Decimate complex baseband input by 10 Design 1st decimation lowpass filter (f_c = 200 KHz)

sdr_helper.stereo_fm(x, fs=2400000.0, file_name='test.wav')

Stereo demod from complex baseband at sampling rate fs. Assume fs is 2400 ksps

Mark Wickert July 2017

sdr_helper.wide_psd(tc, f_start, f_stop, fs=2400000.0, rho=0.6)
sdr_helper.pilot_pll(xr, fq, fs, loop_type, bn, zeta)

Mark Wickert, April 2014

sdr_helper.sccs_bit_sync(y, ns)

Symbol synchronization algorithm using SCCS

y = baseband NRZ data waveform

Ns = nominal number of samples per symbol

Reworked from ECE 5675 Project Translated from m-code version Mark Wickert April 2014

sdr_helper.fsk_bep(rx_data, m, flip)

Estimate the BEP of the data bits recovered by the RTL-SDR Based FSK Receiver.

The reference m-sequence generated in Python was found to produce sequences running in the opposite direction relative to the m-sequences generated by the mbed. To allow error detection the reference m-sequence is flipped.

Mark Wickert April 2014

sdr_helper.to_wav_stereo(filename, rate, x_l, x_r=None)
sdr_helper.complex2wav(filename, rate, x)

Save a complex signal vector to a wav file for compact binary storage of 16-bit signal samples. The wav left and right channels are used to save real (I) and imaginary (Q) values. The rate is just a convent way of documenting the original signal sample rate.

complex2wav(filename,rate,x)

Mark Wickert April 2014

sdr_helper.wav2complex(filename)

Return a complex signal vector from a wav file that was used to store the real (I) and imaginary (Q) values of a complex signal ndarray. The rate is included as means of recalling the original signal sample rate.

fs,x = wav2complex(filename)

Mark Wickert April 2014