pub struct DirectionSelectiveRGC {
pub v: f64,
pub tau: f64,
pub theta: f64,
pub dt: f64,
pub is_on_centre: bool,
prev_intensity: f64,
surround: f64,
pub w_centre: f64,
pub w_surround: f64,
pub direction_pref: f64,
}Expand description
Direction-selective retinal ganglion cell (DS-RGC) with On/Off sub-types.
Models the centre-surround receptive field with temporal derivative for direction selectivity. On-centre RGC responds to light increments, Off-centre responds to decrements.
response = w_c · (I - I_prev) ± w_s · surround_inhibition spike if response > θ
Reference: Gollisch & Meister (2010) “Eye smarter than scientists believed”, Masland (2012) “The neuronal organization of the retina”.
Fields§
§v: f64§tau: f64§theta: f64§dt: f64§is_on_centre: bool§prev_intensity: f64§surround: f64§w_centre: f64§w_surround: f64§direction_pref: f64Implementations§
Trait Implementations§
Source§impl Clone for DirectionSelectiveRGC
impl Clone for DirectionSelectiveRGC
Source§fn clone(&self) -> DirectionSelectiveRGC
fn clone(&self) -> DirectionSelectiveRGC
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 DirectionSelectiveRGC
impl Debug for DirectionSelectiveRGC
Auto Trait Implementations§
impl Freeze for DirectionSelectiveRGC
impl RefUnwindSafe for DirectionSelectiveRGC
impl Send for DirectionSelectiveRGC
impl Sync for DirectionSelectiveRGC
impl Unpin for DirectionSelectiveRGC
impl UnsafeUnpin for DirectionSelectiveRGC
impl UnwindSafe for DirectionSelectiveRGC
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