lab_driver.process_common
#
Module Contents#
Classes#
API#
- class lab_driver.process_common.ProcessCommon[source]#
Initialization
Class with common functions for measurement data processing
- static get_data_overview(path: str, acronym: str) list [source]#
Function for getting an overview of available data files
- load_data(path: str, file_name: str) dict [source]#
Function for loading the measurement data
- Parameters:
path – Path to measurement in which the files are inside
file_name – Name of numpy file with measurement results
- Returns:
Dictionary
- static process_data_direct(data: dict) dict [source]#
Function for processing the measurement data directly
- Parameters:
data – Dictionary of measurement results
- Returns:
Dictionary with [‘stim’: stimulation input array, ‘ch
’: results with ‘mean’ and ‘std’]
- process_data_from_file(path: str, filename: str) dict [source]#
Function for processing the measurement data from loading a file
- Parameters:
path – Path to measurement in which the files are inside
filename – Name of numpy file with measurement results
- Returns:
Dictionary with [‘stim’: stimulation input array, ‘ch
’: results with ‘mean’ and ‘std’]