pub struct MultiTimescaleNeuron {
pub v_fast: f64,
pub v_medium: f64,
pub v_slow: f64,
pub tau_fast: f64,
pub tau_medium: f64,
pub tau_slow: f64,
pub alpha: f64,
pub beta: f64,
pub gamma: f64,
pub theta_base: f64,
pub dt: f64,
}Expand description
Three-compartment memory neuron (fast/medium/slow timescales). Slow compartment accumulates context, modulating excitability.
Fields§
§v_fast: f64§v_medium: f64§v_slow: f64§tau_fast: f64§tau_medium: f64§tau_slow: f64§alpha: f64§beta: f64§gamma: f64§theta_base: f64§dt: f64Implementations§
Trait Implementations§
Source§impl Clone for MultiTimescaleNeuron
impl Clone for MultiTimescaleNeuron
Source§fn clone(&self) -> MultiTimescaleNeuron
fn clone(&self) -> MultiTimescaleNeuron
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MultiTimescaleNeuron
impl Debug for MultiTimescaleNeuron
Auto Trait Implementations§
impl Freeze for MultiTimescaleNeuron
impl RefUnwindSafe for MultiTimescaleNeuron
impl Send for MultiTimescaleNeuron
impl Sync for MultiTimescaleNeuron
impl Unpin for MultiTimescaleNeuron
impl UnsafeUnpin for MultiTimescaleNeuron
impl UnwindSafe for MultiTimescaleNeuron
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more