Skip to main content

NeuronVariant

Enum NeuronVariant 

Source
pub enum NeuronVariant {
Show 179 variants Izhikevich(Izhikevich), Izhikevich2007(Izhikevich2007Rk4), 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), SCScaledResetAdaptiveIF(SCScaledResetAdaptiveIFNeuron), GLIF(GLIFNeuron), SCFourStateGLIF(SCFourStateGLIFNeuron), GIFPopulation(GIFPopulationNeuron), AvRonCardiac(AvRonCardiacNeuron), DurstewitzDopamine(DurstewitzDopamineNeuron), HillTononi(HillTononiNeuron), BertramPhantom(BertramPhantomBurster), SCThreeStatePhantom(SCThreeStatePhantomBurster), Yamada(YamadaNeuron), FitzHughNagumo(FitzHughNagumoNeuron), MorrisLecar(MorrisLecarNeuron), HindmarshRose(HindmarshRoseNeuron), ResonateAndFire(ResonateAndFireNeuron), BalancedResonateAndFire(BalancedResonateAndFireNeuron), FitzHughRinzel(FitzHughRinzelNeuron), McKean(McKeanNeuron), SCTriangularMcKean(SCTriangularMcKeanNeuron), TermanWang(TermanWangOscillator), GutkinErmentrout(GutkinErmentroutNeuron), WilsonHR(WilsonHRNeuron), SCResettingWilsonHR(SCResettingWilsonHRNeuron), 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), SCResettingMAT(SCResettingMATNeuron), KLIF(KLIFNeuron), InhibitoryLIF(InhibitoryLIFNeuron), ComplementaryLIF(ComplementaryLIFNeuron), ParametricLIF(ParametricLIFNeuron), NonResettingLIF(NonResettingLIFNeuron), SCNonResettingAdaptiveLIF(SCNonResettingAdaptiveLIFNeuron), AdaptiveThresholdIF(AdaptiveThresholdIFNeuron), SigmaDelta(SigmaDeltaNeuron), SCSigmaDeltaAccumulator(SCSigmaDeltaAccumulatorNeuron), EnergyLIF(EnergyLIFNeuron), SCNormalizedEnergyLIF(SCNormalizedEnergyLIFNeuron), ClosedFormContinuous(ClosedFormContinuousNeuron), ChialvoMap(ChialvoMapNeuron), RulkovMap(RulkovMapNeuron), SCUpwardCrossingRulkovMap(SCUpwardCrossingRulkovMapNeuron), IbarzTanakaMap(IbarzTanakaMapNeuron), MedvedevMap(MedvedevMapNeuron), CazellesMap(CazellesMapNeuron), SCClippedLogisticBurstingMap(SCClippedLogisticBurstingMapNeuron), SCClippedRationalRecoveryMap(SCClippedRationalRecoveryMapNeuron), CourageNekorkinMap(CourageNekorkinMapNeuron), AiharaMap(AiharaMapNeuron), SCChaoticMap(SCChaoticMapNeuron), NagumoSatoMap(NagumoSatoMapNeuron), SCAdaptiveThresholdMap(SCAdaptiveThresholdMapNeuron), ErmentroutKopellMap(ErmentroutKopellMapNeuron), BrainScaleSAdEx(BrainScaleSAdExNeuron), SpiNNakerLIF(SpiNNakerLIFNeuron), NeuroGrid(NeuroGridNeuron), DPI(DPINeuron), Akida(AkidaNeuron), StochasticLIF(StochasticLIFNeuron), MarderSTG(MarderSTGNeuron), RallCable(RallCableNeuron), BoothRinzel(BoothRinzelNeuron), Dendrify(DendrifyNeuron), LiquidTimeConstant(LiquidTimeConstantNeuron), ParallelSpiking(ParallelSpikingNeuron), FractionalLIF(FractionalLIFNeuron), StochasticIF(StochasticIFNeuron), GalvesLocherbach(GalvesLocherbachNeuron), SpikeResponse(SpikeResponseNeuron), GLM(GLMNeuron), Arcane(ArcaneNeuron), MultiTimescale(MultiTimescaleNeuron), AttentionGated(AttentionGatedNeuron), PredictiveCoding(PredictiveCodingNeuron), SelfReferential(SelfReferentialNeuron), CompositionalBinding(CompositionalBindingNeuron), DifferentiableSurrogate(DifferentiableSurrogateNeuron), ContinuousAttractor(ContinuousAttractorNeuron), MetaPlastic(MetaPlasticNeuron), BendaHerz(BendaHerzNeuron), SCStochasticRateAdaptation(SCStochasticRateAdaptationNeuron), BrunelWang(BrunelWangNeuron), Poisson(PoissonNeuron), InhomogeneousPoisson(InhomogeneousPoissonNeuron), GammaRenewal(GammaRenewalNeuron), EscapeRate(EscapeRateNeuron), PVFastSpiking(PVFastSpikingNeuron), SST(SSTNeuron), VIP(VIPNeuron), Chandelier(ChandelierNeuron), CerebellarBasket(CerebellarBasketNeuron), Martinotti(MartinottiNeuron), AlphaMotor(AlphaMotorNeuron), GammaMotor(GammaMotorNeuron), UpperMotor(UpperMotorNeuron), Renshaw(RenshawCell), MotorUnitCell(MotorUnit), RetinalGanglion(RetinalGanglionCell), Merkel(MerkelCell), Pacinian(PacinianCorpuscle), NociceptorCell(Nociceptor), OlfactoryReceptor(OlfactoryReceptorNeuron), Granule(GranuleCell), Golgi(GolgiCell), Stellate(StellateCell), Lugaro(LugaroCell), UnipolarBrush(UnipolarBrushCell), DCN(DCNNeuron), PersistentNa(PersistentNaNeuron), Ih(IhNeuron), TTypeCa(TTypeCaNeuron), ATypeK(ATypeKNeuron), BK(BKNeuron), SK(SKNeuron), NMDA(NMDANeuron), SCWBNMDAMagnesiumBlock(SCWBNMDAMagnesiumBlockNeuron), MontbrioMPR(MontbrioMeanField), Brunel(BrunelNetwork), TUM(TUMNetwork), ElBoustani(ElBoustaniNetwork), GradedSynapse(GradedSynapseNeuron), GapJunction(GapJunctionNeuron), FHAxon(FrankenhaeUserHuxleyAxon), NodeOfRanvier(NodeOfRanvier), MyelinAxon(MyelinatedAxon), CardiacPurkinje(CardiacPurkinjeFibre), SmoothMuscle(SmoothMuscleCell), BetaCell(EndocrineBetaCell), WrAlphaCell(WrAlpha), WrCOBALIFCell(WrCOBALIF), WrCompteWMCell(WrCompteWM), WrTsodyksMarkramCell(WrTsodyksMarkram), WrPinskyRinzelCell(WrPinskyRinzel), WrHayL5Cell(WrHayL5), WrTwoCompLIFCell(WrTwoCompLIF), WrLoihiCUBACell(WrLoihiCUBA), WrLoihi2Cell(WrLoihi2), WrSpiNNaker2Cell(WrSpiNNaker2), WrTrueNorthCell(WrTrueNorth), WrIntegerQIFCell(WrIntegerQIF), WrMcCullochPittsCell(WrMcCullochPitts), WrSigmoidRateCell(WrSigmoidRate), WrThresholdLinearCell(WrThresholdLinear), WrAstrocyteCell(WrAstrocyte), WrInnerHairCellCell(WrInnerHairCell), WrOuterHairCellCell(WrOuterHairCell), WrRodPhotoreceptorCell(WrRodPhotoreceptor), WrConePhotoreceptorCell(WrConePhotoreceptor), WrTasteReceptorCell(WrTasteReceptor),
}
Expand description

