BFAIR.mfa.INCA.INCA_reimport.INCA_reimport.get_residuals_info

INCA_reimport.get_residuals_info(f, simulation_info)[source]

Extract the residuals of the fitted measurements

Parameters
fscipy.MatlabObject

the fit of the model

simulation_infopandas.DataFrame

The MS fragment file corresponding to the simulation

Returns
f_mnt_res_infodict

a dict containing the residuals of the fit, the fit itself, the type of the current value (a measured flux or an MS measurement) reaction id of the fitted measurements, the standard deviation of the fit, the time point of the sample, the name of the expeiment, the data used for the fit, the peak of the residuals