pub struct Run {
pub tstart: f64,
pub tstop: f64,
pub dt: f64,
pub dl: Option<f64>,
pub spike_threshold: Option<f64>,
pub block: TimeBlock,
pub random_seed: Option<u64>,
}Expand description
How to run the simulation / Timestepping
Fields§
§tstart: f64Begin of simulation [ms]
tstop: f64End of simulation [ms]
dt: f64Timestep [ms]
dl: Option<f64>maximum CV length [um] If not given, models or simulators choose May be overwritten downstream
spike_threshold: Option<f64>Spiking threshold [mV] If not given, models or simulators choose May be overwritten downstream
block: TimeBlocktime blocking
random_seed: Option<u64>Seed for PRNG
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Run
impl<'de> Deserialize<'de> for Run
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more