Table of Contents

Class SimulationOptions

Namespace
DotFly
Assembly
DotFly.Engine.dll
public sealed record SimulationOptions : IEquatable<SimulationOptions>
Inheritance
SimulationOptions
Implements
Inherited Members

Properties

Backend

Backend. Default Cpu.

public Backend Backend { get; init; }

Property Value

Backend

DtMs

Integration timestep in ms. Default 0.1 (Brian2 default; all inspected demos).

public double DtMs { get; init; }

Property Value

double

Seed

Random seed for stochastic inputs. Same seed + same inputs ⇒ same spikes.

public ulong Seed { get; init; }

Property Value

ulong

ShiuPoissonSemantics

Shiu et al. semantics for Poisson-driven neurons: their refractory period is set to zero while a Poisson port drives them (model.py, poi()). Default true.

public bool ShiuPoissonSemantics { get; init; }

Property Value

bool

SynapticGain

Multiplier on the checkpoint's unitary synaptic weight (w_syn, 0.275 mV in Shiu et al., calibrated on the sugar → feeding experiment). It is the model's one global free parameter; anything other than 1 is a calibration and must be reported as such.

public double SynapticGain { get; init; }

Property Value

double

ThreadPinOffset

For several simulations in one process: the worker slots already taken by the others (ThreadPinOffset) and the slots of all of them (ThreadPinTotal), so each simulation's pinned workers land on different cores. 0 = a single simulation.

public int ThreadPinOffset { get; init; }

Property Value

int

ThreadPinTotal

For several simulations in one process: the worker slots already taken by the others (ThreadPinOffset) and the slots of all of them (ThreadPinTotal), so each simulation's pinned workers land on different cores. 0 = a single simulation.

public int ThreadPinTotal { get; init; }

Property Value

int

Threads

Threads for the CPU backend; 0 = one per physical core.

public int Threads { get; init; }

Property Value

int