dispel.providers.sensorlog.io module#
Functionality to read files from SensorLog.
- dispel.providers.sensorlog.io.get_device(data)[source]#
Get device information from the SensorLog reading.
- Parameters:
data (DataFrame | dict) – The data frame obtained with
read_sensor_log_as_data_frame()
- Returns:
The device information present in the SensorLog reading
- Return type:
- Raises:
ValueError – If a wrong identifier definition in data set is given.
- dispel.providers.sensorlog.io.get_evaluation(data)[source]#
Get the evaluation for the SensorLog reading.
- Parameters:
data (DataFrame | dict) – The data frame obtained with
read_sensor_log_as_data_frame()
- Returns:
The evaluation information
- Return type:
- dispel.providers.sensorlog.io.get_sensor_log_reading(data)[source]#
Get the reading representation of a SensorLog data frame.
- Parameters:
data (DataFrame | dict) – The data frame obtained with
read_sensor_log_as_data_frame()
- Returns:
The
Reading
representation of the SensorLog json file.- Return type: