ml_genn.synapses package
Synapse models describe the dynamics (if any) applied to inputs delivered by a Connection.
- class ml_genn.synapses.Delta
Bases:
SynapseSynapse model where inputs produce instantaneous voltage jumps in target neurons.
- get_model(connection, dt, batch_size)
Gets PyGeNN implementation of synapse
- Parameters:
connection (Connection) – Connection this synapse belongs to
dt (float) – Timestep of simulation (in ms)
batch_size (int) – Batch size of the model
- Return type:
- class ml_genn.synapses.Exponential(tau=5.0)
Bases:
SynapseSynapse model where inputs produce exponentially decaying currents in target neuron.
- Parameters:
tau (InitValue) – Time constant of input current [ms]
- get_model(connection, dt, batch_size)
Gets PyGeNN implementation of synapse
- Parameters:
connection (Connection) – Connection this synapse belongs to
dt (float) – Timestep of simulation (in ms)
batch_size (int) – Batch size of the model
- Return type:
- class ml_genn.synapses.Synapse
Bases:
ABCBase class for all synapse models
- abstract get_model(connection, dt, batch_size)
Gets PyGeNN implementation of synapse
- Parameters:
connection (Connection) – Connection this synapse belongs to
dt (float) – Timestep of simulation (in ms)
batch_size (int) – Batch size of the model
- Return type: