atomica.calibration.calibrate(project, parset, pars_to_adjust, output_quantities, max_time=60, method='asd')[source]

Run automated calibration

  • project – A project instance to provide data and sim settings

  • parset (ParameterSet) – A ParameterSet instance to calibrate

  • pars_to_adjust – list of tuples, (par_name,pop_name,lower_limit,upper_limit) the pop name can be None, which will be expanded to all populations relevant to the parameter independently, or ‘all’ which will instead operate on the meta y factor.

  • output_quantities – list of tuples, (var_label,pop_name,weight,metric), for use in the objective function. pop_name=None will expand to all pops. pop_name=’all’ is not supported

  • max_time – If using ASD, the maximum run time

  • method – ‘asd’ or ‘pso’. If using ‘pso’ all upper and lower limits must be finite

Return type:



A calibrated ParameterSet