gnuradio.analog: Modulators and Demodulators

gnuradio.analog.cpfsk_bc(float k, float ampl, int samples_per_sym) → cpfsk_bc_sptr

Perform continuous phase 2-level frequency shift keying modulation on an input stream of unpacked bits.

Constructor Specific Documentation:

Make a CPFSK block.

Parameters:
  • k – modulation index
  • ampl – output amplitude
  • samples_per_sym – number of output samples per input bit
cpfsk_bc_sptr.active_thread_priority(cpfsk_bc_sptr self) → int
cpfsk_bc_sptr.amplitude(cpfsk_bc_sptr self) → float
cpfsk_bc_sptr.declare_sample_delay(cpfsk_bc_sptr self, int which, int delay)

declare_sample_delay(cpfsk_bc_sptr self, unsigned int delay)

cpfsk_bc_sptr.freq(cpfsk_bc_sptr self) → float
cpfsk_bc_sptr.message_subscribers(cpfsk_bc_sptr self, swig_int_ptr which_port) → swig_int_ptr
cpfsk_bc_sptr.min_noutput_items(cpfsk_bc_sptr self) → int
cpfsk_bc_sptr.pc_input_buffers_full_avg(cpfsk_bc_sptr self, int which) → float

pc_input_buffers_full_avg(cpfsk_bc_sptr self) -> pmt_vector_float

cpfsk_bc_sptr.pc_noutput_items_avg(cpfsk_bc_sptr self) → float
cpfsk_bc_sptr.pc_nproduced_avg(cpfsk_bc_sptr self) → float
cpfsk_bc_sptr.pc_output_buffers_full_avg(cpfsk_bc_sptr self, int which) → float

pc_output_buffers_full_avg(cpfsk_bc_sptr self) -> pmt_vector_float

cpfsk_bc_sptr.pc_work_time_avg(cpfsk_bc_sptr self) → float
cpfsk_bc_sptr.pc_work_time_total(cpfsk_bc_sptr self) → float
cpfsk_bc_sptr.phase(cpfsk_bc_sptr self) → float
cpfsk_bc_sptr.sample_delay(cpfsk_bc_sptr self, int which) → unsigned int
cpfsk_bc_sptr.set_amplitude(cpfsk_bc_sptr self, float amplitude)
cpfsk_bc_sptr.set_min_noutput_items(cpfsk_bc_sptr self, int m)
cpfsk_bc_sptr.set_thread_priority(cpfsk_bc_sptr self, int priority) → int
cpfsk_bc_sptr.thread_priority(cpfsk_bc_sptr self) → int
gnuradio.analog.fmdet_cf(float samplerate, float freq_low, float freq_high, float scl) → fmdet_cf_sptr

Implements an IQ slope detector.

input: stream of complex; output: stream of floats

This implements a limiting slope detector. The limiter is in the normalization by the magnitude of the sample

Constructor Specific Documentation:

Make FM detector block.

Parameters:
  • samplerate – sample rate of signal (is not used; to be removed)
  • freq_low – lowest frequency of signal (Hz)
  • freq_high – highest frequency of signal (Hz)
  • scl – scale factor
fmdet_cf_sptr.active_thread_priority(fmdet_cf_sptr self) → int
fmdet_cf_sptr.bias(fmdet_cf_sptr self) → float
fmdet_cf_sptr.declare_sample_delay(fmdet_cf_sptr self, int which, int delay)

declare_sample_delay(fmdet_cf_sptr self, unsigned int delay)

fmdet_cf_sptr.freq(fmdet_cf_sptr self) → float
fmdet_cf_sptr.freq_high(fmdet_cf_sptr self) → float
fmdet_cf_sptr.freq_low(fmdet_cf_sptr self) → float
fmdet_cf_sptr.message_subscribers(fmdet_cf_sptr self, swig_int_ptr which_port) → swig_int_ptr
fmdet_cf_sptr.min_noutput_items(fmdet_cf_sptr self) → int
fmdet_cf_sptr.pc_input_buffers_full_avg(fmdet_cf_sptr self, int which) → float

pc_input_buffers_full_avg(fmdet_cf_sptr self) -> pmt_vector_float

