Skip to main content

NeuronVariant

Enum NeuronVariant 

Source
pub enum NeuronVariant {
Show 80 variants Izhikevich(Izhikevich), AdEx(AdExNeuron), ExpIF(ExpIfNeuron), Lapicque(LapicqueNeuron), HomeostaticLif(HomeostaticLif), HodgkinHuxley(HodgkinHuxleyNeuron), TraubMiles(TraubMilesNeuron), WangBuzsaki(WangBuzsakiNeuron), ConnorStevens(ConnorStevensNeuron), DestexheThalamic(DestexheThalamicNeuron), HuberBraun(HuberBraunNeuron), GolombFS(GolombFSNeuron), Pospischil(PospischilNeuron), MainenSejnowski(MainenSejnowskiNeuron), DeSchutterPurkinje(DeSchutterPurkinjeNeuron), PlantR15(PlantR15Neuron), Prescott(PrescottNeuron), MihalasNiebur(MihalasNieburNeuron), GLIF(GLIFNeuron), GIFPopulation(GIFPopulationNeuron), AvRonCardiac(AvRonCardiacNeuron), DurstewitzDopamine(DurstewitzDopamineNeuron), HillTononi(HillTononiNeuron), BertramPhantom(BertramPhantomBurster), Yamada(YamadaNeuron), FitzHughNagumo(FitzHughNagumoNeuron), MorrisLecar(MorrisLecarNeuron), HindmarshRose(HindmarshRoseNeuron), ResonateAndFire(ResonateAndFireNeuron), FitzHughRinzel(FitzHughRinzelNeuron), McKean(McKeanNeuron), TermanWang(TermanWangOscillator), GutkinErmentrout(GutkinErmentroutNeuron), WilsonHR(WilsonHRNeuron), Chay(ChayNeuron), ChayKeizer(ChayKeizerNeuron), ShermanRinzelKeizer(ShermanRinzelKeizerNeuron), ButeraRespiratory(ButeraRespiratoryNeuron), EPropALIF(EPropALIFNeuron), SuperSpike(SuperSpikeNeuron), LearnableNeuron(LearnableNeuronModel), Pernarowski(PernarowskiNeuron), QuadraticIF(QuadraticIFNeuron), Theta(ThetaNeuron), PerfectIntegrator(PerfectIntegratorNeuron), GatedLIF(GatedLIFNeuron), NonlinearLIF(NonlinearLIFNeuron), SFA(SFANeuron), MAT(MATNeuron), KLIF(KLIFNeuron), InhibitoryLIF(InhibitoryLIFNeuron), ComplementaryLIF(ComplementaryLIFNeuron), ParametricLIF(ParametricLIFNeuron), NonResettingLIF(NonResettingLIFNeuron), AdaptiveThresholdIF(AdaptiveThresholdIFNeuron), SigmaDelta(SigmaDeltaNeuron), EnergyLIF(EnergyLIFNeuron), ClosedFormContinuous(ClosedFormContinuousNeuron), ChialvoMap(ChialvoMapNeuron), RulkovMap(RulkovMapNeuron), IbarzTanakaMap(IbarzTanakaMapNeuron), MedvedevMap(MedvedevMapNeuron), CazellesMap(CazellesMapNeuron), CourageNekorkinMap(CourageNekorkinMapNeuron), BrainScaleSAdEx(BrainScaleSAdExNeuron), SpiNNakerLIF(SpiNNakerLIFNeuron), NeuroGrid(NeuroGridNeuron), DPI(DPINeuron), MarderSTG(MarderSTGNeuron), RallCable(RallCableNeuron), BoothRinzel(BoothRinzelNeuron), Dendrify(DendrifyNeuron), LiquidTimeConstant(LiquidTimeConstantNeuron), ParallelSpiking(ParallelSpikingNeuron), FractionalLIF(FractionalLIFNeuron), StochasticIF(StochasticIFNeuron), GalvesLocherbach(GalvesLocherbachNeuron), SpikeResponse(SpikeResponseNeuron), GLM(GLMNeuron), Arcane(ArcaneNeuron),
}
Expand description

Enum dispatch across all neuron models that accept step(f64) -> i32.

Models with non-standard signatures (multi-input, integer-input, rate-output) are excluded — they require specialized projection wiring.

Variants§

§

Izhikevich(Izhikevich)

§

AdEx(AdExNeuron)

§

ExpIF(ExpIfNeuron)

§

Lapicque(LapicqueNeuron)

§

HomeostaticLif(HomeostaticLif)

§

