sensortoolkit.calculate._normalize.normalize
- normalize(df_list, ref_df, param=None, ref_name=None)[source]
Normalize sensor measurements at 1-hour or 24-hour intervals by concurrent measurements from a collocated FRM/FEM monitor.
- Parameters
df_list (list) – List of sensor dataframes with datetimeindex at either 1-hour or 24-hour averaging intervals.
ref_df (pandas dataframe) – Dataframe with FRM/FEM measurements from a reference monitor collocated alongside sensors at a monitoring site. Dataframe at either 1-hour or 24-hour averaging intervals, matches interval of df_list.
param (str) – The evaluation parameter.
ref_name (str) – The make and model of the FRM/FEM monitor.
- Returns
Modified list of sensor dataframes with a column added for normalized parameter values.
- Return type
df_list (list of pandas DataFrames)