vallenae.io.StatusRecord¶
-
class
vallenae.io.
StatusRecord
(time: float, channel: int, param_id: int, energy: float, rms: float, set_id: Optional[int] = None, threshold: Optional[float] = None, signal_strength: Optional[float] = None)[source]¶ Status data record in pridb (SetType = 3).
Attributes
Channel number
Energy (EN 1330-9) in eu (1e-14 V²s)
Parameter ID of table ae_params for ADC value conversion
RMS in volts
Unique identifier for data set in pridb
Signal strength in nVs (1e-9 Vs)
Threshold amplitude in volts
Time in seconds
Methods
__init__
()Initialize self.
count
(value, /)Return number of occurrences of value.
from_sql
(row)Create StatusRecord from SQL row.
index
(value[, start, stop])Return first index of value.