spines_update_synapse_distribution_file

single_cell_parser.spines_update_synapse_distribution_file(cell, synapse_distribution_file, new_synapse_distribution_file)

Update the .syn file to correctly point to spine heads as excitatory synapse locations.

Spines must already exist, so call this after create_cell(), using the same .syn file that was used to create the cell.

Parameters:
cell : Cell

The cell object.

synapse_distribution_file : str

The path to the original .syn file.

new_synfile : str

The path to the new .syn file. A new_synfile will be created if it does not already exist.