Enum dispatch across all neuron models.

Models with non-standard signatures are wrapped via Wr* types to normalise to step(f64) -> i32.

Variants§

§

Izhikevich(Izhikevich)

§

Izhikevich2007(Izhikevich2007Rk4)

§

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)

§

SCScaledResetAdaptiveIF(SCScaledResetAdaptiveIFNeuron)

§

GLIF(GLIFNeuron)

§

SCFourStateGLIF(SCFourStateGLIFNeuron)

§

GIFPopulation(GIFPopulationNeuron)

§

AvRonCardiac(AvRonCardiacNeuron)

§

DurstewitzDopamine(DurstewitzDopamineNeuron)

§

HillTononi(HillTononiNeuron)

§

BertramPhantom(BertramPhantomBurster)

§

SCThreeStatePhantom(SCThreeStatePhantomBurster)

§

Yamada(YamadaNeuron)

§

FitzHughNagumo(FitzHughNagumoNeuron)

§

MorrisLecar(MorrisLecarNeuron)

§

HindmarshRose(HindmarshRoseNeuron)

§

ResonateAndFire(ResonateAndFireNeuron)

§

BalancedResonateAndFire(BalancedResonateAndFireNeuron)

§

FitzHughRinzel(FitzHughRinzelNeuron)

§

