Clone model fitting

Function to create and fit clone simulation models to data. It uses optimization algorithms to minimize the difference between the model predictions and the experimental data.

bioreactormodelling.biosim.new_clone_fit.fit_clone(data_frame: DataFrame, column_map: ColumnMapping, fit_config: FitConfiguration, batch: str)

Fit a clone simulation model to the data

Parameters:
  • data_frame (pandas.DataFrame. The data to fit the model to)

  • column_map (ColumnMapping. The mapping of the columns in the data to the model variables)

  • fit_config (FitConfiguration. The configuration for the fitting)

  • batch (str. The batch to fit the model to)

Returns:

  • model_parameters (dict)

  • The fitted model parameters

  • productivity (dict)

  • The fitted productivity parameters

  • fit_statistics (dict)

  • The statistics of the fit

  • simulated_data (pandas.DataFrame)

  • The simulated data using the fitted parameters