This class has advanced options controlling the device stability including the bandwidth index and the stability factor.
More...
#include <AisCompRange.h>
#include <AisCompRange.h>
|
| AisCompRange (const QString &compRangeName, uint8_t bandwidthIndex, uint8_t stabilityFactor) |
| constructor for the compensation-range object.
|
|
| AisCompRange (const AisCompRange &) |
| copy constructor for the compensation-range object.
|
|
uint8_t | getBandwidthIndex () const |
| get the value set for the bandwidth index.
|
|
void | setBandwidthIndex (uint8_t index) |
| set the index value for the bandwidth.
|
|
uint8_t | getStabilityFactor () const |
| get the value set for the stability factor.
|
|
void | setStabilityFactor (uint8_t factor) |
| set a value for the stability factor.
|
|
void | setCompRangeName (const QString &compRangeName) |
| set a name for the compensation range for reference purposes.
|
|
const QString & | getCompRangeName () const |
| get the name set for the compensation range.
|
|
◆ AisCompRange()
AisCompRange::AisCompRange |
( |
const QString & | compRangeName, |
|
|
uint8_t | bandwidthIndex, |
|
|
uint8_t | stabilityFactor ) |
|
explicit |
- Parameters
-
compRangeName | a name to set for the compensation range for reference purposes. |
bandwidthIndex | the index value for the bandwidth. |
stabilityFactor | the factor value for the stability. |
- See also
- setBandwidthIndex
-
setStabilityFactor
◆ getBandwidthIndex()
uint8_t AisCompRange::getBandwidthIndex |
( |
| ) |
const |
◆ getCompRangeName()
const QString & AisCompRange::getCompRangeName |
( |
| ) |
const |
- Returns
- the name set for the compensation range.
◆ getStabilityFactor()
uint8_t AisCompRange::getStabilityFactor |
( |
| ) |
const |
- Returns
- the value set for the stability factor.
◆ setBandwidthIndex()
void AisCompRange::setBandwidthIndex |
( |
uint8_t | index | ) |
|
Usually, the device's default index value is optimal for running experiments. You may still increase the index within the range 0-10 as you run higher frequency experiments to see what best fits.
- Parameters
-
index | the index value for the bandwidth (0-10). |
◆ setCompRangeName()
void AisCompRange::setCompRangeName |
( |
const QString & | compRangeName | ) |
|
- Parameters
-
compRangeName | the name to set for the compensation range. |
◆ setStabilityFactor()
void AisCompRange::setStabilityFactor |
( |
uint8_t | factor | ) |
|
Usually, the device's default factor value is optimal for running experiments. You may still increase the factor within the range 0-10 as you run experiments with more oscillations to see what best fits.
- Parameters
-
factor | the stability-factor value (0-10) |
The documentation for this class was generated from the following file: