get_objective_function

biophysics_fitting.optimizer.get_objective_function(db_setup)

Get the objective function for the optimization.

This objective function takes parameters values, runs a simulation, and evaluates the simulation.

Parameters:
db_setup : DataBase

The database containing the setup of the optimization.

Returns:

The objective function for the optimization.

Return type:

function