single_cell_parser
❭ reader
❭ read_functional_realization_map
read_functional_realization_map¶
- single_cell_parser.reader.read_functional_realization_map(fname)¶
Read in a .con file and return a dictionary of functional connections.
Only valid for anatomical synapse realization given by anatomicalID.
See also:
.con for more information on the .con file format.
write_functional_realization_map()
for the corresponding writer.
- Parameters:¶
fname (str) – The name of the file to be read.
- Raises:¶
IOError – If the input file does not have a .con or .CON suffix.
- Returns:¶
A dictionary with cell types as keys and a list of synapse information for each synapse as values. Synapse information is a 3-tuple with (cell type, cell ID, synapse ID) The filename of the corresponding .syn file.
- Return type:¶
tuple