biophysics_fittingL5tt_parameter_setupset_morphology

set_morphology

biophysics_fitting.L5tt_parameter_setup.set_morphology(cell_param, filename=None)

Add the morphology to a cell parameter object.

The morphology is simply a path to a .hoc file in string format.

Parameters:
  • cell_param (ParameterSet | dict) – The cell parameter dictionary.

  • filename (str) – The path to the .hoc file.

Returns:

The updated cell parameter dictionary.

Return type:

ParameterSet | dict