AMBIsense: Difference between revisions

From ASAsense Documentation (staging)
Nieuwe pagina aangemaakt met '== Data formats == Within the AMBIsense solution, measurements of the 1/3 octaveband spectrum are performed. The results of these measurements can be exported in multiple formats: * as a self explanatory CSV-table * as either of the following very simple, yet efficient propriatairy binary formats: ** phen1 file: a very restrictive format, making small datasets available as small as possible, while maintaining random accessibility on row level ** as an ASAse...'
 
Marked this version for translation
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Data formats ==
<languages/>
Within the AMBIsense solution, measurements of the 1/3 octaveband spectrum are performed. The results of these measurements can be exported in multiple formats:
<translate>
== Data formats == <!--T:1-->


* as a self explanatory CSV-table
<!--T:2-->
* as either of the following very simple, yet efficient propriatairy binary formats:
Within the AMBIsense solution, measurements of the 1/3-octave band spectrum are performed. The results of these measurements can be exported in multiple formats:
** phen1 file: a very restrictive format, making small datasets available as small as possible, while maintaining random accessibility on row level
 
** as an [[ASAsense Binary Table (ABT) format|ABT]] file: fast and efficient random access (both on row and column level), binary table format
<!--T:3-->
* as a self-explanatory CSV table;
* as one of the following very simple, yet efficient proprietary binary formats:
** a phen1 file: a very restrictive format that keeps small datasets as small as possible, while maintaining random access on row level;
** an [[ASAsense Binary Table (ABT) format/en|ABT]] file: a binary table format with fast and efficient random access (both on row and column level).
 
== Instant measurements == <!--T:4-->
 
<!--T:5-->
The AMBIsense sensors can be configured to send instant measurements to a dedicated MQTT broker. These have the following structure:
 
<!--T:6-->
* audio measurements (8 messages / s):
** topic: <code>/instant/<deviceName>/measurements</code>
** payload, in msgpack:
*** timestamp: float
*** dBA: float (sound level)
* classifications (frequency depends on the model):
** topic: <code>/instant/<deviceName>/classification/<modelId>/<modelVersion></code>
** payload, in msgpack:
*** timestamp: float
*** confidences: float[] for each class
</translate>

Latest revision as of 10:22, 14 October 2026

Data formats

Within the AMBIsense solution, measurements of the 1/3-octave band spectrum are performed. The results of these measurements can be exported in multiple formats:

  • as a self-explanatory CSV table;
  • as one of the following very simple, yet efficient proprietary binary formats:
    • a phen1 file: a very restrictive format that keeps small datasets as small as possible, while maintaining random access on row level;
    • an ABT file: a binary table format with fast and efficient random access (both on row and column level).

Instant measurements

The AMBIsense sensors can be configured to send instant measurements to a dedicated MQTT broker. These have the following structure:

  • audio measurements (8 messages / s):
    • topic: /instant/<deviceName>/measurements
    • payload, in msgpack:
      • timestamp: float
      • dBA: float (sound level)
  • classifications (frequency depends on the model):
    • topic: /instant/<deviceName>/classification/<modelId>/<modelVersion>
    • payload, in msgpack:
      • timestamp: float
      • confidences: float[] for each class