reformat_output
despasito.parameter_fitting.fit_functions.reformat_output
- reformat_output(cluster)[source]
Takes a list of lists that contain thermo output of lists and floats and reformats” “ it into a 2D numpy array.
- Parameters:
cluster (list[list[list/floats]]) – A list of lists, where the inner list is made up of lists and floats
- Returns:
matrix (numpy.ndarray) – A 2D matrix
len_cluster (list) – a list of lengths for each of the columns (whether 1 for float, or len(list))