fmdet_cf_sptr.pc_noutput_items_avg(fmdet_cf_sptr self) → float
fmdet_cf_sptr.pc_nproduced_avg(fmdet_cf_sptr self) → float
fmdet_cf_sptr.pc_output_buffers_full_avg(fmdet_cf_sptr self, int which) → float

pc_output_buffers_full_avg(fmdet_cf_sptr self) -> pmt_vector_float

fmdet_cf_sptr.pc_work_time_avg(fmdet_cf_sptr self) → float
fmdet_cf_sptr.pc_work_time_total(fmdet_cf_sptr self) → float
fmdet_cf_sptr.sample_delay(fmdet_cf_sptr self, int which) → unsigned int
fmdet_cf_sptr.scale(fmdet_cf_sptr self) → float
fmdet_cf_sptr.set_freq_range(fmdet_cf_sptr self, float freq_low, float freq_high)
fmdet_cf_sptr.set_min_noutput_items(fmdet_cf_sptr self, int m)
fmdet_cf_sptr.set_scale(fmdet_cf_sptr self, float scl)
fmdet_cf_sptr.set_thread_priority(fmdet_cf_sptr self, int priority) → int
fmdet_cf_sptr.thread_priority(fmdet_cf_sptr self) → int
gnuradio.analog.frequency_modulator_fc(double sensitivity) → frequency_modulator_fc_sptr

Frequency modulator block.

float input; complex baseband output

Constructor Specific Documentation:

Build a frequency modulator block.

Parameters:sensitivity – radians/sample = amplitude * sensitivity
frequency_modulator_fc_sptr.active_thread_priority(frequency_modulator_fc_sptr self) → int
frequency_modulator_fc_sptr.declare_sample_delay(frequency_modulator_fc_sptr self, int which, int delay)

declare_sample_delay(frequency_modulator_fc_sptr self, unsigned int delay)

frequency_modulator_fc_sptr.message_subscribers(frequency_modulator_fc_sptr self, swig_int_ptr which_port) → swig_int_ptr
frequency_modulator_fc_sptr.min_noutput_items(frequency_modulator_fc_sptr self) → int
frequency_modulator_fc_sptr.pc_input_buffers_full_avg(frequency_modulator_fc_sptr self, int which) → float

pc_input_buffers_full_avg(frequency_modulator_fc_sptr self) -> pmt_vector_float

frequency_modulator_fc_sptr.pc_noutput_items_avg(frequency_modulator_fc_sptr self) → float
frequency_modulator_fc_sptr.pc_nproduced_avg(frequency_modulator_fc_sptr self) → float
frequency_modulator_fc_sptr.pc_output_buffers_full_avg(frequency_modulator_fc_sptr self, int which) → float

pc_output_buffers_full_avg(frequency_modulator_fc_sptr self) -> pmt_vector_float

frequency_modulator_fc_sptr.pc_work_time_avg(frequency_modulator_fc_sptr self) → float
frequency_modulator_fc_sptr.pc_work_time_total(frequency_modulator_fc_sptr self) → float
frequency_modulator_fc_sptr.sample_delay(frequency_modulator_fc_sptr self, int which) → unsigned int
frequency_modulator_fc_sptr.sensitivity(frequency_modulator_fc_sptr self) → float
frequency_modulator_fc_sptr.set_min_noutput_items(frequency_modulator_fc_sptr self, int m)
frequency_modulator_fc_sptr.set_sensitivity(frequency_modulator_fc_sptr self, float sens)
frequency_modulator_fc_sptr.set_thread_priority(frequency_modulator_fc_sptr self, int priority) → int
frequency_modulator_fc_sptr.thread_priority(frequency_modulator_fc_sptr self) → int
gnuradio.analog.phase_modulator_fc(double sensitivity) → phase_modulator_fc_sptr

Phase modulator block.

output = complex(cos(in*sensitivity), sin(in*sensitivity))

Input stream 0: floats Ouput stream 0: complex

Constructor Specific Documentation:

Parameters:sensitivity
phase_modulator_fc_sptr.active_thread_priority(phase_modulator_fc_sptr self) → int
phase_modulator_fc_sptr.declare_sample_delay(phase_modulator_fc_sptr self, int which, int delay)

declare_sample_delay(phase_modulator_fc_sptr self, unsigned int delay)