McKean(McKeanNeuron)

§

SCTriangularMcKean(SCTriangularMcKeanNeuron)

§

TermanWang(TermanWangOscillator)

§

GutkinErmentrout(GutkinErmentroutNeuron)

§

WilsonHR(WilsonHRNeuron)

§

SCResettingWilsonHR(SCResettingWilsonHRNeuron)

§

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)

§

SCResettingMAT(SCResettingMATNeuron)

§

KLIF(KLIFNeuron)

§

InhibitoryLIF(InhibitoryLIFNeuron)

§

ComplementaryLIF(ComplementaryLIFNeuron)

§

ParametricLIF(ParametricLIFNeuron)

§

NonResettingLIF(NonResettingLIFNeuron)

§

SCNonResettingAdaptiveLIF(SCNonResettingAdaptiveLIFNeuron)

§

AdaptiveThresholdIF(AdaptiveThresholdIFNeuron)

§

SigmaDelta(SigmaDeltaNeuron)

§

SCSigmaDeltaAccumulator(SCSigmaDeltaAccumulatorNeuron)

§

EnergyLIF(EnergyLIFNeuron)

§

SCNormalizedEnergyLIF(SCNormalizedEnergyLIFNeuron)

§

ClosedFormContinuous(ClosedFormContinuousNeuron)

§

ChialvoMap(ChialvoMapNeuron)

§

RulkovMap(RulkovMapNeuron)

§

SCUpwardCrossingRulkovMap(SCUpwardCrossingRulkovMapNeuron)

§

IbarzTanakaMap(IbarzTanakaMapNeuron)

§

MedvedevMap(MedvedevMapNeuron)

§

CazellesMap(CazellesMapNeuron)

§

SCClippedLogisticBurstingMap(SCClippedLogisticBurstingMapNeuron)

§

SCClippedRationalRecoveryMap(SCClippedRationalRecoveryMapNeuron)

§

CourageNekorkinMap(CourageNekorkinMapNeuron)

§

AiharaMap(AiharaMapNeuron)

§

SCChaoticMap(SCChaoticMapNeuron)

§

NagumoSatoMap(NagumoSatoMapNeuron)

§

SCAdaptiveThresholdMap(SCAdaptiveThresholdMapNeuron)

§

ErmentroutKopellMap(ErmentroutKopellMapNeuron)

§

BrainScaleSAdEx(BrainScaleSAdExNeuron)

§

SpiNNakerLIF(SpiNNakerLIFNeuron)

§

NeuroGrid(NeuroGridNeuron)

§

DPI(DPINeuron)

§

Akida(AkidaNeuron)

§

StochasticLIF(StochasticLIFNeuron)

§

MarderSTG(MarderSTGNeuron)

§

RallCable(RallCableNeuron)

§

BoothRinzel(BoothRinzelNeuron)

§

Dendrify(DendrifyNeuron)

§

LiquidTimeConstant(LiquidTimeConstantNeuron)

§

ParallelSpiking(ParallelSpikingNeuron)

§

FractionalLIF(FractionalLIFNeuron)

§

StochasticIF(StochasticIFNeuron)

§

GalvesLocherbach(GalvesLocherbachNeuron)

§

SpikeResponse(SpikeResponseNeuron)

§

GLM(GLMNeuron)

§

Arcane(ArcaneNeuron)

§

MultiTimescale(MultiTimescaleNeuron)

§

AttentionGated(AttentionGatedNeuron)

§

PredictiveCoding(PredictiveCodingNeuron)

§

SelfReferential(SelfReferentialNeuron)

§

CompositionalBinding(CompositionalBindingNeuron)

§

DifferentiableSurrogate(DifferentiableSurrogateNeuron)

§

