Documentation
¶
Index ¶
- type AKPlot
- type GababPlot
- type KirPlot
- type MahpPlot
- type NMDAPlot
- type SKCaPlot
- type SahpPlot
- type SynCaPlot
- func (pl *SynCaPlot) CaAtT(ti int32, caM, caP, caD *float32)
- func (pl *SynCaPlot) Config(parent *tensorfs.Node, tabs lab.Tabber)
- func (pl *SynCaPlot) CurCa(ctime, utime float32, caM, caP, caD *float32)
- func (pl *SynCaPlot) MakeToolbar(p *tree.Plan)
- func (pl *SynCaPlot) TimeRun()
- func (pl *SynCaPlot) Update()
- type VGCCPlot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AKPlot ¶
type AKPlot struct { // AK function AK chans.AKParams // AKs simplified function AKs chans.AKsParams // starting voltage Vstart float32 `default:"-100"` // ending voltage Vend float32 `default:"100"` // voltage increment Vstep float32 `default:"0.01"` // number of time steps TimeSteps int // do spiking instead of voltage ramp TimeSpike bool // spiking frequency SpikeFreq float32 // time-run starting membrane potential TimeVstart float32 // time-run ending membrane potential TimeVend float32 Dir *tensorfs.Node `display:"-"` Tabs lab.Tabber `display:"-"` }
func (*AKPlot) GVRun ¶
func (pl *AKPlot) GVRun()
GVRun plots the conductance G (and other variables) as a function of V.
func (*AKPlot) MakeToolbar ¶
type GababPlot ¶
type GababPlot struct { // standard chans version of GABAB GABAstd chans.GABABParams // multiplier on GABAb as function of voltage GABAbv float64 `default:"0.1"` // offset of GABAb function GABAbo float64 `default:"10"` // GABAb reversal / driving potential GABAberev float64 `default:"-90"` // starting voltage Vstart float64 `default:"-90"` // ending voltage Vend float64 `default:"0"` // voltage increment Vstep float64 `default:"1"` // max number of spikes Smax int `default:"15"` // rise time constant RiseTau float64 // decay time constant -- must NOT be same as RiseTau DecayTau float64 // initial value of GsX driving variable at point of synaptic input onset -- decays expoentially from this start GsXInit float64 // time when peak conductance occurs, in TimeInc units MaxTime float64 `edit:"-"` // time constant factor used in integration: (Decay / Rise) ^ (Rise / (Decay - Rise)) TauFact float64 `edit:"-"` // total number of time steps to take TimeSteps int // time increment per step TimeInc float64 Dir *tensorfs.Node `display:"-"` Tabs lab.Tabber `display:"-"` }
func (*GababPlot) GVRun ¶
func (pl *GababPlot) GVRun()
GVRun plots the conductance G (and other variables) as a function of V.
func (*GababPlot) MakeToolbar ¶
type KirPlot ¶
type KirPlot struct { // kIR function Kir chans.KirParams // starting voltage Vstart float32 `default:"-100"` // ending voltage Vend float32 `default:"100"` // voltage increment Vstep float32 `default:"1"` // number of time steps TimeSteps int // do spiking instead of voltage ramp TimeSpike bool // spiking frequency SpikeFreq float32 // time-run starting membrane potential TimeVstart float32 // time-run ending membrane potential TimeVend float32 Dir *tensorfs.Node `display:"-"` Tabs lab.Tabber `display:"-"` }
func (*KirPlot) MakeToolbar ¶
type MahpPlot ¶
type MahpPlot struct { // mAHP function Mahp chans.MahpParams `display:"inline"` // starting voltage Vstart float32 `default:"-100"` // ending voltage Vend float32 `default:"100"` // voltage increment Vstep float32 `default:"1"` // number of time steps TimeSteps int // do spiking instead of voltage ramp TimeSpike bool // spiking frequency SpikeFreq float32 // time-run starting membrane potential TimeVstart float32 // time-run ending membrane potential TimeVend float32 Dir *tensorfs.Node `display:"-"` Tabs lab.Tabber `display:"-"` }
func (*MahpPlot) GVRun ¶
func (pl *MahpPlot) GVRun()
GVRun plots the conductance G (and other variables) as a function of V.
func (*MahpPlot) MakeToolbar ¶
type NMDAPlot ¶
type NMDAPlot struct { // standard NMDA implementation in chans NMDAStd chans.NMDAParams // multiplier on NMDA as function of voltage NMDAv float64 `default:"0.062"` // magnesium ion concentration -- somewhere between 1 and 1.5 MgC float64 // denominator of NMDA function NMDAd float64 `default:"3.57"` // NMDA reversal / driving potential NMDAerev float64 `default:"0"` // for old buggy NMDA: voff value to use BugVoff float64 // starting voltage Vstart float64 `default:"-90"` // ending voltage Vend float64 `default:"10"` // voltage increment Vstep float64 `default:"1"` // decay time constant for NMDA current -- rise time is 2 msec and not worth extra effort for biexponential Tau float64 `default:"100"` // number of time steps TimeSteps int // voltage for TimeRun TimeV float64 // NMDA Gsyn current input at every time step TimeGin float64 Dir *tensorfs.Node `display:"-"` Tabs lab.Tabber `display:"-"` }
func (*NMDAPlot) GVRun ¶
func (pl *NMDAPlot) GVRun()
GVRun plots the conductance G (and other variables) as a function of V.
func (*NMDAPlot) MakeToolbar ¶
type SKCaPlot ¶
type SKCaPlot struct { // SKCa params SKCa chans.SKCaParams // time constants for integrating Ca from spiking across M, P and D cascading levels CaParams kinase.CaSpikeParams // threshold of SK M gating factor above which the neuron cannot spike NoSpikeThr float32 `default:"0.5"` // Ca conc increment for M gating func plot CaStep float32 `default:"0.05"` // number of time steps TimeSteps int // do spiking instead of Ca conc ramp TimeSpike bool // spiking frequency SpikeFreq float32 Dir *tensorfs.Node `display:"-"` Tabs lab.Tabber `display:"-"` }
func (*SKCaPlot) GCaRun ¶
func (pl *SKCaPlot) GCaRun()
GCaRun plots the conductance G (and other variables) as a function of Ca.
func (*SKCaPlot) MakeToolbar ¶
type SahpPlot ¶
type SahpPlot struct { // sAHP function Sahp chans.SahpParams `display:"inline"` // starting calcium CaStart float32 `default:"0"` // ending calcium CaEnd float32 `default:"1.5"` // calcium increment CaStep float32 `default:"0.01"` // number of time steps TimeSteps int // time-run starting calcium TimeCaStart float32 // time-run CaD value at end of each theta cycle TimeCaD float32 Dir *tensorfs.Node `display:"-"` Tabs lab.Tabber `display:"-"` }
func (*SahpPlot) GCaRun ¶
func (pl *SahpPlot) GCaRun()
GCaRun plots the conductance G (and other variables) as a function of Ca.
func (*SahpPlot) MakeToolbar ¶
type SynCaPlot ¶
type SynCaPlot struct { // Ca time constants CaSpike kinase.CaSpikeParams `display:"inline"` CaDt kinase.CaDtParams `display:"inline"` Minit float64 Pinit float64 Dinit float64 // adjustment to dt to account for discrete time updating MdtAdj float64 `default:"0,0.11"` // adjustment to dt to account for discrete time updating PdtAdj float64 `default:"0,0.03"` // adjustment to dt to account for discrete time updating DdtAdj float64 `default:"0,0.03"` // number of time steps TimeSteps int Dir *tensorfs.Node `display:"-"` Tabs lab.Tabber `display:"-"` }
func (*SynCaPlot) CaAtT ¶
CaAtT computes the 3 Ca values at (currentTime + ti), assuming 0 new Ca incoming (no spiking). It uses closed-form exponential functions.
func (*SynCaPlot) CurCa ¶
CurCa returns the current Ca* values, dealing with updating for optimized spike-time update versions. ctime is current time in msec, and utime is last update time (-1 if never) to avoid running out of float32 precision, ctime should be reset periodically along with the Ca values -- in axon this happens during SlowAdapt.
func (*SynCaPlot) MakeToolbar ¶
type VGCCPlot ¶
type VGCCPlot struct { // VGCC function VGCC chans.VGCCParams // starting voltage Vstart float32 `default:"-90"` // ending voltage Vend float32 `default:"0"` // voltage increment Vstep float32 `default:"1"` // number of time steps TimeSteps int // do spiking instead of voltage ramp TimeSpike bool // spiking frequency SpikeFreq float32 // time-run starting membrane potential TimeVstart float32 // time-run ending membrane potential TimeVend float32 Dir *tensorfs.Node `display:"-"` Tabs lab.Tabber `display:"-"` }
func (*VGCCPlot) GVRun ¶
func (pl *VGCCPlot) GVRun()
GVRun plots the conductance G (and other variables) as a function of V.