![]() |
The Inspector (GNU Radio module gr-inspector)
|
Extractor block to extract signal samples out of bundled message passed from Signal Separator block. More...
#include <signal_extractor_c.h>
Public Types | |
typedef boost::shared_ptr< signal_extractor_c > | sptr |
Public Member Functions | |
virtual void | set_signal (int signal)=0 |
Static Public Member Functions | |
static sptr | make (int signal, bool resample=false, float rate=1.0, float osf=1.0) |
Return a new Extractor block instance. More... | |
Extractor block to extract signal samples out of bundled message passed from Signal Separator block.
Signal Extractor block is able to extract signal samples for specified signal out of message passed by Signal Separator block. These messages contain the samples of all detected signals. This block only passes the ones beloging to the specified signal number as a complex stream. This way, custom signal chains can be appended after the inspector blocks.
If the resample option is used, the block will try to resample the input samples based on the message input from the map port to the desired output sample rate. An oversampling factor can be taken into account, if the input samples are oversampled by the signal separator.
typedef boost::shared_ptr<signal_extractor_c> gr::inspector::signal_extractor_c::sptr |
|
static |
Return a new Extractor block instance.
signal | Output Signal number (beginning with 0) for desired sample |
resample | Enable resampling of samples |
rate | Desired output sample rate if resample is enabled |
osf | Oversampling factor of the input signal (relative to map input) |
|
pure virtual |
Implemented in gr::inspector::signal_extractor_c_impl.