PyDDM.fit_parameters_dictionaries.populate_min_and_max_of_paramters

PyDDM.fit_parameters_dictionaries.populate_min_and_max_of_paramters

populate_min_and_max_of_paramters(parameter_dictionary, minp, maxp)

Set the initial guess for all parameters in a parameter dictionary.

Parameters
  • parameter_dictionary (dict) – Parameter dictionary for a given model

  • minp (array) – 1-D array containing the minimum value each parameter can take

  • maxp (array) – 1-D array containing the minimum value each parameter can take

Note

The arrays (or lists) minp and maxp must have the same number of elements as the parameter_dictionary has in the key parameter_info.