pub struct PacinianCorpuscle {
pub v: f64,
pub v_rest: f64,
pub v_reset: f64,
pub v_threshold: f64,
pub tau: f64,
pub prev_pressure: f64,
pub adapt: f64,
pub tau_adapt: f64,
pub gain: f64,
pub dt: f64,
}Expand description
Pacinian corpuscle — rapidly adapting (RA/RAII) mechanoreceptor.
Responds to vibration and transient pressure changes. Band-pass filtering via lamellar structure: only signals with rapid onset/offset produce responses. Derivative-like.
Based on Loewenstein & Skalak 1966 / Bell et al. 1994.
Fields§
§v: f64§v_rest: f64§v_reset: f64§v_threshold: f64§tau: f64§prev_pressure: f64§adapt: f64§tau_adapt: f64§gain: f64§dt: f64Implementations§
Trait Implementations§
Source§impl Clone for PacinianCorpuscle
impl Clone for PacinianCorpuscle
Source§fn clone(&self) -> PacinianCorpuscle
fn clone(&self) -> PacinianCorpuscle
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 PacinianCorpuscle
impl Debug for PacinianCorpuscle
Auto Trait Implementations§
impl Freeze for PacinianCorpuscle
impl RefUnwindSafe for PacinianCorpuscle
impl Send for PacinianCorpuscle
impl Sync for PacinianCorpuscle
impl Unpin for PacinianCorpuscle
impl UnsafeUnpin for PacinianCorpuscle
impl UnwindSafe for PacinianCorpuscle
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