Class SimulationOptions
- Namespace
- DotFly
- Assembly
- DotFly.Engine.dll
Options for CreateSimulation(Brain, SimulationOptions?).
public sealed record SimulationOptions : IEquatable<SimulationOptions>
- Inheritance
-
SimulationOptions
- Implements
- Inherited Members
Properties
Backend
Backend. Default Cpu.
public Backend Backend { get; init; }
Property Value
DtMs
Integration timestep in ms. Default 0.1 (Brian2 default; all inspected demos).
public double DtMs { get; init; }
Property Value
Seed
Random seed for stochastic inputs. Same seed + same inputs ⇒ same spikes.
public ulong Seed { get; init; }
Property Value
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
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
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
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
Threads
Threads for the CPU backend; 0 = one per physical core.
public int Threads { get; init; }