Top-level hierarchical block representing a flow-graph.
This is a python wrapper around the C++ implementation to allow python subclassing.
The abstract base class for all ‘terminal’ processing blocks.
A signal processing flow is constructed by creating a tree of hierarchical blocks, which at any level may also contain terminal nodes that actually implement signal processing functions. This is the base class for all such leaf nodes.
Blocks have a set of input streams and output streams. The input_signature and output_signature define the number of input streams and output streams respectively, and the type of the data items in each stream.
Although blocks may consume data on each input stream at a different rate, all outputs streams must produce data at the same rate. That rate may be different from any of the input rates.
User derived blocks override two methods, forecast and general_work, to implement their signal processing behavior. forecast is called by the system scheduler to determine how many items are required on each input stream in order to produce a given number of output items.
general_work is called to perform the signal processing in the block. It reads the input items and writes the output items.
synchronous N:1 input to output with history
Override work to provide the signal processing implementation.
synchronous 1:N input to output with history
Override work to provide the signal processing implementation.
Block that operates on PDUs in form of tagged streams
Override work to provide the signal processing implementation.
Subclass this to create a python hierarchical block.
This is a python wrapper around the C++ hierarchical block implementation. Provides convenience functions and allows proper Python subclassing.
Get the current time in ticks.
Get the current time in ticks - for performance monitoring.
Get the tick count at the epoch.
Get the number of ticks per second.
alias of make
alias of make2
alias of make3
alias of makev
return SYSCONFDIR. Typically ${CMAKE_INSTALL_PREFIX}/etc or /etc
return preferences file directory. Typically ${SYSCONFDIR}/etc/conf.d
return SYSCONFDIR. Typically ${CMAKE_INSTALL_PREFIX}/etc or /etc
return version string defined by cmake (GrVersion.cmake)
return just the major version defined by cmake
return just the api version defined by cmake
returnjust the minor version defined by cmake
alias of singleton
Proxy of C++ gr::logger class
Proxy of C++ gr::tag_t class
Convert a tag_t_offset_compare function into a key=function This method is modeled after functools.cmp_to_key(_func_). It can be used by functions that accept a key function, such as sorted(), min(), max(), etc. to compare tags by their offsets, e.g., sorted(tag_list, key=gr.tag_t_offset_compare_key()).
Convert a Python-readable object to a stream tag
Convert a stream tag to a Python-readable object
alias of gnuradio.gr.tag_utils
branchless_quad_0deg_slicer(gr_complex x) -> unsigned int
quad_0deg_slicer(gr_complex x) -> unsigned int
branchless_quad_45deg_slicer(gr_complex x) -> unsigned int
quad_45deg_slicer(gr_complex x) -> unsigned int
Proxy of C++ gr::py_feval class
Proxy of C++ gr::py_feval_cc class
Proxy of C++ gr::py_feval_dd class
Proxy of C++ gr::py_feval_ll class
Proxy of C++ gr::py_feval_p class
alias of gnuradio.gr.gateway