{"repo":"Sensirion/gas-index-algorithm","free":true,"listed":false,"github":"https://github.com/Sensirion/gas-index-algorithm","clone":"git clone https://github.com/Sensirion/gas-index-algorithm.git","description":"Sensirion's Gas Index Algorithm provides a VOC and NOx Index output signal calculated from the SGP40/41 raw signals","language":"C","stars":44,"topics":["sensirion","sgp","voc","nox","sgp4x","sgp41","sgp40","algorithm","gas","gas-index"],"license":"BSD-3-Clause","category":"self-hosted-apps","readme_excerpt":"Sensirion Gas Index Algorithm Sensirion's Gas Index Algorithm software provides a VOC and an NOx Index output signal calculated from the SGP40/41 raw signal inputs SRAW VOC and SRAW NOX . Note: for SGP40, only SRAW VOC is available. This algorithm enables robust detection of ambient changes of VOCs and NOx with minimal sensor-to-sensor variation. The algorithm is based on a statistical gain-offset normalization and adapts both parameters constantly applying an exponentially decaying function of the learned parameters to be able to adapt to changing environments. For the VOC Index output, the software must be instanced as VOC Algorithm while for the NOx Index output, the software must be instanced as NOx Algorithm. It is important to feed the raw signals to the corresponding algorithm (i.e., SRAW VOC to the VOC Algorithm and SRAW NOX to the NOx Algorithm) at a constant sampling interval which must coincide with the sampling interval that is used to read out the raw signals from the SGP40/41 sensor. The default sampling interval applied in the algorithm is 1 s. In case, a different sampling interval should be used the definition of the sampling interval in the h.file of the algorithm must be changed, too. The algorithm calculates the VOC and NOx Index signals recursively from a single raw tick value of SRAW VOC and SRAW NOX , respectively, which are both measured by the SGP40/41 sensor at each time step, as well as internal states that are updated at each time step. These inter","default_branch":null,"files":null,"tree":[],"storefront":"/r/Sensirion","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Sensirion/gas-index-algorithm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}