add_synapse

singlecell_input_mapper.udvary2022.cell.Cell.add_synapse(secID, ptID, ptx, preType='Generic', postType='Generic')

Add a Synapse to the cell.

Parameters:
secID : int

Section ID.

ptID : int

Point ID on that section.

ptx : float

Relative position along the section (0-1).

preType : str

Presynaptic cell type. Default: “Generic”.

postType : str

Postsynaptic cell type. Default: “Generic”.

Returns:

The newly created synapse.

Return type:

Synapse