single_cell_parser
❭ reader
❭ read_synapse_weight_file
read_synapse_weight_file¶
- single_cell_parser.reader.read_synapse_weight_file(fname)¶
Reads list of all anatomical synapses and their maximum conductance values.
- Parameters:¶
fname (str) – Synapse weight filename. See:
write_synapse_weight_file()
.- Returns:¶
two dictionaries with cell types as keys, ordered the same as the anatomical synapses: 1st with section ID and pt ID, 2nd with synaptic weights, coded as dictionaries (keys=receptor strings) containing weights: (gmax_0, gmax_1, … , gmax_n)
- Return type:¶
tuple