simrunmodular_reduced_model_inferencedata_extractorDataExtractor_spatiotemporalSynapseActivation

DataExtractor_spatiotemporalSynapseActivation

class simrun.modular_reduced_model_inference.data_extractor.DataExtractor_spatiotemporalSynapseActivation(key)

Extracts matrix of the shape (trial, time, space) from spatiotemporal synapse activation binning

Parameters:

key (tuple|str) – key to access the data in the DataBase

Attributes:

key

key to access the data in the DataBase

Type:

tuple|str

data

dictionary with groups as keys and spatiotemporal inputpatterns as keys.

Type:

dict

Methods:

setup(Rm)

Set up the data extractor.

_get_spatial_bin_level(key)

static Get the string index of the database key that relects the spatial dimension

get_spatial_binsize()

Get the spatial binsize

get_groups()

Get all groups (other than spatial binning)

get_sorted_keys_by_group(group, db)

returns keys sorted such that the first key is the closest to the soma

_get_spatiotemporal_input(group)

returns spatiotemporal input in the following dimensions:

get()

Get the spatiotemporal input patterns.