write_pruned_synapse_locations

single_cell_parser.writer.write_pruned_synapse_locations(fname=None, synapses=None, cellID=None)

Write a .syn file with a pruned flag.

.syn files contain a cell’s synapses with the locations coded by section ID and section x of cell with ID “cellID” and a pruned flag (1 or 0).

See also:

Parameters:
fname : str

The name of the file to write to.

synapses : dict

A dictionary of synapses (see read_pruned_synapse_locations()).

cellID : str

The ID of the cell.

Returns:

None. Writes out the synapse location file to fname.