source of unsigned char’s that gets its data from a vector
Constructor Specific Documentation:
Make vector insert block.
Parameters: |
|
---|
declare_sample_delay(vector_insert_b_sptr self, unsigned int delay)
pc_input_buffers_full_avg(vector_insert_b_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(vector_insert_b_sptr self) -> pmt_vector_float
source of gr_complex’s that gets its data from a vector
Constructor Specific Documentation:
Make vector insert block.
Parameters: |
|
---|
declare_sample_delay(vector_insert_c_sptr self, unsigned int delay)
pc_input_buffers_full_avg(vector_insert_c_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(vector_insert_c_sptr self) -> pmt_vector_float
source of float’s that gets its data from a vector
Constructor Specific Documentation:
Make vector insert block.
Parameters: |
|
---|
declare_sample_delay(vector_insert_f_sptr self, unsigned int delay)
pc_input_buffers_full_avg(vector_insert_f_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(vector_insert_f_sptr self) -> pmt_vector_float
source of int’s that gets its data from a vector
Constructor Specific Documentation:
Make vector insert block.
Parameters: |
|
---|
declare_sample_delay(vector_insert_i_sptr self, unsigned int delay)
pc_input_buffers_full_avg(vector_insert_i_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(vector_insert_i_sptr self) -> pmt_vector_float
source of short’s that gets its data from a vector
Constructor Specific Documentation:
Make vector insert block.
Parameters: |
|
---|
declare_sample_delay(vector_insert_s_sptr self, unsigned int delay)
pc_input_buffers_full_avg(vector_insert_s_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(vector_insert_s_sptr self) -> pmt_vector_float
deinterleave an input block of samples into N outputs.
This block deinterleaves blocks of samples. For each output connection, the input stream will be deinterleaved successively to the output connections. By default, the block deinterleaves a single input to each output unless blocksize is given in the constructor.
Constructor Specific Documentation:
Make a deinterleave block.
Parameters: |
|
---|
declare_sample_delay(deinterleave_sptr self, unsigned int delay)
pc_input_buffers_full_avg(deinterleave_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(deinterleave_sptr self) -> pmt_vector_float
Convert stream of items into thier byte swapped version.
Constructor Specific Documentation:
Make an endian swap block.
Parameters: | item_size_bytes – number of bytes per item, 1=no-op, 2=uint16_t, 4=uint32_t, 8=uint64_t |
---|
declare_sample_delay(endian_swap_sptr self, unsigned int delay)
pc_input_buffers_full_avg(endian_swap_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(endian_swap_sptr self) -> pmt_vector_float
interleave N inputs into a single output
This block interleaves blocks of samples. For each input connection, the samples are interleaved successively to the output connection. By default, the block interleaves a single sample from eahc input to the output unless blocksize is given in the constructor.
Constructor Specific Documentation:
Make a stream interleave block.
Parameters: |
|
---|
declare_sample_delay(interleave_sptr self, unsigned int delay)
pc_input_buffers_full_avg(interleave_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(interleave_sptr self) -> pmt_vector_float
decimate a stream, keeping items out of every .
Constructor Specific Documentation:
Make a keep m in n block.
Parameters: |
|
---|
declare_sample_delay(keep_m_in_n_sptr self, unsigned int delay)
pc_input_buffers_full_avg(keep_m_in_n_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(keep_m_in_n_sptr self) -> pmt_vector_float
decimate a stream, keeping one item out of every .
Constructor Specific Documentation:
Make a keep one in n block.
Parameters: |
|
---|
declare_sample_delay(keep_one_in_n_sptr self, unsigned int delay)
pc_input_buffers_full_avg(keep_one_in_n_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(keep_one_in_n_sptr self) -> pmt_vector_float
Interleave items based on the provided vector .
Constructor Specific Documentation:
Make a patterned interleaver block.
Parameters: |
|
---|
declare_sample_delay(patterned_interleaver_sptr self, unsigned int delay)
pc_input_buffers_full_avg(patterned_interleaver_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(patterned_interleaver_sptr self) -> pmt_vector_float
Detect the peak of a signal and repeat every period samples.
If a peak is detected, this block outputs a 1 repeated every period samples until reset by detection of another 1 on the input or stopped after max_regen regenerations have occurred.
Note that if max_regen=(-1)/ULONG_MAX then the regeneration will run forever.
Constructor Specific Documentation:
Make a regenerate block.
Parameters: |
|
---|
declare_sample_delay(regenerate_bb_sptr self, unsigned int delay)
return the maximum regeneration count.
pc_input_buffers_full_avg(regenerate_bb_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(regenerate_bb_sptr self) -> pmt_vector_float
return the regeneration period.
Reset the maximum regeneration count; this will reset the current regen.
Reset the period of regenerations; this will reset the current regen.
repeat each input times
Constructor Specific Documentation:
Make a repeat block.
Parameters: |
|
---|
declare_sample_delay(repeat_sptr self, unsigned int delay)
pc_input_buffers_full_avg(repeat_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(repeat_sptr self) -> pmt_vector_float
Stream muxing block to multiplex many streams into one with a specified format.
Muxes N streams together producing an output stream that contains N0 items from the first stream, N1 items from the second, etc. and repeats:
[N0, N1, N2, ..., Nm, N0, N1, ...]
Constructor Specific Documentation:
Creates a stream muxing block to multiplex many streams into one with a specified format.
Parameters: |
|
---|
declare_sample_delay(stream_mux_sptr self, unsigned int delay)
pc_input_buffers_full_avg(stream_mux_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(stream_mux_sptr self) -> pmt_vector_float
convert a stream of items into a N streams of items
Converts a stream of N items into N streams of 1 item. Repeat ad infinitum.
Constructor Specific Documentation:
Make a stream-to-streams block.
Parameters: |
|
---|
declare_sample_delay(stream_to_streams_sptr self, unsigned int delay)
pc_input_buffers_full_avg(stream_to_streams_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(stream_to_streams_sptr self) -> pmt_vector_float
convert a stream of items into a stream of gnuradio/blocks containing nitems_per_block
Constructor Specific Documentation:
Make a stream-to-vector block.
Parameters: |
|
---|
declare_sample_delay(stream_to_vector_sptr self, unsigned int delay)
pc_input_buffers_full_avg(stream_to_vector_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(stream_to_vector_sptr self) -> pmt_vector_float
Convert N streams of 1 item into a 1 stream of N items.
Convert N streams of 1 item into 1 stream of N items. Repeat ad infinitum.
Constructor Specific Documentation:
Make a streams-to-stream block.
Parameters: |
|
---|
declare_sample_delay(streams_to_stream_sptr self, unsigned int delay)
pc_input_buffers_full_avg(streams_to_stream_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(streams_to_stream_sptr self) -> pmt_vector_float
convert N streams of items to 1 stream of vector length N
Constructor Specific Documentation:
Make a stream-to-vector block.
Parameters: |
|
---|
declare_sample_delay(streams_to_vector_sptr self, unsigned int delay)
pc_input_buffers_full_avg(streams_to_vector_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(streams_to_vector_sptr self) -> pmt_vector_float
adjust y-range of an input vector by mapping to range (max-of-input, stipulated-min). Primarily for spectral signature matching by normalizing spectrum dynamic ranges.
Constructor Specific Documentation:
Make a stretch block.
Parameters: |
|
---|
declare_sample_delay(stretch_ff_sptr self, unsigned int delay)
pc_input_buffers_full_avg(stretch_ff_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(stretch_ff_sptr self) -> pmt_vector_float
Combines tagged streams.
Takes N streams as input. Each stream is tagged with packet lengths. Packets are output sequentially from each input stream.
The output signal has a new length tag, which is the sum of all individual length tags. The old length tags are discarded.
All other tags are propagated as expected, i.e. they stay associated with the same input item. There are cases when this behaviour is undesirable. One special case is when a tag at the first element (the head item) of one input port must stay on the head item of the output port. To achieve this, set to the port that will receive these special tags.
Constructor Specific Documentation:
Make a tagged stream mux block.
Parameters: |
|
---|
declare_sample_delay(tagged_stream_mux_sptr self, unsigned int delay)
pc_input_buffers_full_avg(tagged_stream_mux_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(tagged_stream_mux_sptr self) -> pmt_vector_float
Maps elements from a set of input vectors to a set of output vectors.
If in[i] is the input vector in the i’th stream then the output vector in the j’th stream is:
out[j][k] = in[mapping[j][k][0]][mapping[j][k][1]]
That is mapping is of the form (out_stream1_mapping, out_stream2_mapping, ...) and out_stream1_mapping is of the form (element1_mapping, element2_mapping, ...) and element1_mapping is of the form (in_stream, in_element).
Constructor Specific Documentation:
Build a vector map block.
Parameters: |
|
---|
declare_sample_delay(vector_map_sptr self, unsigned int delay)
pc_input_buffers_full_avg(vector_map_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(vector_map_sptr self) -> pmt_vector_float
convert a stream of gnuradio/blocks of nitems_per_block items into a stream of items
Constructor Specific Documentation:
Make vector-to-stream block
Parameters: |
|
---|
declare_sample_delay(vector_to_stream_sptr self, unsigned int delay)
pc_input_buffers_full_avg(vector_to_stream_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(vector_to_stream_sptr self) -> pmt_vector_float
Convert 1 stream of vectors of length N to N streams of items.
Constructor Specific Documentation:
Make vector-to-streams block
Parameters: |
|
---|
declare_sample_delay(vector_to_streams_sptr self, unsigned int delay)
pc_input_buffers_full_avg(vector_to_streams_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(vector_to_streams_sptr self) -> pmt_vector_float