Table of Contents

Struct LifStepConstants

Namespace
DotFly.Core.Models
Assembly
DotFly.Core.dll

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

DtMs double

Timestep in ms.

A double

Membrane decay factor per step, e^{-dt/τm}.

B double

Coupling of g into v per step (see Discretize(double)).

C double

Synaptic decay factor per step, e^{-dt/τs}.

RestMv double

Resting potential in mV.

ResetMv double

Reset potential in mV.

ThresholdMv double

Spike threshold in mV (strict >).

SynapseWeightMv double

Weight per contact in mV.

PoissonWeightMv double

Voltage added by one Poisson event in mV.

RefractorySteps int

Number of steps a neuron stays frozen after a spike.

DelaySteps int

Number 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

double

B

Coupling of g into v per step (see Discretize(double)).

public double B { get; init; }

Property Value

double

C

Synaptic decay factor per step, e^{-dt/τs}.

public double C { get; init; }

Property Value

double

DelaySteps

Number of steps between a presynaptic spike and its delivery.

public int DelaySteps { get; init; }

Property Value

int

DtMs

Timestep in ms.

public double DtMs { get; init; }

Property Value

double

PoissonWeightMv

Voltage added by one Poisson event in mV.

public double PoissonWeightMv { get; init; }

Property Value

double

RefractorySteps

Number of steps a neuron stays frozen after a spike.

public int RefractorySteps { get; init; }

Property Value

int

ResetMv

Reset potential in mV.

public double ResetMv { get; init; }

Property Value

double

RestMv

Resting potential in mV.

public double RestMv { get; init; }

Property Value

double

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

int

SynapseWeightMv

Weight per contact in mV.

public double SynapseWeightMv { get; init; }

Property Value

double

ThresholdMv

Spike threshold in mV (strict >).

public double ThresholdMv { get; init; }

Property Value

double