neurom.stats.fit_results_to_dict

neurom.stats.fit_results_to_dict(fit_results, min_bound=None, max_bound=None)[source]

Create a JSON-comparible dict from a FitResults object

Parameters:
  • fit_results (FitResults) – object containing fit parameters, errors and type
  • min_bound – optional min value to add to dictionary if min isn’t a fit parameter.
  • max_bound – optional max value to add to dictionary if max isn’t a fit parameter.
Returns:

JSON-compatible dictionary with fit results

Note

Supported fit types: ‘norm’, ‘expon’, ‘uniform’