snnib.simulations.brian2_simulation.lif_ng

snnib.simulations.brian2_simulation.lif_ng(n: int, u_rest, u_reset, u_th, R_m, tau_m, delta_abs, tau_syn, u0=None) NeuronGroup[source]

returns generated LIF neuron group

  • base definition of simple LIF neuron for easy generation of several similar neuron groups

Parameters
  • n
    • int

    • number of neurons in the group

  • u_rest
    • resting potential

  • u_reset
    • reset potential

  • u_th
    • threshold voltage

  • R_m
    • membrane resistance

  • tau_m
    • membrane time constant

  • delta_abs
    • refractory period

  • tau_syn
    • synaptic time constant

  • u0
    • initial membrane potential

Raises

Returns
  • neurons
    • NeuronGroup

    • generated neuron group

Dependencies
  • brian2