single_cell_parserwriterwrite_cell_synapse_locations

write_cell_synapse_locations

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

Write a .syn file.

.syn files contain a cell’s synapses with the locations coded by section ID and section x of cell with ID “cellID”.

See also:

Parameters:
  • fname (str) – The name of the file to write to.

  • synapses (dict) – A dictionary of synapses, with keys as synapse types and values as lists of synapses.

  • cellID (str) – The ID of the cell.

Returns:

None. Writes out the synapse location file to fname.