HodgkinHuxley(HodgkinHuxleyNeuron)

§

TraubMiles(TraubMilesNeuron)

§

WangBuzsaki(WangBuzsakiNeuron)

§

ConnorStevens(ConnorStevensNeuron)

§

DestexheThalamic(DestexheThalamicNeuron)

§

HuberBraun(HuberBraunNeuron)

§

GolombFS(GolombFSNeuron)

§

Pospischil(PospischilNeuron)

§

MainenSejnowski(MainenSejnowskiNeuron)

§

DeSchutterPurkinje(DeSchutterPurkinjeNeuron)

§

PlantR15(PlantR15Neuron)

§

Prescott(PrescottNeuron)

§

MihalasNiebur(MihalasNieburNeuron)

§

GLIF(GLIFNeuron)

§

GIFPopulation(GIFPopulationNeuron)

§

AvRonCardiac(AvRonCardiacNeuron)

§

DurstewitzDopamine(DurstewitzDopamineNeuron)

§

HillTononi(HillTononiNeuron)

§

BertramPhantom(BertramPhantomBurster)

§

Yamada(YamadaNeuron)

§

FitzHughNagumo(FitzHughNagumoNeuron)

§

MorrisLecar(MorrisLecarNeuron)

§

HindmarshRose(HindmarshRoseNeuron)

§

ResonateAndFire(ResonateAndFireNeuron)

§

FitzHughRinzel(FitzHughRinzelNeuron)

§

McKean(McKeanNeuron)

§

TermanWang(TermanWangOscillator)

§

GutkinErmentrout(GutkinErmentroutNeuron)

§

WilsonHR(WilsonHRNeuron)

§

Chay(ChayNeuron)

§

ChayKeizer(ChayKeizerNeuron)

§

ShermanRinzelKeizer(ShermanRinzelKeizerNeuron)

§

ButeraRespiratory(ButeraRespiratoryNeuron)

§

EPropALIF(EPropALIFNeuron)

§

SuperSpike(SuperSpikeNeuron)

§

LearnableNeuron(LearnableNeuronModel)

§

Pernarowski(PernarowskiNeuron)

§

QuadraticIF(QuadraticIFNeuron)

§

Theta(ThetaNeuron)

§

PerfectIntegrator(PerfectIntegratorNeuron)

§

GatedLIF(GatedLIFNeuron)

§

NonlinearLIF(NonlinearLIFNeuron)

§

SFA(SFANeuron)

§

MAT(MATNeuron)

§

KLIF(KLIFNeuron)

§

InhibitoryLIF(InhibitoryLIFNeuron)

§

ComplementaryLIF(ComplementaryLIFNeuron)

§

ParametricLIF(ParametricLIFNeuron)

§

NonResettingLIF(NonResettingLIFNeuron)

§

AdaptiveThresholdIF(AdaptiveThresholdIFNeuron)

§

SigmaDelta(SigmaDeltaNeuron)

§

EnergyLIF(EnergyLIFNeuron)

§

ClosedFormContinuous(ClosedFormContinuousNeuron)

§

ChialvoMap(ChialvoMapNeuron)

§

RulkovMap(RulkovMapNeuron)

§

IbarzTanakaMap(IbarzTanakaMapNeuron)

§

MedvedevMap(MedvedevMapNeuron)

§

CazellesMap(CazellesMapNeuron)

§

CourageNekorkinMap(CourageNekorkinMapNeuron)

§

BrainScaleSAdEx(BrainScaleSAdExNeuron)

§

SpiNNakerLIF(SpiNNakerLIFNeuron)

§

NeuroGrid(NeuroGridNeuron)

§

DPI(DPINeuron)

§

MarderSTG(MarderSTGNeuron)

§

RallCable(RallCableNeuron)

§

BoothRinzel(BoothRinzelNeuron)

§

Dendrify(DendrifyNeuron)

§

LiquidTimeConstant(LiquidTimeConstantNeuron)

§

ParallelSpiking(ParallelSpikingNeuron)

§

FractionalLIF(FractionalLIFNeuron)

§

StochasticIF(StochasticIFNeuron)

§

GalvesLocherbach(GalvesLocherbachNeuron)

§

SpikeResponse(SpikeResponseNeuron)

§

GLM(GLMNeuron)

§

Arcane(ArcaneNeuron)

Implementations§

Source§

impl NeuronVariant

Source

pub fn step(&mut self, current: f64) -> i32

Source

pub fn reset(&mut self)

Source

pub fn soma_voltage(&self) -> f64

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> Ungil for T
where T: Send,