Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActParams ¶
type ActParams struct { leabra.ActParams Spike SpikeParams `view:"inline" desc:"spiking parameters"` }
ActParams is full set of activation params including those from base leabra and the additional Spiking-specific ones.
func (*ActParams) SpikeActFmVm ¶
SpikeActFmVm computes the discrete spiking activation from membrane potential Vm
func (*ActParams) SpikeVmFmG ¶
type SpikeParams ¶
type SpikeParams struct { Exp bool `` /* 476-byte string literal not displayed */ ExpSlope float32 `` /* 365-byte string literal not displayed */ ExpThr float32 `` /* 127-byte string literal not displayed */ VmR float32 `` /* 209-byte string literal not displayed */ Tr int `` /* 127-byte string literal not displayed */ MaxHz float32 `` /* 265-byte string literal not displayed */ RateTau float32 `def:"5" min:"1" desc:"constant for integrating the spiking interval in estimating spiking rate"` RateDt float32 `view:"-" desc:"rate = 1 / tau"` }
SpikeParams contains spiking activation function params. Implements the AdEx adaptive exponential function
func (*SpikeParams) ActFmISI ¶
func (sk *SpikeParams) ActFmISI(isi, timeInc, integ float32) float32
ActFmISI computes rate-code activation from estimated spiking interval
func (*SpikeParams) ActToISI ¶
func (sk *SpikeParams) ActToISI(act, timeInc, integ float32) float32
ActToISI compute spiking interval from a given rate-coded activation, based on time increment (.001 = 1msec default), Act.Dt.Integ
func (*SpikeParams) AvgFmISI ¶
func (sk *SpikeParams) AvgFmISI(avg *float32, isi float32)
AvgFmISI updates spiking ISI from current isi interval value
func (*SpikeParams) Defaults ¶
func (sk *SpikeParams) Defaults()
func (*SpikeParams) Update ¶
func (sk *SpikeParams) Update()
Click to show internal directories.
Click to hide internal directories.