single_cell_parsercreate_cell

create_cell

single_cell_parser.create_cell(parameters, scaleFunc=None, allPoints=False, setUpBiophysics=True, silent=False)

Creating NEURON cell models from cell parameters.

Adds spatial discretization and inserts biophysical mechanisms according to parameter file

Parameters:
  • parameters (dict | dict-like) – A nested dictionary structure, read from a Cell parameters file. Should include at least the keys ‘filename’ and one key per structure present in the .hoc file (e.g. “AIS”, “Soma” …). Optional keys include: cell\_modify\_functions, discretization

  • scaleFunc (bool) – DEPRECATED, should be specified in the parameters, as described in cell_modify_funs()

  • allPoints (bool) – Whether or not to use all the points in the .hoc file, or one point per segment (according to the distance-lambda rule). Will be passed to full in determine_nseg()

  • setUpBiophysics (bool) – Whether or not to insert mechanisms corresponding to the biophysical parameters in parameters