pub struct MotorUnit {}Expand description
Motor unit — functional unit of motor control: alpha motor neuron + muscle fibre.
Each spike from the embedded LIF motor neuron triggers a muscle twitch. Force output is the summation of overlapping twitches (rate coding). Higher firing rates → more twitch overlap → higher force (tetanus).
Muscle twitch modelled as a critically-damped second-order system: f(t) = A * (t/τ) * exp(1 - t/τ), giving a smooth rise-then-decay.
Fuglevand et al., J. Neurophysiol. 70(6), 1993. Heckman & Enoka, Compr. Physiol. 2(4), 2012.
Fields§
§v: f64§v_rest: f64§v_reset: f64§v_threshold: f64§tau_m: f64§adapt: f64§tau_adapt: f64§a_adapt: f64§gain: f64§force: f64§twitch_amp: f64§tau_twitch: f64§force_decay: f64§dt: f64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MotorUnit
impl RefUnwindSafe for MotorUnit
impl Send for MotorUnit
impl Sync for MotorUnit
impl Unpin for MotorUnit
impl UnsafeUnpin for MotorUnit
impl UnwindSafe for MotorUnit
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