vallenae.io.StatusRecord

class vallenae.io.StatusRecord[source]

Status data record in pridb (SetType = 3).

Attributes

channel

Channel number

energy

Energy (EN 1330-9) in eu (1e-14 V²s)

param_id

Parameter ID of table ae_params for ADC value conversion

rms

RMS in volts

set_id

Unique identifier for data set in pridb

signal_strength

Signal strength in nVs (1e-9 Vs)

threshold

Threshold amplitude in volts

time

Time in seconds

Methods

__init__

Initialize self.

count

Return number of occurrences of value.

from_sql(row)

Create StatusRecord from SQL row.

index

Return first index of value.