sensortoolkit.deploy._create_deploy_dict.deploy_ref_stats
- deploy_ref_stats(deploy_dict, ref_df, cal_check_dict=None, param=None, ref_name=None)[source]
Add reference monitor statistics to the parameter statistics subfield in the deployment dictionary.
Details added include:
The FRM/FEM monitor name
The minimum concentration recorded at the specified interval averaging.
The maximum concentration recorded at the specified interval averaging.
The number of intervals during which the FRM/FEM exceeds the goal concentration recommended by the performance targets testing report for elevated concentrations (goal \(\geq\) three days).
- Parameters
deploy_dict (dict) – Dictionary containing separate deployment group start and end times (based on the latest (max) start timestamp and earliest (min) end timestamp in group), deployment duration, and sensor serial IDs for devices within each deployment group.
ref_df (pandas dataframe) – Dataframe for reference concentrations at either 1-hour or 24-hour averaging depending on the performance targets recommeneded averaging interval.
cal_check_dict (dict) – [Future feature] Dictionary for housing dates and descriptions of QC calibration checks as part of regularly scheduled and cataloged QC procedures.
param_obj (str) – The evaluation parameter
ref_name (str) – The name of the FRM/FEM monitor (make and model).
- Returns
Dictionary containing separate deployment group start and end times (based on the latest (max) start timestamp and earliest (min) end timestamp in group), deployment duration, and sensor serial IDs for devices within each deployment group.
- Return type
deploy_dict