brian2modelfitting.utils module

class brian2modelfitting.utils.ProgressBar(total=None, **kwds)[source]

Bases: object

Setup for tqdm progress bar in Fitter

brian2modelfitting.utils.callback_none(params, errors, best_params, best_error, index)[source]

Non-verbose callback

brian2modelfitting.utils.callback_setup(set_type, n_rounds)[source]

Helper function for callback setup in Fitter, loads option: ‘text’, ‘progressbar’ or custion FunctionType

brian2modelfitting.utils.callback_text(params, errors, best_params, best_error, index)[source]

Default callback print-out for Fitters

brian2modelfitting.utils.make_dic(names, values)[source]

Create dictionary based on list of strings and 2D array