process_exp_data
despasito.input_output.read_input.process_exp_data
- process_exp_data(exp_data_dict)[source]
Convert experimental data dictionary into form used by parameter fitting module.
Note that there should be one dictionary per data set.
- Parameters:
exp_data (dict) – This dictionary is made up of a dictionary for each data set that the parameters are fit to. Each key is an arbitrary string used to identify the data set and used later in reporting objective function values during the fitting process. See data type objects for more details. Dictionary values below are altered before being passed on, all other key and value sets are blindly passed on.
data_class_type (str) - One of the supported data type objects to fit
parameters - file (str) - File name in current working directory, or path to desired experimental data. See experimental data page for examples of acceptable format.
- Returns:
exp_data – Reformatted dictionary of experimental data. This dictionary is made up of a dictionary for each data set that the parameters are fit to. Each key is an arbitrary string used to identify the data set and used later in reporting objective function values during the fitting process. See data type objects for more details. Dictionary values below are altered from input dictionary, all other key and value sets are blindly passed on, or extracted from data file with process_exp_data_file function.
data_class_type (str) - One of the supported data type objects to fit
parameters
- Return type:
dict