parameters_to_cell

simrun.parameters_to_cell.parameters_to_cell(neuronParam, networkParam, synfile=None, dirPrefix='', tStop=345.0, scale_apical=None, range_vars=None, allPoints=False, cell=None, evokedNW=None)

Rebuild and simulate a network-embedded cell.

Rebuild the cell from a Cell parameters file. If specified, the synapses in the .syn file are reconnected and simulated according to the parameters defined in the Network parameters file. If no .syn file is provided, a new network embedding is created based on the Network parameters file.

Parameters:
neuronParam : str

Path to Cell parameters file.

networkParam : str

Path to Network parameters file.

synfile : str

Path to the realized synapses in .syn format.

dirPrefix : str

Prefix for the directory where the results are stored.

tStop : float

Time in ms at which the simulation should stop.

scale_apical : callable, DEPRECATED

Function to scale the apical dendrite.

range_vars : str or list

Range variables to record.

allPoints : bool

Record all points in the cell.

cell : Cell

A cell object to use for the simulation.

evokedNW : NetworkMapper

A network object to use for the simulation.

Deprecated since version 0.1: The scale_apical argument is deprecated. Use the cell_modify_funs key in the Cell parameters file instead.

Returns:

A tuple containing the Cell and the evoked network (Networkmapper).

Return type:

tuple