ParametricRecord¶
- class vallenae.io.ParametricRecord(time: float, param_id: int, set_id: int | None = None, status: ~vallenae.io.datatypes.StatusFlags = <StatusFlags: 0>, pctd: int | None = None, pcta: int | None = None, pa0: int | None = None, pa1: int | None = None, pa2: int | None = None, pa3: int | None = None, pa4: int | None = None, pa5: int | None = None, pa6: int | None = None, pa7: int | None = None)[source]¶
Parametric data record in pridb (
SetType.PARAMETRIC).- __init__()¶
Methods
__init__()count(value, /)Return number of occurrences of value.
from_sql(row)Create
ParametricRecordfrom SQL row.index(value[, start, stop])Return first index of value.
Attributes
Amplitude of parametric input 0 in volts
Amplitude of parametric input 1 in volts
Amplitude of parametric input 2 in volts
Amplitude of parametric input 3 in volts
Amplitude of parametric input 4 in volts
Amplitude of parametric input 5 in volts
Amplitude of parametric input 6 in volts
Amplitude of parametric input 7 in volts
Parameter ID of table ae_params for ADC value conversion
Analog hysteresis counter
Digital counter value
Unique identifier for data set in pridb
Status flags
Time in seconds
-
status:
StatusFlags¶ Status flags
- classmethod from_sql(row)[source]¶
Create
ParametricRecordfrom SQL row.- Parameters:
- Return type:
- count(value, /)¶
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)¶
Return first index of value.
Raises ValueError if the value is not present.