ContinuousAttractor(ContinuousAttractorNeuron)

§

MetaPlastic(MetaPlasticNeuron)

§

BendaHerz(BendaHerzNeuron)

§

SCStochasticRateAdaptation(SCStochasticRateAdaptationNeuron)

§

BrunelWang(BrunelWangNeuron)

§

Poisson(PoissonNeuron)

§

InhomogeneousPoisson(InhomogeneousPoissonNeuron)

§

GammaRenewal(GammaRenewalNeuron)

§

EscapeRate(EscapeRateNeuron)

§

PVFastSpiking(PVFastSpikingNeuron)

§

SST(SSTNeuron)

§

VIP(VIPNeuron)

§

Chandelier(ChandelierNeuron)

§

CerebellarBasket(CerebellarBasketNeuron)

§

Martinotti(MartinottiNeuron)

§

AlphaMotor(AlphaMotorNeuron)

§

GammaMotor(GammaMotorNeuron)

§

UpperMotor(UpperMotorNeuron)

§

Renshaw(RenshawCell)

§

MotorUnitCell(MotorUnit)

§

RetinalGanglion(RetinalGanglionCell)

§

Merkel(MerkelCell)

§

Pacinian(PacinianCorpuscle)

§

NociceptorCell(Nociceptor)

§

OlfactoryReceptor(OlfactoryReceptorNeuron)

§

Granule(GranuleCell)

§

Golgi(GolgiCell)

§

Stellate(StellateCell)

§

Lugaro(LugaroCell)

§

UnipolarBrush(UnipolarBrushCell)

§

DCN(DCNNeuron)

§

PersistentNa(PersistentNaNeuron)

§

Ih(IhNeuron)

§

TTypeCa(TTypeCaNeuron)

§

ATypeK(ATypeKNeuron)

§

BK(BKNeuron)

§

SK(SKNeuron)

§

NMDA(NMDANeuron)

§

SCWBNMDAMagnesiumBlock(SCWBNMDAMagnesiumBlockNeuron)

§

MontbrioMPR(MontbrioMeanField)

§

Brunel(BrunelNetwork)

§

TUM(TUMNetwork)

§

ElBoustani(ElBoustaniNetwork)

§

GradedSynapse(GradedSynapseNeuron)

§

GapJunction(GapJunctionNeuron)

§

FHAxon(FrankenhaeUserHuxleyAxon)

§

NodeOfRanvier(NodeOfRanvier)

§

MyelinAxon(MyelinatedAxon)

§

CardiacPurkinje(CardiacPurkinjeFibre)

§

SmoothMuscle(SmoothMuscleCell)

§

BetaCell(EndocrineBetaCell)

§

WrAlphaCell(WrAlpha)

§

WrCOBALIFCell(WrCOBALIF)

§

WrCompteWMCell(WrCompteWM)

§

WrTsodyksMarkramCell(WrTsodyksMarkram)

§

WrPinskyRinzelCell(WrPinskyRinzel)

§

WrHayL5Cell(WrHayL5)

§

WrTwoCompLIFCell(WrTwoCompLIF)

§

WrLoihiCUBACell(WrLoihiCUBA)

§

WrLoihi2Cell(WrLoihi2)

§

WrSpiNNaker2Cell(WrSpiNNaker2)

§

WrTrueNorthCell(WrTrueNorth)

§

WrIntegerQIFCell(WrIntegerQIF)

§

WrMcCullochPittsCell(WrMcCullochPitts)

§

WrSigmoidRateCell(WrSigmoidRate)

§

WrThresholdLinearCell(WrThresholdLinear)

§

WrAstrocyteCell(WrAstrocyte)

§

WrInnerHairCellCell(WrInnerHairCell)

§

WrOuterHairCellCell(WrOuterHairCell)

§

WrRodPhotoreceptorCell(WrRodPhotoreceptor)

§

WrConePhotoreceptorCell(WrConePhotoreceptor)

§

WrTasteReceptorCell(WrTasteReceptor)

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.

§

impl<T, A> IntoAst<A> for T
where T: Into<A>, A: Ast,

§

fn into_ast(self, _a: &A) -> A

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> Same for T

Source§

type Output = T

Should always be Self
§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

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

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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<T> Ungil for T
where T: Send,

§

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

§

fn vzip(self) -> V