pub struct SFANeuron {
pub v: f64,
pub g_sfa: f64,
pub v_rest: f64,
pub v_reset: f64,
pub v_threshold: f64,
pub tau_m: f64,
pub tau_sfa: f64,
pub delta_g: f64,
pub e_k: f64,
pub resistance: f64,
pub dt: f64,
}Expand description
Spike-Frequency Adaptation LIF. Benda & Herz 2003.
Fields§
§v: f64§g_sfa: f64§v_rest: f64§v_reset: f64§v_threshold: f64§tau_m: f64§tau_sfa: f64§delta_g: f64§e_k: f64§resistance: f64§dt: f64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SFANeuron
impl RefUnwindSafe for SFANeuron
impl Send for SFANeuron
impl Sync for SFANeuron
impl Unpin for SFANeuron
impl UnsafeUnpin for SFANeuron
impl UnwindSafe for SFANeuron
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