sensortoolkit.qc._interval_downsampling.sensor_timedelta
- sensor_timedelta(df_list, serials)[source]
Create dataframe with time deltas (in seconds) between subsequent data entries.
- Parameters
df_list (list) – List of sensor dataframes at original, recorded sampling frequency.
serials (dict) – A dictionary of sensor serial identifiers for each unit in a testing group.
- Returns
A dataset containing the intervals in seconds between consecutive timestamps in recorded datasets. Each column corresponds to the time delta intervals for datasets within the passed df_list.
- Return type
delta_df (pandas DataFrame)