pub struct ShortTermPlasticitySynapse {
pub x: f64,
pub u: f64,
pub u_base: f64,
pub tau_d: f64,
pub tau_f: f64,
pub amplitude: f64,
pub dt: f64,
}Expand description
Short-term plasticity (STP): facilitation and depression.
Tsodyks-Markram model of use-dependent synaptic dynamics on ms-to-s timescale.
dx/dt = (1 - x) / τ_d - u · x · δ(t_spike) du/dt = (U - u) / τ_f + U · (1 - u) · δ(t_spike) PSC = A · u · x · δ(t_spike)
x: available resources (depression), u: release probability (facilitation).
Reference: Tsodyks & Markram (1997), Markram et al. (1998).
Fields§
§x: f64§u: f64§u_base: f64§tau_d: f64§tau_f: f64§amplitude: f64§dt: f64Implementations§
Source§impl ShortTermPlasticitySynapse
impl ShortTermPlasticitySynapse
Sourcepub fn new_depressing() -> Self
pub fn new_depressing() -> Self
Depressing synapse (default).
Sourcepub fn new_facilitating() -> Self
pub fn new_facilitating() -> Self
Facilitating synapse.
pub fn reset(&mut self)
Trait Implementations§
Source§impl Clone for ShortTermPlasticitySynapse
impl Clone for ShortTermPlasticitySynapse
Source§fn clone(&self) -> ShortTermPlasticitySynapse
fn clone(&self) -> ShortTermPlasticitySynapse
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 moreAuto Trait Implementations§
impl Freeze for ShortTermPlasticitySynapse
impl RefUnwindSafe for ShortTermPlasticitySynapse
impl Send for ShortTermPlasticitySynapse
impl Sync for ShortTermPlasticitySynapse
impl Unpin for ShortTermPlasticitySynapse
impl UnsafeUnpin for ShortTermPlasticitySynapse
impl UnwindSafe for ShortTermPlasticitySynapse
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