Struct LifStepConstants
Per-step constants of the exact LIF integrator for a fixed timestep, as consumed by kernels. Produced by Discretize(double); all values are in mV / ms / steps.
public readonly record struct LifStepConstants : IEquatable<LifStepConstants>
- Implements
- Inherited Members
Constructors
LifStepConstants(double, double, double, double, double, double, double, double, double, int, int)
Per-step constants of the exact LIF integrator for a fixed timestep, as consumed by kernels. Produced by Discretize(double); all values are in mV / ms / steps.
public LifStepConstants(double DtMs, double A, double B, double C, double RestMv, double ResetMv, double ThresholdMv, double SynapseWeightMv, double PoissonWeightMv, int RefractorySteps, int DelaySteps)
Parameters
DtMsdoubleTimestep in ms.
AdoubleMembrane decay factor per step,
e^{-dt/τm}.BdoubleCoupling of
gintovper step (see Discretize(double)).CdoubleSynaptic decay factor per step,
e^{-dt/τs}.RestMvdoubleResting potential in mV.
ResetMvdoubleReset potential in mV.
ThresholdMvdoubleSpike threshold in mV (strict
>).SynapseWeightMvdoubleWeight per contact in mV.
PoissonWeightMvdoubleVoltage added by one Poisson event in mV.
RefractoryStepsintNumber of steps a neuron stays frozen after a spike.
DelayStepsintNumber of steps between a presynaptic spike and its delivery.
Properties
A
Membrane decay factor per step, e^{-dt/τm}.
public double A { get; init; }
Property Value
B
Coupling of g into v per step (see Discretize(double)).
public double B { get; init; }
Property Value
C
Synaptic decay factor per step, e^{-dt/τs}.
public double C { get; init; }
Property Value
DelaySteps
Number of steps between a presynaptic spike and its delivery.
public int DelaySteps { get; init; }
Property Value
DtMs
Timestep in ms.
public double DtMs { get; init; }
Property Value
PoissonWeightMv
Voltage added by one Poisson event in mV.
public double PoissonWeightMv { get; init; }
Property Value
RefractorySteps
Number of steps a neuron stays frozen after a spike.
public int RefractorySteps { get; init; }
Property Value
ResetMv
Reset potential in mV.
public double ResetMv { get; init; }
Property Value
RestMv
Resting potential in mV.
public double RestMv { get; init; }
Property Value
RingSlots
Length of the spike ring buffer needed to honour DelaySteps: one slot per delay step plus the current one.
public int RingSlots { get; }
Property Value
SynapseWeightMv
Weight per contact in mV.
public double SynapseWeightMv { get; init; }
Property Value
ThresholdMv
Spike threshold in mV (strict >).
public double ThresholdMv { get; init; }