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 : NTParameterSet

A Cell parameters object. Should include at least the keys ‘filename’ and one key per structure present in the Morphology file (e.g. “AIS”, “Soma” …). Optional keys include: cell_modify_functions, discretization

allPoints : bool

Whether or not to use all the points in the Morphology 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