conn2res.reservoir.MemristiveReservoir

class conn2res.reservoir.MemristiveReservoir(w, int_nodes, ext_nodes, gr_nodes, save_conductance=False, *args, **kwargs)[source]

Class that represents a general Memristive Reservoir

_W

reservoir’s binary connectivity matrix

Type:

numpy.ndarray

_I

indices of internal nodes

Type:

numpy.ndarray

_E

indices of external nodes

Type:

numpy.ndarray

_GR

indices of grounded nodes

Type:

numpy.ndarray

n_internal_nodes

number of internal nodes

Type:

int

n_external_nodes

number of external nodes

Type:

int

n_grounded_nodes

number of gorunded nodes

Type:

int

n_nodes

total number of nodes (internal, external, and ground)

Type:

int

G

matrix of conductances

Type:

numpy.ndarray

save_conductance

Indicates whether to save conductance state after each simulation step. If True, then will be stored in self._G_history. This will increase memory demands.

Type:

bool

_state

reservoir activation states

Type:

numpy.ndarray

# TODO

References

# TODO