- based on VDB, VGSC open and let Na+ in. VGSG then go into refractory
- if Na fullness then ApCtx. Here the threshold is based only on the integration of Na+
- increase SpikeTrainTraces (fast at spike)
- increase Ca2+ traces
- decrease Na: fast pump which decreases Na+, we do not model K+
-- there is a tug of war between Na entering and exiting. Na can reach fullness only if VDB increases fast (derivative)
- there are 2 context: ApCtx and RefractorySoma imlemented with timers and tunable
- decrease SpikeTraintraces slow, only if away from spiketrain this is empty
- Tune:
-- The threshold is tuned during the spiketrain. Low threshold at rest, to increase sensitivity, threshold increase during spike to increase discrimination
— secs:
- SpikeTrainTraces
— mins:
- Tune:
-- refractory lenght
---
**Tubs:**
- **VDB**: dendrites deliver current
- **Na**: are a proxy for the Coulombs of charge building up on the somatic membrane. They are used to check threshold, but also to mimic Na+ and K+ pumping
- **Ca2+**: Medium term traces to guide tuning and Night development. It is a local trace, ATP is a global (Astrocyte)
- **SpikeTrainTraces**: sono le tracce che consentono al neurone di far partire il Tuning neuronale, quando e' lontano da uno spike-train, ovvero e' in riposo.
As dendrites deliver current (VDB), the soma acts like a capacitor. It "stores" this charge in the form of membrane potential. This contextualizes VGSC-SOMA to open ion channels that let Na+ ions in.
This only applies if not ApCtx, or in other words, SOMA is not in refractory period.
```Gen
check_tpc: VDB-Concentration
contained_by: SOMA
tpc: any
rf: ( active: 60x )
condition: (VDB fullness ) AND NOT ApCtx
out_tpc: VDBMaxCtx
condition: ( VDB mediumness ) AND NOT ApCtx
out_tpc: VDBMediumCtx
condition: ( VDB emptiness ) AND NOT ApCtx
out_tpc: VDBLowCtx
```
#### SomaSpill: interacting
```Gen
interacting: SomaSpill
contained_by: SOMA
context: any
rf: ( active: 8x )
hypothesis: NOT NA emptiness
action: [ decrease NA ]
trace:
```
#### SomaSpike: check_tpc
Qui siamo nella fase effettiva di spike, non refractory che viene dopo. Fa da contesto di durata fra un RF ed un altro.
condition: ( Na fullness ) AND ( RefractorySoma emptiness )
out_context: ApCtx
out_context: bApCtx
```
#### ApBeh: interacting
Durante la fase effettiva di spike, eliminiamo Na accumulati, riempiamo RefractorySoma per fase di refractory e riempiamo Ca2+ per le tracce medio termine di potenziamento/depotenziamento.