snnib.simulations.brian2_simulation.stp_syn

snnib.simulations.brian2_simulation.stp_syn(ng_pre: NeuronGroup, ng_post: NeuronGroup, w_mean, w_std, w_min, w_max, delay: str, U, tau_fac, tau_rec, connect_i: Any = None, connect_j: Any = None, drive: Literal['event-driven', 'clock-driven'] = 'event-driven') Synapses[source]

returns generated STP synapses

  • base definition of simple STP synapses for easy generation of several similar synapse groups

Parameters
  • ng_pre
    • int

    • number of pre synaptic neurons

  • ng_post
    • int

    • number of post synaptic neurons

  • w_mean
    • mean of a truncated normal distribution

    • used for initializing synapse weights

  • w_min
    • minimum of a truncated normal distribution

    • used for initializing synapse weights

  • w_max
    • maximum of a truncated normal distribution

    • used for initializing synapse weights

  • delay
    • delay of the synapse

  • U
    • indicates fraction of resources to use fro some spike

  • tau_fac
    • facilitation time constant

  • tau_rec
    • recovery time constant

  • connect_i
    • expression defining connectivity for pre synaptic neurons

  • connect_i
    • expression defining connectivity for post synaptic neurons

  • drive
    • specifies simulation driver

Raises

Returns
  • syn
    • Synapses

    • generated synapses

Dependencies
  • brian2