set_param¶
-
biophysics_fitting.hay.L5tt_parameter_setup.set_param(cell_param, params=
None)¶ Updates cell_param given a dict of params in the dot naming convention.
Example:
cell_param = {'a': {'b': {'c': 2}}} params = {'a.b.c': 3} set_param(cell_param, params) # returns {'a': {'b': {'c': 3}}}- Parameters:¶
- cell_param : NTParameterSet¶
The cell parameter nested dictionary.
- params : pd.Series¶
The parameter vector as a pandas Series. This is usually the argument of e.g.
get_params()and related functions.
- Returns:¶
The updated cell_param.
- Return type:¶
dict
Documentation unclear, incomplete, broken or wrong? Let us know