Signal to Noise Ratio Mask.
More...
|
bool | checkSNRMask (Frequency freq, double elevation, double SNR) const |
| Checks wether the SNR values passes the SNR mask.
|
|
void | disable () |
| Disables the SNR mask by setting all values to 0.
|
|
bool | isInactive () const |
| Checks wether all SNR values are 0.
|
|
bool | ShowGuiWidgets (const char *label=nullptr) |
| Shows a button to select the SNR Mask.
|
|
| SNRMask () |
| Default Constructor.
|
|
|
std::pair< std::array< double, elevations.size()>, bool > | allOverride |
| Values when changed override all others.
|
|
std::array< std::pair< Frequency, std::pair< std::array< double, elevations.size()>, bool > >, Frequency::GetAll().size()> | mask |
| Masks for all frequencies and SNR [dbHz] values + lock together boolean.
|
|
|
static constexpr std::array< double, 10 > | elevations |
| Elevations [rad]. Checks to smaller or equal than the value.
|
|
Signal to Noise Ratio Mask.
◆ checkSNRMask()
bool NAV::SNRMask::checkSNRMask |
( |
Frequency | freq, |
|
|
double | elevation, |
|
|
double | SNR ) const |
|
nodiscard |
Checks wether the SNR values passes the SNR mask.
- Parameters
-
[in] | freq | Frequency of the signal |
[in] | elevation | Elevation in [rad] of the satellite transmitting the signal |
[in] | SNR | Signal to Noise Ratio in [dbHz] |
- Returns
- True if the value passed the mask
◆ ShowGuiWidgets()
bool NAV::SNRMask::ShowGuiWidgets |
( |
const char * | label = nullptr | ) |
|
Shows a button to select the SNR Mask.
- Parameters
-
[in] | label | Text to display on the button. If empty, just 'SNR Mask' will be written |
◆ from_json
Converts the provided json object into a node object.
- Parameters
-
[in] | j | Json object with the needed values |
[out] | obj | Object to fill from the json |
◆ to_json
Converts the provided object into json.
- Parameters
-
[out] | j | Json object which gets filled with the info |
[in] | obj | Object to convert into json |
The documentation for this class was generated from the following file:
- /home/runner/work/INSTINCT/INSTINCT/src/Navigation/GNSS/SNRMask.hpp