single_cell_parserreaderread_synapse_activation_file

read_synapse_activation_file

single_cell_parser.reader.read_synapse_activation_file(fname)

Reads list of all functional synapses and their activation times.

In contrast to read_complete_synapse_activation_file(), this reader does not return the structure label.

Parameters:

fname (str) – Filename of a synapse activation file. Such a file can be generated with single_cell_parser.analyze.synanalysis.comute_synapse_distances_times().

Returns:

(synapse ID, section ID, section pt ID, [t1, t2, … , tn])

Return type:

dictionary with cell types as keys and list of synapse locations and activation times, coded as tuples