Detect the peak of a signal.
If a peak is detected, this block outputs a 1, or it outputs 0’s.
Constructor Specific Documentation:
Make a peak detector block.
Parameters: |
|
---|
Get the alpha value of the running average.
declare_sample_delay(peak_detector_fb_sptr self, unsigned int delay)
Get the look-ahead factor value.
pc_input_buffers_full_avg(peak_detector_fb_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(peak_detector_fb_sptr self) -> pmt_vector_float
Set the running average alpha.
Set the look-ahead factor.
Set the threshold factor value for the fall time.
Set the threshold factor value for the rise time.
Get the threshold factor value for the fall time.
Get the threshold factor value for the rise time.
Detect the peak of a signal.
If a peak is detected, this block outputs a 1, or it outputs 0’s.
Constructor Specific Documentation:
Make a peak detector block.
Parameters: |
|
---|
Get the alpha value of the running average.
declare_sample_delay(peak_detector_ib_sptr self, unsigned int delay)
Get the look-ahead factor value.
pc_input_buffers_full_avg(peak_detector_ib_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(peak_detector_ib_sptr self) -> pmt_vector_float
Set the running average alpha.
Set the look-ahead factor.
Set the threshold factor value for the fall time.
Set the threshold factor value for the rise time.
Get the threshold factor value for the fall time.
Get the threshold factor value for the rise time.
Detect the peak of a signal.
If a peak is detected, this block outputs a 1, or it outputs 0’s.
Constructor Specific Documentation:
Make a peak detector block.
Parameters: |
|
---|
Get the alpha value of the running average.
declare_sample_delay(peak_detector_sb_sptr self, unsigned int delay)
Get the look-ahead factor value.
pc_input_buffers_full_avg(peak_detector_sb_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(peak_detector_sb_sptr self) -> pmt_vector_float
Set the running average alpha.
Set the look-ahead factor.
Set the threshold factor value for the fall time.
Set the threshold factor value for the rise time.
Get the threshold factor value for the fall time.
Get the threshold factor value for the rise time.
Sets a burst on/off tag based on the value of the trigger input.
This block takes two inputs, a signal stream on the input stream 0 and a trigger stream of shorts on input stream 1. If the trigger stream goes above 0, a tag with the key “burst” will be transmitted as a pmt::PMT_T. When the trigger signal falls below 0, the “burst” tag will be transmitted as pmt::PMT_F.
The signal on stream 0 is retransmitted to output stream 0.
Constructor Specific Documentation:
Build a burst tagger gnuradio/blocks.
Parameters: | itemsize – itemsize of the signal stream on input 0. |
---|
declare_sample_delay(burst_tagger_sptr self, unsigned int delay)
pc_input_buffers_full_avg(burst_tagger_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(burst_tagger_sptr self) -> pmt_vector_float
For the false burst tag, change the key name to and a new value of .
For the true burst tag, change the key name to and a new value of .
Detect the peak of a signal.
If a peak is detected, this block outputs a 1, or it outputs 0’s. A separate debug output may be connected, to view the internal EWMA described below.
Constructor Specific Documentation:
Build a peak detector block with float in, byte out.
Parameters: |
|
---|
Get the alpha value of the running average.
declare_sample_delay(peak_detector2_fb_sptr self, unsigned int delay)
Get the look-ahead factor value.
pc_input_buffers_full_avg(peak_detector2_fb_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(peak_detector2_fb_sptr self) -> pmt_vector_float
Set the running average alpha.
Set the look-ahead factor.
Set the threshold factor value for the rise time.
Get the threshold factor value for the rise time.
Detects a plateau and marks the middle.
Detect a plateau of a-priori known height. Input is a stream of floats, the output is a stream of bytes. Whenever a plateau is detected, the middle of that plateau is marked with a ‘1’ on the output stream (all other samples are left at zero).
You can use this in a Schmidl & Cox synchronisation algorithm to interpret the output of the normalized correlator. Just pass the length of the cyclic prefix (in samples) as the max_len parameter).
Unlike the peak detectors, you must the now the absolute height of the plateau. Whenever the amplitude exceeds the given threshold, it starts assuming the presence of a plateau.
An implicit hysteresis is provided by the fact that after detecting one plateau, it waits at least max_len samples before the next plateau can be detected.
Constructor Specific Documentation:
Parameters: |
|
---|
declare_sample_delay(plateau_detector_fb_sptr self, unsigned int delay)
pc_input_buffers_full_avg(plateau_detector_fb_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(plateau_detector_fb_sptr self) -> pmt_vector_float