pub struct ErmentroutKopellMapNeuron {
pub theta: f64,
pub dt: f64,
pub gain: f64,
pub theta_threshold: f64,
}Expand description
Ermentrout-Kopell canonical Type I — theta neuron in map form.
The canonical model for Type I (saddle-node) excitability. theta(n+1) = theta(n) + dt * (1 - cos(theta)) + (1 + cos(theta)) * I Spike when theta crosses pi.
Ermentrout & Kopell, SIAM J Appl Math 46:233, 1986.
Fields§
§theta: f64§dt: f64§gain: f64§theta_threshold: f64Implementations§
Trait Implementations§
Source§impl Clone for ErmentroutKopellMapNeuron
impl Clone for ErmentroutKopellMapNeuron
Source§fn clone(&self) -> ErmentroutKopellMapNeuron
fn clone(&self) -> ErmentroutKopellMapNeuron
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ErmentroutKopellMapNeuron
impl Debug for ErmentroutKopellMapNeuron
Auto Trait Implementations§
impl Freeze for ErmentroutKopellMapNeuron
impl RefUnwindSafe for ErmentroutKopellMapNeuron
impl Send for ErmentroutKopellMapNeuron
impl Sync for ErmentroutKopellMapNeuron
impl Unpin for ErmentroutKopellMapNeuron
impl UnsafeUnpin for ErmentroutKopellMapNeuron
impl UnwindSafe for ErmentroutKopellMapNeuron
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