sensortoolkit.lib_utils

The sensortoolkit.lib_utils subpackage contains general utilities that are accessed by various methods that contain interactive components or assist in configuring the project workspace.

Clicking on each module below will open a page with a detailed description and list of functions included within the module.

sensortoolkit.lib_utils._check_type

This module contains a method for evaluting the type of an object to determine whether the type matches a list of accepted or anticipated types.

sensortoolkit.lib_utils._copy_datasets

This module contains methods for interactively prompting user input to select data files that will be copied from a specified location on the user's system to the /data directory located within the project path.

sensortoolkit.lib_utils._flatten_list

This module contains a method for converting nested lists into a list with a single depth.

sensortoolkit.lib_utils._flatten_datasets

This module contains a method for converting datasets for AirSensor and ReferenceMonitor objects corresponding to instruments that have been collocated at an ambient monitoring site into a single pandas DataFrame object and (optionally) saved as comma-separated value files for each sampling or averaging interval present in sensor and reference datasets.

sensortoolkit.lib_utils._input_tools

This module contains various methods for sensortoolkit functions that make use of interactive, user-input components.

sensortoolkit.lib_utils._sensor_subfolders

This module contains a method create_directories() for constructing the folder structure utilized by sensortoolkit for storing datasets and organizing related files.

sensortoolkit.lib_utils._setup

Interactive module for specifying the setup configuration for both sensor and reference data.

sensortoolkit.lib_utils._version

Return the current version of sensortoolkit.