Documentation ¶
Overview ¶
Package chans provides standard neural conductance channels for computing a point-neuron approximation based on the standard equivalent RC circuit model of a neuron (i.e., basic Ohms law equations). Includes excitatory, leak, inhibition, and dynamic potassium channels.
Index ¶
- type AKParams
- func (ap *AKParams) AlphaFmVK(vbio, k float32) float32
- func (ap *AKParams) BetaFmVK(vbio, k float32) float32
- func (ap *AKParams) DMHFmV(v, m, h float32) (float32, float32)
- func (ap *AKParams) Defaults()
- func (ap *AKParams) Distal()
- func (ap *AKParams) Gak(m, h float32) float32
- func (ap *AKParams) HFmV(vbio float32) float32
- func (ap *AKParams) HTauFmV(vbio float32) float32
- func (ap *AKParams) KFmV(vbio float32) float32
- func (ap *AKParams) MFmAlpha(alpha float32) float32
- func (ap *AKParams) MTauFmAlphaBeta(alpha, beta float32) float32
- func (ap *AKParams) Proximal()
- type Chans
- type GABABParams
- func (gp *GABABParams) BiExp(g, x float32) (dG, dX float32)
- func (gp *GABABParams) Defaults()
- func (gp *GABABParams) GABAB(gabaB, gabaBx, gi float32) (g, x float32)
- func (gp *GABABParams) GFmS(s float32) float32
- func (gp *GABABParams) GFmV(v float32) float32
- func (gp *GABABParams) GgabaB(gabaB, vm float32) float32
- func (gp *GABABParams) Update()
- type NMDAParams
- type VGCCParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AKParams ¶ added in v1.2.96
type AKParams struct { Gbar float32 `def:"0.01" desc:"strength of AK current"` Beta float32 `def:"0.01446,02039" desc:"multiplier for the beta term; 0.01446 for distal, 0.02039 for proximal dendrites"` Dm float32 `def:"0.5,0.25" desc:"Dm factor: 0.5 for distal, 0.25 for proximal"` Koff float32 `def:"1.8,1.5" desc:"offset for K, 1.8 for distal, 1.5 for proximal"` Voff float32 `def:"1,11" desc:"voltage offset for alpha and beta functions: 1 for distal, 11 for proximal"` Hf float32 `def:"0.1133,0.1112" desc:"h multiplier factor, 0.1133 for distal, 0.1112 for proximal"` }
AKParams control an A-type K Ca channel
func (*AKParams) AlphaFmVK ¶ added in v1.2.96
AlphaFmVK returns the Alpha function from vbio (not normalized, must not exceed 0)
func (*AKParams) BetaFmVK ¶ added in v1.2.96
BetaFmVK returns the Beta function from vbio (not normalized, must not exceed 0)
func (*AKParams) DMHFmV ¶ added in v1.2.96
DMHFmV returns the change at msec update scale in M, H factors as a function of V normalized (0-1)
func (*AKParams) Defaults ¶ added in v1.2.96
func (ap *AKParams) Defaults()
Defaults sets the parameters for distal dendrites
func (*AKParams) Distal ¶ added in v1.2.96
func (ap *AKParams) Distal()
Distal sets the parameters for distal dendrites
func (*AKParams) HFmV ¶ added in v1.2.96
HFmV returns the H gate value from vbio (not normalized, must not exceed 0)
func (*AKParams) HTauFmV ¶ added in v1.2.96
HTauFmV returns the HTau rate constant in msec from vbio (not normalized, must not exceed 0)
func (*AKParams) KFmV ¶ added in v1.2.96
KFmV returns the K value from vbio (not normalized, must not exceed 0)
func (*AKParams) MTauFmAlphaBeta ¶ added in v1.2.96
MTauFmAlphaBeta returns the MTau rate constant in msec from alpha, beta
type Chans ¶
type Chans struct { E float32 `desc:"excitatory sodium (Na) AMPA channels activated by synaptic glutamate"` L float32 `desc:"constant leak (potassium, K+) channels -- determines resting potential (typically higher than resting potential of K)"` I float32 `desc:"inhibitory chloride (Cl-) channels activated by synaptic GABA"` K float32 `desc:"gated / active potassium channels -- typically hyperpolarizing relative to leak / rest"` }
Chans are ion channels used in computing point-neuron activation function
func (*Chans) SetFmMinusOther ¶
SetFmMinusOther sets all the values from given value minus other Chans
func (*Chans) SetFmOtherMinus ¶
SetFmOtherMinus sets all the values from other Chans minus given value
type GABABParams ¶ added in v1.2.96
type GABABParams struct { RiseTau float32 `def:"45" desc:"rise time for bi-exponential time dynamics of GABA-B"` DecayTau float32 `def:"50" desc:"decay time for bi-exponential time dynamics of GABA-B"` Gbar float32 `def:"0.2" desc:"overall strength multiplier of GABA-B current"` Gbase float32 `` /* 130-byte string literal not displayed */ GiSpike float32 `def:"10" desc:"multiplier for converting Gi to equivalent GABA spikes"` MaxTime float32 `inactive:"+" desc:"time offset when peak conductance occurs, in msec, computed from RiseTau and DecayTau"` TauFact float32 `view:"-" desc:"time constant factor used in integration: (Decay / Rise) ^ (Rise / (Decay - Rise))"` }
GABABParams control the GABAB dynamics in PFC Maint neurons, based on Brunel & Wang (2001) parameters.
func (*GABABParams) BiExp ¶ added in v1.2.96
func (gp *GABABParams) BiExp(g, x float32) (dG, dX float32)
BiExp computes bi-exponential update, returns dG and dX deltas to add to g and x
func (*GABABParams) Defaults ¶ added in v1.2.96
func (gp *GABABParams) Defaults()
func (*GABABParams) GABAB ¶ added in v1.2.96
func (gp *GABABParams) GABAB(gabaB, gabaBx, gi float32) (g, x float32)
GABAB returns the updated GABA-B / GIRK activation and underlying x value based on current values and gi inhibitory conductance (proxy for GABA spikes)
func (*GABABParams) GFmS ¶ added in v1.2.96
func (gp *GABABParams) GFmS(s float32) float32
GFmS returns the GABA-B conductance as a function of GABA spiking rate, based on normalized spiking factor (i.e., Gi from FFFB etc)
func (*GABABParams) GFmV ¶ added in v1.2.96
func (gp *GABABParams) GFmV(v float32) float32
GFmV returns the GABA-B conductance as a function of normalized membrane potential
func (*GABABParams) GgabaB ¶ added in v1.2.96
func (gp *GABABParams) GgabaB(gabaB, vm float32) float32
GgabaB returns the overall net GABAB / GIRK conductance including Gbar, Gbase, and voltage-gating
func (*GABABParams) Update ¶ added in v1.2.96
func (gp *GABABParams) Update()
type NMDAParams ¶ added in v1.2.96
type NMDAParams struct { GeTot float32 `` /* 185-byte string literal not displayed */ Tau float32 `def:"100" desc:"decay time constant for NMDA current -- rise time is 2 msec and not worth extra effort for biexponential"` Gbar float32 `` /* 131-byte string literal not displayed */ }
NMDAParams control the NMDA dynamics, based on Brunel & Wang (2001) parameters.
func (*NMDAParams) Defaults ¶ added in v1.2.96
func (np *NMDAParams) Defaults()
func (*NMDAParams) GFmV ¶ added in v1.2.96
func (np *NMDAParams) GFmV(v float32) float32
GFmV returns the NMDA conductance as a function of normalized membrane potential
func (*NMDAParams) Gnmda ¶ added in v1.2.96
func (np *NMDAParams) Gnmda(nmda, vm float32) float32
Gnmda returns the NMDA net conductance from nmda activation and vm
func (*NMDAParams) NMDA ¶ added in v1.2.96
func (np *NMDAParams) NMDA(nmda, geraw, nmdaSyn float32) float32
NMDA returns the updated NMDA activation from current NMDA, GeRaw, and NMDASyn input
type VGCCParams ¶ added in v1.2.96
type VGCCParams struct {
Gbar float32 `def:"0.01" desc:"strength of VGCC current"`
}
VGCCParams control the standard L-type Ca channel
func (*VGCCParams) DMHFmV ¶ added in v1.2.96
func (np *VGCCParams) DMHFmV(v, m, h float32) (float32, float32)
DMHFmV returns the change at msec update scale in M, H factors as a function of V normalized (0-1)
func (*VGCCParams) Defaults ¶ added in v1.2.96
func (np *VGCCParams) Defaults()
func (*VGCCParams) GFmV ¶ added in v1.2.96
func (np *VGCCParams) GFmV(v float32) float32
GFmV returns the VGCC conductance as a function of normalized membrane potential
func (*VGCCParams) Gvgcc ¶ added in v1.2.96
func (np *VGCCParams) Gvgcc(vm, m, h float32) float32
Gvgcc returns the VGCC net conductance from m, h activation and vm
func (*VGCCParams) HFmV ¶ added in v1.2.96
func (np *VGCCParams) HFmV(vbio float32) float32
HFmV returns the H gate function from vbio (not normalized, must not exceed 0)
func (*VGCCParams) MFmV ¶ added in v1.2.96
func (np *VGCCParams) MFmV(vbio float32) float32
MFmV returns the M gate function from vbio (not normalized, must not exceed 0)
Directories ¶
Path | Synopsis |
---|---|
gababplot plots an equation updating over time in a etable.Table and Plot2D. This is a good starting point for any plotting to explore specific equations.
|
gababplot plots an equation updating over time in a etable.Table and Plot2D. This is a good starting point for any plotting to explore specific equations. |