qass.tools.analyzer.search_indicator
Classes:
| Name | Description |
|---|---|
SearchIndicator |
The class SearchIndicator provides a simple interface to update Search info markers in the OpenGL area. |
SearchIndicator
The class SearchIndicator provides a simple interface to update Search info markers in the OpenGL area. Each SearchIndicator instance creates its own rectangle that will be displayed.
A search info rectangle can be useful to display the progress of the analysis for the current process.
Methods:
| Name | Description |
|---|---|
__init__ |
Constructor for SearchIndicator. |
process_init |
The function process_init resets the internal state of the object. |
tick |
The function tick has to bee called in every iteration of the operator network during the phase process_run(). |
Source code in src/qass/tools/analyzer/search_indicator.py
__init__
__init__(rti: RunTimeInfo_IF, out_connector: ConnectorOut_Py_IF, duration_ns: int = 1000000.0, label: str = 'analysis', start_fband: Union[int, None] = None, end_fband: Union[int, None] = None) -> None
Constructor for SearchIndicator.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
rti
|
RunTimeInfo_IF
|
The runtime information object of the operator network. It provides information about the current analysis. |
required |
out_connector
|
ConnectorOut_Py_IF
|
The connector object of type Search Info that can handle and propagate the created SearchInfo_IF() objet. |
required |
duration_ns
|
int
|
duration of the analysis window (This is the width of the displayed rectangle). |
1000000.0
|
label
|
str
|
An arbitrary string - displayed next to the rectangle in the OpenGL area. |
'analysis'
|
start_fband
|
int
|
Optional index for the first frequency band covered by the rectangle. |
None
|
end_fband
|
int
|
Optional index for the first frequency band covered by the rectangle. |
None
|
Source code in src/qass/tools/analyzer/search_indicator.py
process_init
The function process_init resets the internal state of the object. It creates a new instance of type SearchInfo_IF fitting the new stream.
Source code in src/qass/tools/analyzer/search_indicator.py
tick
The function tick has to bee called in every iteration of the operator network during the phase process_run().