2026-04-14 12:05:22 +02:00
# soma.md
2026-05-11 23:44:52 +02:00
prova edit
2026-04-07 11:06:44 +02:00
Qui comprendiamo:
2026-04-15 17:37:29 +02:00
- SOMA: il soma
- VGSC-SOMA-H: Na ion channels. Open only when VDB high
- VGSC-SOMA-M: Na ion channels. Open only when VDB medium
- VGSC-SOMA-L: Na ion channels. Open only when VDB low
2026-04-07 11:06:44 +02:00
2026-04-18 11:06:05 +02:00
## SOMA: container
2026-04-15 17:37:29 +02:00
---
2026-04-07 11:06:44 +02:00
2026-04-16 11:02:50 +02:00
**Simplified verifiable behaviors ** :
2026-04-07 11:06:44 +02:00
2026-04-08 10:58:25 +02:00
— ms:
2026-04-07 11:06:44 +02:00
2026-04-15 11:25:58 +02:00
- Resting at -70 mV: Leak channels + pumps (keep at resting)
- VDB Depolarization : ~1-2 ms: Na⁺ enters (some VGSCs open)
2026-04-16 11:02:50 +02:00
- Opened VGSC and then remain closed for a refractory period
- Spike if depolarized above threshold: to -50 mV
- Ca2+ enter
2026-04-15 11:25:58 +02:00
- Repolarization to -70 mV: ~1-2 ms: K⁺ exits (VG K⁺ channels open) ← NOT pumps!
- After-hyperpolarization: ~5-20 ms: K⁺ channels still open
2026-04-16 11:02:50 +02:00
— secs:
2026-04-07 11:06:44 +02:00
2026-04-15 11:25:58 +02:00
- Return to exact -70 mV: ~100-1000 ms: Na⁺/K⁺ pumps restore gradients
2026-04-16 11:02:50 +02:00
- Ca2+ accumulation
2026-04-07 11:06:44 +02:00
— mins:
2026-04-10 11:35:39 +02:00
- VGSC modulation
2026-04-07 11:06:44 +02:00
---
2026-03-07 12:26:39 +01:00
2026-04-16 11:02:50 +02:00
**G expression ** :
— ms:
2026-04-17 08:42:07 +02:00
- based on VDB, VGSC open and let Na+ in. VGSG then go into refractory
2026-04-17 08:51:07 +02:00
- if Na fullness then ApCtx. Here the threshold is based only on the integration of Na+
2026-04-16 11:02:50 +02:00
- increase SpikeTrainTraces (fast at spike)
- increase Ca2+ traces
2026-04-17 08:42:07 +02:00
- 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)
2026-04-17 08:51:07 +02:00
- there are 2 context: ApCtx and RefractorySoma imlemented with timers and tunable
2026-04-16 11:02:50 +02:00
- decrease SpikeTraintraces slow, only if away from spiketrain this is empty
2026-04-17 08:42:07 +02:00
- Tune:
-- The threshold is tuned during the spiketrain. Low threshold at rest, to increase sensitivity, threshold increase during spike to increase discrimination
2026-04-16 11:02:50 +02:00
— secs:
- SpikeTrainTraces
— mins:
2026-04-17 08:42:07 +02:00
- Tune:
-- refractory lenght
2026-04-16 11:02:50 +02:00
---
2026-04-08 12:04:49 +02:00
**Tubs: **
2026-04-10 11:35:39 +02:00
- **VDB**: dendrites deliver current
2026-04-15 12:13:52 +02:00
- **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
2026-04-10 11:35:39 +02:00
2026-04-15 12:22:28 +02:00
- **Ca2+**: Medium term traces to guide tuning and Night development. It is a local trace, ATP is a global (Astrocyte)
2026-04-15 12:13:52 +02:00
2026-04-10 11:35:39 +02:00
- **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.
2026-04-08 12:04:49 +02:00
2026-04-17 11:06:01 +02:00
- **RefractorySoma**: tracce di refractory
2026-04-08 12:04:49 +02:00
---
2026-03-07 12:26:39 +01:00
``` Gen
2026-04-15 17:37:29 +02:00
container: SOMA
2026-03-07 12:26:39 +01:00
expansion:
2026-05-10 14:22:53 +00:00
- VGSC-SOMA-H ( full: 50x, active: 20x, empty: 10x )
2026-04-15 17:37:29 +02:00
# modulated_by: VGSC-SOMA-H-TUN # possible/actual
2026-05-10 14:22:53 +00:00
- VGSC-SOMA-M ( full: 50x, active: 20x, empty: 10x )
2026-04-15 17:37:29 +02:00
# modulated_by: VGSC-SOMA-M-TUN # possible/actual
2026-05-10 14:22:53 +00:00
- VGSC-SOMA-L ( full: 50x, active: 20x, empty: 10x )
2026-04-15 17:37:29 +02:00
# modulated_by: VGSC-SOMA-L-TUN # possible/actual
2026-04-07 17:55:56 +02:00
tub_local:
- VDB
2026-04-15 12:13:52 +02:00
- Na
- Ca2+
2026-04-17 11:06:01 +02:00
- RefractorySoma
2026-04-15 12:13:52 +02:00
tub_intricated:
- SpikeTrainTraces ( contained_in: DAY-N )
2026-03-07 12:26:39 +01:00
```
2026-04-15 17:49:50 +02:00
### ms: SOMA
2026-04-10 11:35:39 +02:00
2026-05-10 14:22:53 +00:00
#### SOMA-Status: contextor
2026-04-10 11:35:39 +02:00
2026-04-15 17:37:29 +02:00
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.
2026-03-07 12:26:39 +01:00
2026-04-17 08:51:07 +02:00
This only applies if not ApCtx, or in other words, SOMA is not in refractory period.
2026-04-15 17:49:50 +02:00
2026-03-07 12:26:39 +01:00
``` Gen
2026-05-10 14:22:53 +00:00
SOMA-Status: ( active: 60x )
type: contextor
2026-04-15 17:37:29 +02:00
contained_by: SOMA
2026-04-10 11:35:39 +02:00
2026-04-20 14:08:24 +02:00
in_context: any
2026-05-11 16:38:31 +00:00
condition: ( VDB fullness ) AND NOT AP_ctx
out_context: VDBMax_Ctx
2026-03-07 12:26:39 +01:00
2026-05-11 16:38:31 +00:00
condition: ( VDB mediumness ) AND NOT AP_ctx
out_context: VDBMedium_ctx
2026-04-10 11:35:39 +02:00
2026-05-11 16:38:31 +00:00
condition: ( VDB emptiness ) AND NOT Ap_ctx
out_context: VDBLow_ctx
2026-04-19 21:44:49 +02:00
2026-05-11 16:38:31 +00:00
condition: NOT ( Na empty )
out_context: NaSpill_ctx
2026-04-19 21:44:49 +02:00
2026-05-11 16:38:31 +00:00
condition: NOT ( RefractorySoma empty )
out_context: RefractorySoma_ctx
2026-04-19 21:44:49 +02:00
```
2026-05-10 14:22:53 +00:00
#### SomaSpike: contextor
2026-03-07 12:26:39 +01:00
2026-04-20 12:10:31 +02:00
Il fatto che mettiamo il check di AP separato dal check del Soma-Status, e' perche' vogliamo poter avere un RF specifico per AP, eventualmente tunabile.
2026-04-17 08:42:07 +02:00
Qui siamo nella fase effettiva di spike, non refractory che viene dopo. Fa da contesto di durata fra un RF ed un altro.
2026-04-10 11:35:39 +02:00
2026-04-19 21:44:49 +02:00
La fullness di Na rappresenta il threshold e puo' essere modificato. La fullness di RefractorySoma rappresenta la lunghezza del refractory.
2026-04-10 11:35:39 +02:00
``` Gen
2026-05-10 14:22:53 +00:00
SomaSpike: ( active: 30x )
type: contextor
2026-04-15 17:37:29 +02:00
contained_by: SOMA
2026-04-10 11:35:39 +02:00
2026-04-20 14:08:24 +02:00
in_context: any
2026-05-10 14:22:53 +00:00
condition: ( Na fullness ) AND ( RefractorySoma emptiness )
out_context: AP_ctx
out_context: bAp_ctx
2026-04-10 11:35:39 +02:00
```
2026-05-10 14:22:53 +00:00
#### ActiveAP: accumulator
2026-04-17 08:42:07 +02:00
2026-04-20 15:54:49 +02:00
Durante la fase effettiva di spike:
- eliminiamo Na accumulati. Qui ad un RF molto maggiore che con NaSpill. In teoria qui dovremmo eliminare tutti gli Na e NaSpill potrebbe non servire.
- riempiamo RefractorySoma per fase di refractory
- riempiamo Ca2+ per le tracce medio termine di potenziamento/depotenziamento.
2026-04-10 11:45:06 +02:00
``` Gen
2026-05-10 14:22:53 +00:00
ActiveAP: ( active: 8x )
type: accumulator
2026-04-15 17:37:29 +02:00
contained_by: SOMA
2026-04-10 11:45:06 +02:00
2026-05-10 14:22:53 +00:00
in_context: Ap_ctx
hypothesis: NOT Na empty
action: [ decrease Na ]
trace:
2026-04-10 11:45:06 +02:00
2026-05-10 14:22:53 +00:00
hypothesis: NOT RefractorySoma full
action: [ increase RefractorySoma ]
trace:
2026-04-17 08:42:07 +02:00
2026-05-10 14:22:53 +00:00
hypothesis: NOT Ca2+ full
action: [ increase Ca2+ ]
trace:
2026-04-10 11:45:06 +02:00
```
2026-05-10 14:22:53 +00:00
#### NaSpill: accumulator
2026-04-20 12:10:31 +02:00
2026-04-20 15:54:49 +02:00
Questo potrebbe non servire se eliminiamo tutti Na durante ActiveAP.
2026-04-20 12:10:31 +02:00
``` Gen
2026-05-10 14:22:53 +00:00
NaSpill: ( active: 8x )
type: accumulator
2026-04-20 12:10:31 +02:00
contained_by: SOMA
2026-04-20 14:08:24 +02:00
in_context: NaSpill_ctx
2026-05-10 14:22:53 +00:00
hypothesis: NOT ( Na emptiness )
action: [ decrease Na ]
trace:
2026-04-20 12:10:31 +02:00
```
2026-05-10 14:22:53 +00:00
#### RefractorySomaSpill: accumulator
2026-04-19 21:44:49 +02:00
2026-04-20 15:54:49 +02:00
Lo spill deve essere piu' lento dell'increase che avviene in ActiveAP
2026-04-10 11:45:06 +02:00
``` Gen
2026-05-10 14:22:53 +00:00
RefractorySomaSpill: ( active: 16x )
type: accumulator
2026-04-15 17:37:29 +02:00
contained_by: SOMA
2026-04-10 11:45:06 +02:00
2026-04-20 14:08:24 +02:00
in_context: RefractorySoma_ctx
2026-05-10 14:22:53 +00:00
hypothesis: NOT ( RefractorySoma empty )
action: [ decrease RefractorySoma ]
trace:
2026-04-14 11:16:41 +02:00
```
2026-04-15 17:49:50 +02:00
### sec: SOMA
2026-04-14 11:16:41 +02:00
2026-04-15 17:49:50 +02:00
### min: SOMA
2026-04-14 11:16:41 +02:00
2026-04-18 11:06:05 +02:00
## VGSC-SOMA-H: container
2026-03-07 12:26:39 +01:00
2026-04-16 09:30:58 +02:00
Voltage Gated Sodium Channel: difficult to open (High)
2026-04-08 18:28:34 +02:00
2026-03-07 12:26:39 +01:00
``` Gen
2026-04-15 17:37:29 +02:00
container: VGSC-SOMA-H
2026-03-07 12:26:39 +01:00
2026-04-19 21:44:49 +02:00
tub_local:
RefractoryH ( full: 60x, active: 30x, empty: 0x )
2026-04-16 09:30:58 +02:00
tub_intricated:
Na ( contained_in: SOMA)
2026-04-21 09:56:37 +02:00
context_intricated:
VDBMaxCtx ( contained_by: SOMA )
2026-03-07 12:26:39 +01:00
```
2026-04-15 17:49:50 +02:00
### sec: VGSC-SOMA-H
2026-05-10 14:22:53 +00:00
#### VGSC-H_Status: contextor
2026-04-10 11:35:39 +02:00
2026-04-20 14:08:24 +02:00
Il check su refractory deve essere fatto ad un RF maggiore della eliminazione di Refractory. Questo perche' e' un era nella quale avviene l'episodio.
2026-04-16 10:11:51 +02:00
2026-04-15 17:37:29 +02:00
``` Gen
2026-05-10 14:22:53 +00:00
VGSC-H_Status: ( active: 60x )
type: contextor
2026-04-19 21:44:49 +02:00
contained_by: VGSC-SOMA-H
2026-04-15 17:37:29 +02:00
2026-04-20 14:08:24 +02:00
in_context: any
2026-05-10 14:22:53 +00:00
condition: VDBMaxCtx AND ( RefractoryH emptiness )
out_context: NaEnterH_Ctx
2026-04-15 17:37:29 +02:00
2026-05-10 14:22:53 +00:00
condition: ( RefractoryH mediumness ) OR ( RefractoryH fullness )
out_context: RefractoryHSpill_ctx
2026-04-16 09:30:58 +02:00
```
2026-05-10 14:22:53 +00:00
#### NaEnterH: accumulator
2026-04-16 09:30:58 +02:00
2026-04-19 21:44:49 +02:00
Se metto il controllo sulla (NOT Ready fullness) il VGSC puo' far entrare un numero di Na non superiore ad un massimo.
Questo sopra è il commmento della versione precedente, ora la quantità di NA increase dipende dal rf di VGSC-H_TPC dato che li c'è la condition sulla presenza delle traccie di refractory
2026-04-16 09:32:28 +02:00
2026-04-16 09:30:58 +02:00
``` Gen
2026-05-10 14:22:53 +00:00
NaEnterH: ( active: 1x )
type: accumulator
2026-04-20 17:49:16 +00:00
contained_by: VGSC-SOMA-H
2026-04-16 09:30:58 +02:00
2026-05-10 14:22:53 +00:00
in_context: NaEnterH_ctx
hypothesis: ( NOT Na full )
action: [ Na increase]
trace: None
2026-04-19 21:44:49 +02:00
2026-05-10 14:22:53 +00:00
hypothesis: ( NOT RefractoryH full )
action: [ RefractoryH increase ]
trace: None
2026-04-16 09:30:58 +02:00
```
2026-05-10 14:22:53 +00:00
#### RefractoryHSpill: accumulator
2026-04-16 09:30:58 +02:00
2026-04-19 21:44:49 +02:00
Lo Spill deve avere un rf maggiore dell'interacting che incrementa RefractoryH (interactor precedente)
2026-04-16 10:11:51 +02:00
2026-04-16 09:30:58 +02:00
``` Gen
2026-05-10 14:22:53 +00:00
RefractoryHSpill: ( active: 1x )
type: accumulator
2026-04-20 17:49:16 +00:00
contained_by: VGSC-SOMA-H
2026-04-16 09:30:58 +02:00
2026-04-20 14:08:24 +02:00
in_context: RefractoryHSpill_ctx
2026-05-10 14:22:53 +00:00
hypothesis: NOT ( RefractoryH empty )
action: [ RefractoryH decrease ]
trace: None
2026-04-15 17:37:29 +02:00
```
2026-04-18 11:06:05 +02:00
## VGSC-SOMA-M: container
2026-04-15 17:37:29 +02:00
2026-04-19 21:44:49 +02:00
Voltage Gated Sodium Channel: less difficult to open (Medium)
2026-04-15 17:37:29 +02:00
``` Gen
container: VGSC-SOMA-M
2026-04-19 21:44:49 +02:00
tub_local:
RefractoryM ( full: 60x, active: 30x, empty: 0x )
tub_intricated:
Na ( contained_in: SOMA)
2026-04-21 09:56:37 +02:00
context_intricated:
VDBMedCtx ( contained_by: SOMA )
2026-04-15 17:37:29 +02:00
```
2026-04-15 17:49:50 +02:00
### sec: VGSC-SOMA-M
2026-05-10 14:22:53 +00:00
#### VGSC-M_TPC: contextor
2026-04-19 21:44:49 +02:00
2026-04-20 14:08:24 +02:00
Il check su refractory deve essere fatto ad un RF maggiore della eliminazione di Refractory. Questo perche' e' un era nella quale avviene l'episodio.
2026-03-07 12:26:39 +01:00
``` Gen
2026-05-10 14:22:53 +00:00
VGSC-M_Status: ( active: 60x )
type: contextor
2026-04-19 21:44:49 +02:00
contained_by: VGSC-SOMA-M
2026-04-20 14:08:24 +02:00
in_context: VDBMediumCtx OR VDBMaxCtx
2026-05-10 14:22:53 +00:00
condition: ( RefractoryH emptiness )
out_context: NaEnterM_Ctx
2026-04-19 21:44:49 +02:00
```
2026-05-10 14:22:53 +00:00
#### NaEnterM: accumulator
2026-04-19 21:44:49 +02:00
Se metto il controllo sulla (NOT Ready fullness) il VGSC puo' far entrare un numero di Na non superiore ad un massimo.
Questo sopra è il commmento della versione precedente, ora la quantità di NA increase dipende dal rf di VGSC-H_TPC dato che li c'è la condition sulla presenza delle traccie di refractory
``` Gen
2026-05-10 14:22:53 +00:00
NaEnterM: ( active: 1x )
type: accumulator
2026-04-20 17:49:16 +00:00
contained_by: VGSC-SOMA-M
2026-03-07 12:26:39 +01:00
2026-05-10 14:22:53 +00:00
in_context: NaEnterM_ctx
hypothesis: ( NOT Na full )
action: [ Na increase]
trace: None
2026-04-19 21:44:49 +02:00
2026-05-10 14:22:53 +00:00
hypothesis: ( NOT RefractoryM full )
action: [ RefractoryH increase ]
trace: None
2026-04-19 21:44:49 +02:00
```
2026-05-10 14:22:53 +00:00
#### RefractoryMSpill: accumulator
2026-04-19 21:44:49 +02:00
Lo Spill deve avere un rf maggiore dell'interacting che incrementa RefractoryH (interactor precedente)
``` Gen
2026-05-10 14:22:53 +00:00
RefractoryMSpill: ( active: 1x )
type: accumulator
2026-04-20 17:49:16 +00:00
contained_by: VGSC-SOMA-M
2026-04-19 21:44:49 +02:00
2026-04-20 14:08:24 +02:00
in_context: any
2026-05-10 14:22:53 +00:00
hypothesis: NOT ( RefractoryM empty )
action: [ RefractoryM decrease ]
trace: None
2026-03-07 12:26:39 +01:00
```
2026-04-18 11:06:05 +02:00
## VGSC-SOMA-L: container
2026-04-15 17:37:29 +02:00
2026-04-19 21:44:49 +02:00
Voltage Gated Sodium Channel: easy to open (Low)
2026-04-15 17:37:29 +02:00
``` Gen
2026-04-19 21:44:49 +02:00
container: VGSC-SOMA-L
tub_local:
RefractoryL ( full: 60x, active: 30x, empty: 0x )
2026-04-15 17:37:29 +02:00
2026-04-19 21:44:49 +02:00
tub_intricated:
Na ( contained_in: SOMA)
2026-04-21 09:56:37 +02:00
context_intricated:
VDBLowCtx ( contained_by: SOMA )
2026-04-15 17:37:29 +02:00
```
2026-04-15 17:49:50 +02:00
### sec: VGSC-SOMA-L
2026-05-10 14:22:53 +00:00
#### VGSC-L_TPC: contextor
2026-04-19 21:44:49 +02:00
Il check su refractory deve essere fatto ad un RF maggiore della eliminazione di Refractory. Questo perche' e' un era nella qualle avviene l'episodio.
``` Gen
2026-05-10 14:22:53 +00:00
VGSC-L_Status: ( active: 60x )
type: contextor
2026-04-19 21:44:49 +02:00
contained_by: VGSC-SOMA-L
2026-04-20 14:08:24 +02:00
in_context: VDBLowCtx OR VDBMediumCtx OR VDBMaxCtx
2026-05-10 14:22:53 +00:00
condition: ( RefractoryH emptiness )
out_context: NaEnterL_ctx
2026-04-19 21:44:49 +02:00
```
2026-05-10 14:22:53 +00:00
#### NaEnterL: accumulator
2026-04-19 21:44:49 +02:00
Se metto il controllo sulla (NOT Ready fullness) il VGSC puo' far entrare un numero di Na non superiore ad un massimo.
Questo sopra è il commmento della versione precedente, ora la quantità di NA increase dipende dal rf di VGSC-H_TPC dato che li c'è la condition sulla presenza delle traccie di refractory
``` Gen
2026-05-10 14:22:53 +00:00
NaEnterL: ( active: 1x )
type: accumulator
2026-04-20 17:49:16 +00:00
contained_by: VGSC-SOMA-L
2026-04-19 21:44:49 +02:00
2026-05-10 14:22:53 +00:00
in_context: NaEnterL_ctx
hypothesis: ( NOT Na full )
action: [ Na increase]
trace: None
2026-04-19 21:44:49 +02:00
2026-05-10 14:22:53 +00:00
hypothesis: ( NOT RefractoryL full )
action: [ RefractoryL increase ]
trace: None
2026-04-19 21:44:49 +02:00
```
2026-05-10 14:22:53 +00:00
#### RefractoryLSpill: accumulator
2026-04-19 21:44:49 +02:00
Lo Spill deve avere un rf maggiore dell'interacting che incrementa RefractoryH (interactor precedente)
2026-04-15 17:37:29 +02:00
``` Gen
2026-05-10 14:22:53 +00:00
RefractoryLSpill: ( active: 1x )
type: accumulator
2026-04-15 17:37:29 +02:00
contained_by: VGSC-L-SOMA
2026-04-20 14:08:24 +02:00
in_context: any
2026-05-10 14:22:53 +00:00
hypothesis: NOT ( RefractoryL empty )
action: [ RefractoryL decrease ]
trace: None
```
#### VGSC-SOMA-TUN: Tuner
``` Gen
tuner: VGSC-SOMA-TUN
contained_by: SOMA
tunes: SOMA/expansion/VGSC-SOMA
context_intricated:
- TunPossible ( contained_by: DAY-N )
tub_local:
tub_intricated:
```
##### Check: check_tpc
``` Gen
context: check_tpc
contained_by: VGSC-SOMA-TUN
rf: ( active: 60x )
in_context: TunPossible
condition:
out_context: TunSomaVcgg
```
##### ?: interacting
``` Gen
interacting: ?
contained_by: TUN-PRE-VGCC
2026-04-15 17:37:29 +02:00
2026-05-10 14:22:53 +00:00
rf: ( active: x )
context: TunSomaVcgg
hypothesis:
action:
trace:
2026-04-15 17:37:29 +02:00
```