Declares a class within "CObservationGasSensors" that represents a set of gas concentration readings from the modelation of a MOS gas sensor readings.
This class provides the parameters and functions to simulate the inverse model of a MOS gas sensor.
Definition at line 99 of file obs/CObservationGasSensors.h.
#include <mrpt/obs/CObservationGasSensors.h>
Classes | |
| struct | TdataMap |
| The content of each m_lastObservations in the estimation when using the option : MOS_MODEl (useMOSmodel =1) More... | |
Public Member Functions | |
| CMOSmodel () | |
| Constructor. More... | |
| ~CMOSmodel () | |
| bool | get_GasDistribution_estimation (float &reading, mrpt::system::TTimeStamp ×tamp) |
| Obtain an estimation of the gas distribution based on raw sensor readings. More... | |
Public Attributes | |
MOS-model parameters | |
| size_t | winNoise_size |
| The size of the mobile average window used to reduce noise on sensor reagings. More... | |
| int | decimate_value |
| [useMOSmodel] The decimate frecuency applied after noise filtering More... | |
| float | a_rise |
| tau = a*AMPLITUDE +b (linear relationship) More... | |
| float | b_rise |
| tau = a*AMPLITUDE +b (linear relationship) More... | |
| float | a_decay |
| tau = a*AMPLITUDE +b (linear relationship) More... | |
| float | b_decay |
| tau = a*AMPLITUDE +b (linear relationship) More... | |
| bool | save_maplog |
| If true save generated gas map as a log file. More... | |
Protected Member Functions | |
| void | inverse_MOSmodeling (const float &reading, const mrpt::system::TTimeStamp ×tamp) |
| Estimates the gas concentration based on readings and sensor model. More... | |
| void | noise_filtering (const float &reading, const mrpt::system::TTimeStamp ×tamp) |
| Reduce noise by averaging with a mobile window of specific size (winNoise_size) More... | |
| void | save_log_map (const mrpt::system::TTimeStamp ×tamp, const float &reading, const float &estimation, const float &tau) |
| Save the gas distribution estiamtion into a log file for offline representation. More... | |
Protected Attributes | |
| TdataMap | last_Obs |
| TdataMap | temporal_Obs |
| The content of each m_lastObservations in the estimation when using the option : MOS_MODEl (useMOSmodel =1) More... | |
| std::vector< TdataMap > | m_antiNoise_window |
| Vector to temporally store and averge readings to reduce noise. More... | |
| std::ofstream * | m_debug_dump |
| Ofstream to save to file option "save_maplog". More... | |
| uint16_t | decimate_count |
| Decimate value for oversampled enose readings. More... | |
| double | fixed_incT |
| To force e-nose samples to have fixed time increments. More... | |
| bool | first_incT |
| To force e-nose samples to have fixed time increments. More... | |
| float | min_reading |
| Minimum reading value till the moment, used as approximation to baeline level. More... | |
| bool | first_iteration |
| To avoid the model estimation on first iteration. More... | |
| mrpt::obs::CObservationGasSensors::CMOSmodel::CMOSmodel | ( | ) |
Constructor.
| mrpt::obs::CObservationGasSensors::CMOSmodel::~CMOSmodel | ( | ) |
| bool mrpt::obs::CObservationGasSensors::CMOSmodel::get_GasDistribution_estimation | ( | float & | reading, |
| mrpt::system::TTimeStamp & | timestamp | ||
| ) |
Obtain an estimation of the gas distribution based on raw sensor readings.
|
protected |
Estimates the gas concentration based on readings and sensor model.
|
protected |
Reduce noise by averaging with a mobile window of specific size (winNoise_size)
|
protected |
Save the gas distribution estiamtion into a log file for offline representation.
| float mrpt::obs::CObservationGasSensors::CMOSmodel::a_decay |
tau = a*AMPLITUDE +b (linear relationship)
Definition at line 116 of file obs/CObservationGasSensors.h.
| float mrpt::obs::CObservationGasSensors::CMOSmodel::a_rise |
tau = a*AMPLITUDE +b (linear relationship)
Definition at line 114 of file obs/CObservationGasSensors.h.
| float mrpt::obs::CObservationGasSensors::CMOSmodel::b_decay |
tau = a*AMPLITUDE +b (linear relationship)
Definition at line 117 of file obs/CObservationGasSensors.h.
| float mrpt::obs::CObservationGasSensors::CMOSmodel::b_rise |
tau = a*AMPLITUDE +b (linear relationship)
Definition at line 115 of file obs/CObservationGasSensors.h.
|
protected |
Decimate value for oversampled enose readings.
Definition at line 144 of file obs/CObservationGasSensors.h.
| int mrpt::obs::CObservationGasSensors::CMOSmodel::decimate_value |
[useMOSmodel] The decimate frecuency applied after noise filtering
Definition at line 112 of file obs/CObservationGasSensors.h.
|
protected |
To force e-nose samples to have fixed time increments.
Definition at line 146 of file obs/CObservationGasSensors.h.
|
protected |
To avoid the model estimation on first iteration.
Definition at line 148 of file obs/CObservationGasSensors.h.
|
protected |
To force e-nose samples to have fixed time increments.
Definition at line 145 of file obs/CObservationGasSensors.h.
|
protected |
Definition at line 141 of file obs/CObservationGasSensors.h.
|
protected |
Vector to temporally store and averge readings to reduce noise.
Definition at line 142 of file obs/CObservationGasSensors.h.
|
protected |
Ofstream to save to file option "save_maplog".
Definition at line 143 of file obs/CObservationGasSensors.h.
|
protected |
Minimum reading value till the moment, used as approximation to baeline level.
Definition at line 147 of file obs/CObservationGasSensors.h.
| bool mrpt::obs::CObservationGasSensors::CMOSmodel::save_maplog |
If true save generated gas map as a log file.
Definition at line 119 of file obs/CObservationGasSensors.h.
|
protected |
The content of each m_lastObservations in the estimation when using the option : MOS_MODEl (useMOSmodel =1)
Definition at line 141 of file obs/CObservationGasSensors.h.
| size_t mrpt::obs::CObservationGasSensors::CMOSmodel::winNoise_size |
The size of the mobile average window used to reduce noise on sensor reagings.
Definition at line 111 of file obs/CObservationGasSensors.h.
| Page generated by Doxygen 1.8.12 for MRPT 1.3.2 SVN: at Mon Oct 3 19:22:36 UTC 2016 |