read_connections_spreadsheet

singlecell_input_mapper.udvary2022.reader.read_connections_spreadsheet(fname, rename_presyn_map=None)

Read a connections spreadsheet.

Connections spreadsheets define the empirically measured connectivity between presynaptic cells, and all structures of a postsynaptic cell, in units of connections per unit of area and length.

Parameters:
fname : str

Filename of the connections spreadsheet file.

rename_presyn_map : dict

Mapping between presynaptic cell type names, and the internal representation to use. If None (default), maps “ALL_EXCITATORY” to “EXC” and “ALL_INHIBITORY” to “INH”.