# README
BGate: Basal Ganglia Action & Thought Engagement
# Functions
STNNeuronVarByName returns the index of the variable in the STNNeuron, or error.
# Constants
D1R primarily expresses Dopamine D1 Receptors -- dopamine is excitatory and bursts of dopamine lead to increases in synaptic weight, while dips lead to decreases -- direct pathway in dorsal striatum.
D2R primarily expresses Dopamine D2 Receptors -- dopamine is inhibitory and bursts of dopamine lead to decreases in synaptic weight, while dips lead to increases -- indirect pathway in dorsal striatum.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NeuronVars are extra neuron variables for bgate.
NeuronVarsAll is the bgate collection of all neuron-level vars.
No description provided by the author
No description provided by the author
SynVarsAll is the bgate collection of all synapse-level vars (includes TraceSynVars).
No description provided by the author
# Structs
CaParams control the calcium dynamics in STN neurons.
CINLayer (cholinergic interneuron) reads reward signals from a named source layer and sends the absolute value of that activity as the positively-rectified non-prediction-discounted reward signal computed by CINs, and sent as an acetylcholine (ACh) signal.
Params for effects of dopamine (Da) based modulation, typically adding a Da-based term to the Ge excitatory synaptic input.
GPeInPrjn must be used with GPLayer.
GPiLayer represents the GPi / SNr output nucleus of the BG.
GPiPrjn must be used with GPi recv layer, from MtxGo, GPeIn senders.
GPiTraceParams for for trace-based learning in the GPiPrjn.
GPLayer represents the dorsal matrisome MSN's that are the main Go / NoGo gating units in BG.
Layer is the base layer type for BGate framework.
MatrixLayer represents the dorsal matrisome MSN's that are the main Go / NoGo gating units in BG.
MatrixParams has parameters for Dorsal Striatum Matrix computation These are the main Go / NoGo gating units in BG driving updating of PFC WM in PBWM.
MatrixPrjn does dopamine-modulated, gated trace learning, for Matrix learning in PBWM context.
MatrixTraceParams for for trace-based learning in the MatrixPrjn.
bgate.Network has methods for configuring specialized BGATE network components.
STNLayer represents the pausing subtype of STN neurons.
STNNeuron holds the extra neuron (unit) level variables for STN computation.
TraceSyn holds extra synaptic state for trace projections.
VThalLayer represents the Ventral thalamus: VA / VM / VL which receives BG gating.
# Type aliases
DaReceptors for D1R and D2R dopamine receptors.