biophysics_fitting
❭ L5tt_parameter_setup
❭ set_ephys
set_ephys¶
-
biophysics_fitting.L5tt_parameter_setup.set_ephys(cell_param, params=
None
)¶ Updates cell_param file.
Parameter names reflect the Hay naming convention.
- Parameters:¶
cell_param (
ParameterSet
) – The cell parameter dictionary.params (pd.Series) – The parameter vector as a pandas Series.
- Raises:¶
AssertionError – If the parameter vector is None or not a pandas Series.
AssertionError – If the provided cell parameters lack a field that is however defined in the parameter vector.
AssertionError – If some parameters are not set after the update.
- Returns:¶
The updated cell_param, with the biphysical parameters set.
- Return type:¶
See also
See Hay et al. [2] for more information.