phase_modulator_fc_sptr.message_subscribers(phase_modulator_fc_sptr self, swig_int_ptr which_port) → swig_int_ptr
phase_modulator_fc_sptr.min_noutput_items(phase_modulator_fc_sptr self) → int
phase_modulator_fc_sptr.pc_input_buffers_full_avg(phase_modulator_fc_sptr self, int which) → float

pc_input_buffers_full_avg(phase_modulator_fc_sptr self) -> pmt_vector_float

phase_modulator_fc_sptr.pc_noutput_items_avg(phase_modulator_fc_sptr self) → float
phase_modulator_fc_sptr.pc_nproduced_avg(phase_modulator_fc_sptr self) → float
phase_modulator_fc_sptr.pc_output_buffers_full_avg(phase_modulator_fc_sptr self, int which) → float

pc_output_buffers_full_avg(phase_modulator_fc_sptr self) -> pmt_vector_float

phase_modulator_fc_sptr.pc_work_time_avg(phase_modulator_fc_sptr self) → float
phase_modulator_fc_sptr.pc_work_time_total(phase_modulator_fc_sptr self) → float
phase_modulator_fc_sptr.phase(phase_modulator_fc_sptr self) → double
phase_modulator_fc_sptr.sample_delay(phase_modulator_fc_sptr self, int which) → unsigned int
phase_modulator_fc_sptr.sensitivity(phase_modulator_fc_sptr self) → double
phase_modulator_fc_sptr.set_min_noutput_items(phase_modulator_fc_sptr self, int m)
phase_modulator_fc_sptr.set_phase(phase_modulator_fc_sptr self, double p)
phase_modulator_fc_sptr.set_sensitivity(phase_modulator_fc_sptr self, double s)
phase_modulator_fc_sptr.set_thread_priority(phase_modulator_fc_sptr self, int priority) → int
phase_modulator_fc_sptr.thread_priority(phase_modulator_fc_sptr self) → int
gnuradio.analog.quadrature_demod_cf(float gain) → quadrature_demod_cf_sptr

quadrature demodulator: complex in, float out

This can be used to demod FM, FSK, GMSK, etc. The input is complex baseband.

Constructor Specific Documentation:

Parameters:gain
quadrature_demod_cf_sptr.active_thread_priority(quadrature_demod_cf_sptr self) → int
quadrature_demod_cf_sptr.declare_sample_delay(quadrature_demod_cf_sptr self, int which, int delay)

declare_sample_delay(quadrature_demod_cf_sptr self, unsigned int delay)

quadrature_demod_cf_sptr.gain(quadrature_demod_cf_sptr self) → float
quadrature_demod_cf_sptr.message_subscribers(quadrature_demod_cf_sptr self, swig_int_ptr which_port) → swig_int_ptr
quadrature_demod_cf_sptr.min_noutput_items(quadrature_demod_cf_sptr self) → int
quadrature_demod_cf_sptr.pc_input_buffers_full_avg(quadrature_demod_cf_sptr self, int which) → float

pc_input_buffers_full_avg(quadrature_demod_cf_sptr self) -> pmt_vector_float

quadrature_demod_cf_sptr.pc_noutput_items_avg(quadrature_demod_cf_sptr self) → float
quadrature_demod_cf_sptr.pc_nproduced_avg(quadrature_demod_cf_sptr self) → float
quadrature_demod_cf_sptr.pc_output_buffers_full_avg(quadrature_demod_cf_sptr self, int which) → float

pc_output_buffers_full_avg(quadrature_demod_cf_sptr self) -> pmt_vector_float

quadrature_demod_cf_sptr.pc_work_time_avg(quadrature_demod_cf_sptr self) → float
quadrature_demod_cf_sptr.pc_work_time_total(quadrature_demod_cf_sptr self) → float
quadrature_demod_cf_sptr.sample_delay(quadrature_demod_cf_sptr self, int which) → unsigned int
quadrature_demod_cf_sptr.set_gain(quadrature_demod_cf_sptr self, float gain)
quadrature_demod_cf_sptr.set_min_noutput_items(quadrature_demod_cf_sptr self, int m)
quadrature_demod_cf_sptr.set_thread_priority(quadrature_demod_cf_sptr self, int priority) → int
quadrature_demod_cf_sptr.thread_priority(quadrature_demod_cf_sptr self) → int

Previous topic

gnuradio.analog: Synchronizers

Next topic

gnuradio.filter: Channelizers

This Page