single_cell_parser
❭ writer
❭ write_pruned_synapse_locations
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:
.syn for more information on the .syn file format.
single_cell_parser.reader.read_pruned_synapse_realization()
for the corresponding reader function.write_cell_synapse_locations()
for a similar function that does not include a pruned flag.