data_base ❭ db_initializers ❭ prepare_ANN_batches ❭ load_syn_weights
load_syn_weights¶
-
data_base.db_initializers.prepare_ANN_batches.load_syn_weights(db, client, excitatory_celltypes=
None)¶ Load synapse weights from a simrun-initialized database
Fetches the Network parameters file from the
parameterfiles\_network\_folderkey in the database and extracts the synaptic weights.- Parameters:¶
db (
ISFDataBase) – The database object.client (
Client) – The dask client object.
- Returns:¶
A dictionary mapping the synapse type to a weight.
- Return type:¶
dict
See also
init()for the database initialization.