e_model_packager.circuit.synapse_extractor¶
For the retrieval of synapses using bluecellulab.
Classes
|
Extracts synapses of a cell from the circuit. |
- class SynapseExtractor(blueconfig, gid)¶
Bases:
objectExtracts synapses of a cell from the circuit.
Constructor, inits bluecellulab CircuitSimulation object.
- Parameters:
blueconfig (obj) – blueconfig object or path to bloeconfig object
gid ([type]) – [description]
- static convert_sec_name(sec_name)¶
Convert section name into sectionlist_id and section_list_index.
- static generate_synconf_content(synconf_dict, synconf_ordering)¶
Generate content for synconf.txt.
- static get_Nrrp(hsynapse)¶
Get Nrrp from hsynapse.
- get_pre_mtype_id(mtype_map, pre_gid)¶
Assign pre-cell mtype to an id.
- static get_tau_d(synapse_dict)¶
Return tau_d given synapse type.
- load_synapses(add_stimuli=False, intersect_pre_gids=None)¶
Loads synapses information.
- write_synapses_to_files(synapse_tsv_path, mtype_map_path, synconf_path)¶
Write the synapses information to files.
- Parameters:
synapse_tsv_path (Path or string) – output filepath for synapses
mtype_map_path (Path or string) – output filepath for mtype_map
synconf_path (Path or string) – output filepath for synconf