2026-05-11 23:57:30 +02:00
---
include_toc: true
---
2026-05-11 23:58:31 +02:00
# soma.md
2026-06-01 15:49:46 +02:00
## SOMA: Comprehension
2026-04-16 11:02:50 +02:00
2026-06-01 15:49:46 +02:00
Expansions and modulations:
- is expanded by: [NEURON ](neuron.md )
2026-06-08 02:28:14 +02:00
- expands: VGCC_SOMA
2026-04-16 11:02:50 +02:00
2026-06-01 15:49:46 +02:00
```Gen
SOMA
type: comprehension
2026-04-16 11:02:50 +02:00
2026-06-03 00:10:11 +02:00
expansion:
2026-06-08 02:28:14 +02:00
_@VGCC_SOMA: TUB [ comprehension: VGCC_SOMA, full: 50x, active: 20x, empty: 10x ]
2026-06-03 00:10:11 +02:00
2026-06-03 18:55:02 +02:00
intrication:
# Scope
!DAY: INTRICATION [ ref: &ORGANISM.!DAY ]
!NIGHT: INTRICATION [ ref: &ORGANISM.!NIGHT ]
# Tub
_SpikeTrainTraces: INTRICATION [ ref: &NEURON._SpikeTrainTraces ]
instantiation:
2026-06-03 19:30:21 +02:00
# Context
*AP: CONTEXT []
*bAP: CONTEXT []
*VDBMax: CONTEXT []
*VDBMedium: CONTEXT []
*VDBLow: CONTEXT []
*NaSpill: CONTEXT []
2026-06-03 18:55:02 +02:00
# Tub
_VDB: TUB [ full: 60x, active: 30x, empty: 0x ]
_Na: TUB [ full: 60x, active: 30x, empty: 0x ]
_Ca2: TUB [ full: 60x, active: 30x, empty: 0x ]
_SomaRefractory: TUB [ full: 60x, active: 30x, empty: 0x ]
2026-06-03 00:10:11 +02:00
# Behaviour
$: BEHAVIOUR [ behaviour: MAIN-SOMA ]
2026-06-08 02:28:14 +02:00
$: BEHAVIOUR [ behaviour: VGCC_SOMA_TUN ]
2026-06-01 15:49:46 +02:00
```
2026-04-16 11:02:50 +02:00
2026-04-08 12:04:49 +02:00
**Tubs:**
2026-06-03 18:55:02 +02:00
- **_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.
- **_SomaRefractory**: tracce di refractory
2026-04-17 11:06:01 +02:00
2026-06-01 15:49:46 +02:00
### MAIN-SOMA: Container
2026-04-15 17:37:29 +02:00
2026-05-24 20:38:33 +02:00
```Gen
2026-06-01 15:49:46 +02:00
MAIN-SOMA
2026-06-03 18:55:02 +02:00
type: behaviour
within_scope: !DAY
2026-05-24 20:38:33 +02:00
2026-06-03 19:30:21 +02:00
snippet:
# *Fixed
@: CONTEXTOR [ snippet: SomaSpike, rf: active 30x ]
@: ACCUMULATOR [ snippet: SomaRefractorySpill, rf: active 16x ]
@: ACCUMULATOR [ snippet: NASpill, rf: active 20x ]
# *AP
@: ACCUMULATOR [ snippet: ActiveAP, rf: active 8x ]
@: ACCUMULATOR [ snippet: ActiveAP, rf: active 8x ]
2026-03-07 12:26:39 +01:00
```
2026-06-03 19:30:21 +02:00
#### *Fixed
2026-03-07 12:26:39 +01:00
2026-05-24 20:38:33 +02:00
##### SOMA-Status: ( active: 60x ) contextor
2026-04-10 11:35:39 +02:00
2026-06-08 02:28:14 +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 VGCC_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-06-03 19:30:21 +02:00
SOMA-Status:
2026-05-10 14:22:53 +00:00
type: contextor
2026-04-10 11:35:39 +02:00
2026-04-20 14:08:24 +02:00
in_context: any
2026-06-03 19:30:21 +02:00
condition: _VDB fullness AND NOT AP_ctx
out_context: *VDBMax
2026-05-11 16:38:31 +00:00
condition: ( VDB mediumness ) AND NOT AP_ctx
2026-06-03 19:30:21 +02:00
out_context: *VDBMedium
condition: _VDB emptiness AND NOT _Ap
out_context: *VDBLow
condition: NOT _Na empty
out_context: *NaSpill
2026-04-19 21:44:49 +02:00
```
2026-06-03 19:30:21 +02:00
##### SomaSpike
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-05-12 22:47:38 +02:00
La fullness di Na rappresenta il threshold e puo' essere modificato. La fullness di SomaRefractory rappresenta la lunghezza del refractory.
2026-04-19 21:44:49 +02:00
2026-04-10 11:35:39 +02:00
```Gen
2026-06-03 19:30:21 +02:00
SomaSpike
2026-05-10 14:22:53 +00:00
type: contextor
2026-04-10 11:35:39 +02:00
2026-06-03 19:30:21 +02:00
in_context: *Fixed
condition: _Na fullness AND _SomaRefractory emptiness
out_context: *AP
out_context: *bAp
2026-04-10 11:35:39 +02:00
```
2026-06-03 19:30:21 +02:00
##### SomaRefractorySpill
2026-05-24 20:38:33 +02:00
Lo spill deve essere piu' lento dell'increase che avviene in ActiveAP
```Gen
2026-06-03 19:30:21 +02:00
SomaRefractorySpill
2026-05-24 20:38:33 +02:00
type: accumulator
2026-06-03 19:30:21 +02:00
in_context: *Fixed
hypothesis: NOT _SomaRefractory empty
action: [ decrease _SomaRefractory ]
2026-05-24 20:38:33 +02:00
trace:
```
2026-06-03 19:30:21 +02:00
##### NaSpill
2026-05-24 20:38:33 +02:00
2026-06-03 19:30:21 +02:00
```Gen
NaSpill
type: accumulator
in_context: *Fixed
hypothesis: NOT _Na empty
action: [ decrease _Na ]
trace:
```
#### *Ap
##### ActiveAP
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.
2026-05-12 22:47:38 +02:00
- riempiamo SomaRefractory per fase di refractory
2026-06-03 18:55:02 +02:00
- riempiamo _Ca2 per le tracce medio termine di potenziamento/depotenziamento.
2026-04-10 11:45:06 +02:00
```Gen
2026-06-03 19:30:21 +02:00
ActiveAP
2026-05-10 14:22:53 +00:00
type: accumulator
2026-04-10 11:45:06 +02:00
2026-06-03 19:30:21 +02:00
in_context: *AP
hypothesis: NOT _Na empty
action: [ decrease _Na ] ## This is addition to the _NASpill
2026-05-10 14:22:53 +00:00
trace:
2026-06-03 19:30:21 +02:00
hypothesis: NOT _SomaRefractory full
2026-05-12 22:47:38 +02:00
action: [ increase SomaRefractory ]
2026-05-10 14:22:53 +00:00
trace:
2026-06-03 18:55:02 +02:00
hypothesis: NOT _Ca2 full
action: [ increase _Ca2 ]
2026-05-10 14:22:53 +00:00
trace:
2026-04-10 11:45:06 +02:00
```
2026-04-20 12:10:31 +02:00
2026-06-08 02:28:14 +02:00
## VGCC_SOMA
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-06-08 02:28:14 +02:00
VGCC_SOMA
type: comprehension
2026-03-07 12:26:39 +01:00
2026-06-08 02:28:14 +02:00
expansion:
intrication:
2026-04-19 21:44:49 +02:00
2026-06-08 02:28:14 +02:00
# Scope
!DAY: INTRICATION [ ref: &ORGANISM.!DAY ]
!NIGHT: INTRICATION [ ref: &ORGANISM.!NIGHT ]
# Context
2026-04-21 09:56:37 +02:00
2026-06-08 02:28:14 +02:00
# Tub
_Na: INTRICATION [ ref: &SOMA._Na ]
instantiation:
# Context
*VDBMaxCtx: CONTEXT []
*VDBMediumCtx: CONTEXT []
*VDBMLowCtx: CONTEXT []
# Tub
_VGSCRefractoryH: TUB [ full: 60x, active: 30x, empty: 0x )
_VGSCRefractoryM: TUB [ full: 60x, active: 30x, empty: 0x )
_VGSCRefractoryL: TUB [ full: 60x, active: 30x, empty: 0x )
# Behaviour
$: BEHAVIOUR [ behaviour: VGCC_SOMA_BEH_H]
$: BEHAVIOUR [ behaviour: VGCC_SOMA_BEH_M]
$: BEHAVIOUR [ behaviour: VGCC_SOMA_BEH_L]
```
### VGCC_SOMA_BEH_H: !DAY
```Gen
VGCC_SOMA_BEH_H
type: behaviour
within_scope: !DAY
snippets:
@: CONTEXTOR [ snippet: VGSC-H_Status, rf: active 60x ]
@: ACCUMULATOR [ snippet: NaEnterH, rf: active 1x ]
@: ACCUMULATOR [ snippet: VGSCRefractoryHSpill, rf: active 1x ]
2026-03-07 12:26:39 +01:00
```
2026-06-08 02:28:14 +02:00
### sec: VGCC_SOMA-H
2026-04-15 17:49:50 +02:00
2026-05-12 22:47:38 +02:00
#### VGSC-H_Status: ( active: 60x ) contextor
2026-04-10 11:35:39 +02:00
2026-05-12 22:47:38 +02:00
Il check su refractory deve essere fatto ad un RF maggiore della eliminazione di VGSCRefractory. 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-15 17:37:29 +02:00
2026-04-20 14:08:24 +02:00
in_context: any
2026-05-12 22:47:38 +02:00
condition: VDBMaxCtx AND ( VGSCRefractoryH emptiness )
2026-05-10 14:22:53 +00:00
out_context: NaEnterH_Ctx
2026-04-15 17:37:29 +02:00
2026-05-12 22:47:38 +02:00
condition: ( VGSCRefractoryH mediumness ) OR ( VGSCRefractoryH fullness )
out_context: VGSCRefractoryHSpill_ctx
2026-04-16 09:30:58 +02:00
```
2026-05-12 22:47:38 +02:00
#### NaEnterH: ( active: 1x ) 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-06-08 02:28:14 +02:00
contained_by: VGCC_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-12 22:47:38 +02:00
hypothesis: ( NOT VGSCRefractoryH full )
action: [ VGSCRefractoryH increase ]
2026-05-10 14:22:53 +00:00
trace: None
2026-04-16 09:30:58 +02:00
```
2026-05-12 22:47:38 +02:00
#### VGSCRefractoryHSpill: ( active: 1x ) accumulator
2026-04-16 09:30:58 +02:00
2026-05-12 22:47:38 +02:00
Lo Spill deve avere un rf maggiore dell'interacting che incrementa VGSCRefractoryH (interactor precedente)
2026-04-16 10:11:51 +02:00
2026-04-16 09:30:58 +02:00
```Gen
2026-05-12 22:47:38 +02:00
VGSCRefractoryHSpill: ( active: 1x )
2026-05-10 14:22:53 +00:00
type: accumulator
2026-06-08 02:28:14 +02:00
contained_by: VGCC_SOMA-H
2026-04-16 09:30:58 +02:00
2026-05-12 22:47:38 +02:00
in_context: VGSCRefractoryHSpill_ctx
hypothesis: NOT ( VGSCRefractoryH empty )
action: [ VGSCRefractoryH decrease ]
2026-05-10 14:22:53 +00:00
trace: None
2026-04-15 17:37:29 +02:00
```
2026-06-08 02:28:14 +02:00
## VGCC_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
2026-06-08 02:28:14 +02:00
container: VGCC_SOMA-M
2026-04-15 17:37:29 +02:00
2026-04-19 21:44:49 +02:00
tub_local:
2026-05-12 22:47:38 +02:00
VGSCRefractoryM ( full: 60x, active: 30x, empty: 0x )
2026-04-19 21:44:49 +02:00
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-06-08 02:28:14 +02:00
### sec: VGCC_SOMA-M
2026-04-15 17:49:50 +02:00
2026-05-12 22:47:38 +02:00
#### VGSC-M_TPC: ( active: 60x ) contextor
2026-04-19 21:44:49 +02:00
2026-05-12 22:47:38 +02:00
Il check su refractory deve essere fatto ad un RF maggiore della eliminazione di VGSCRefractory. 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-06-08 02:28:14 +02:00
contained_by: VGCC_SOMA-M
2026-04-19 21:44:49 +02:00
2026-04-20 14:08:24 +02:00
in_context: VDBMediumCtx OR VDBMaxCtx
2026-05-12 22:47:38 +02:00
condition: ( VGSCRefractoryH emptiness )
2026-05-10 14:22:53 +00:00
out_context: NaEnterM_Ctx
2026-04-19 21:44:49 +02:00
```
2026-05-12 22:47:38 +02:00
#### NaEnterM: ( active: 1x ) 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-06-08 02:28:14 +02:00
contained_by: VGCC_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-12 22:47:38 +02:00
hypothesis: ( NOT VGSCRefractoryM full )
action: [ VGSCRefractoryH increase ]
2026-05-10 14:22:53 +00:00
trace: None
2026-04-19 21:44:49 +02:00
```
2026-05-12 22:47:38 +02:00
#### VGSCRefractoryMSpill: ( active: 1x ) accumulator
2026-04-19 21:44:49 +02:00
2026-05-12 22:47:38 +02:00
Lo Spill deve avere un rf maggiore dell'interacting che incrementa VGSCRefractoryH (interactor precedente)
2026-04-19 21:44:49 +02:00
```Gen
2026-05-12 22:47:38 +02:00
VGSCRefractoryMSpill: ( active: 1x )
2026-05-10 14:22:53 +00:00
type: accumulator
2026-06-08 02:28:14 +02:00
contained_by: VGCC_SOMA-M
2026-04-19 21:44:49 +02:00
2026-04-20 14:08:24 +02:00
in_context: any
2026-05-12 22:47:38 +02:00
hypothesis: NOT ( VGSCRefractoryM empty )
action: [ VGSCRefractoryM decrease ]
2026-05-10 14:22:53 +00:00
trace: None
2026-03-07 12:26:39 +01:00
```
2026-06-08 02:28:14 +02:00
## VGCC_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-06-08 02:28:14 +02:00
container: VGCC_SOMA_L
2026-04-19 21:44:49 +02:00
tub_local:
2026-05-12 22:47:38 +02:00
VGSCRefractoryL ( 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-06-08 02:28:14 +02:00
### sec: VGCC_SOMA_L
2026-04-15 17:49:50 +02:00
2026-05-12 22:47:38 +02:00
#### VGSC-L_TPC: ( active: 60x ) contextor
2026-04-19 21:44:49 +02:00
2026-05-12 22:47:38 +02:00
Il check su refractory deve essere fatto ad un RF maggiore della eliminazione di VGSCRefractory. Questo perche' e' un era nella qualle avviene l'episodio.
2026-04-19 21:44:49 +02:00
```Gen
2026-05-10 14:22:53 +00:00
VGSC-L_Status: ( active: 60x )
type: contextor
2026-06-08 02:28:14 +02:00
contained_by: VGCC_SOMA_L
2026-04-19 21:44:49 +02:00
2026-04-20 14:08:24 +02:00
in_context: VDBLowCtx OR VDBMediumCtx OR VDBMaxCtx
2026-05-12 22:47:38 +02:00
condition: ( VGSCRefractoryH emptiness )
2026-05-10 14:22:53 +00:00
out_context: NaEnterL_ctx
2026-04-19 21:44:49 +02:00
```
2026-05-12 22:47:38 +02:00
#### NaEnterL: ( active: 1x ) 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-06-08 02:28:14 +02:00
contained_by: VGCC_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-12 22:47:38 +02:00
hypothesis: ( NOT VGSCRefractoryL full )
action: [ VGSCRefractoryL increase ]
2026-05-10 14:22:53 +00:00
trace: None
2026-04-19 21:44:49 +02:00
```
2026-05-12 22:47:38 +02:00
#### VGSCRefractoryLSpill: ( active: 1x ) accumulator
2026-04-19 21:44:49 +02:00
2026-05-12 22:47:38 +02:00
Lo Spill deve avere un rf maggiore dell'interacting che incrementa VGSCRefractoryH (interactor precedente)
2026-04-15 17:37:29 +02:00
```Gen
2026-05-12 22:47:38 +02:00
VGSCRefractoryLSpill: ( active: 1x )
2026-05-10 14:22:53 +00:00
type: accumulator
2026-06-01 15:49:46 +02:00
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-12 22:47:38 +02:00
hypothesis: NOT ( VGSCRefractoryL empty )
action: [ VGSCRefractoryL decrease ]
2026-05-10 14:22:53 +00:00
trace: None
```
2026-06-08 02:28:14 +02:00
## VGCC_SOMA_TUN: Tuner
2026-05-10 14:22:53 +00:00
```Gen
2026-06-08 02:28:14 +02:00
VGCC_SOMA_TUN
2026-05-12 22:47:38 +02:00
type: tuner
2026-05-10 14:22:53 +00:00
contained_by: SOMA
2026-06-08 02:28:14 +02:00
tunes: SOMA/expansion/VGCC_SOMA
2026-05-10 14:22:53 +00:00
context_intricated:
- TunPossible ( contained_by: DAY-N )
tub_local:
tub_intricated:
```
2026-05-12 22:49:44 +02:00
### check_tpc: ( active: 60x ) contextor
2026-05-10 14:22:53 +00:00
```Gen
2026-05-12 22:47:38 +02:00
check_tpc: ( active: 60x )
type: contextor
2026-06-08 02:28:14 +02:00
contained_by: VGCC_SOMA-TUN
2026-05-10 14:22:53 +00:00
in_context: TunPossible
2026-05-12 22:47:38 +02:00
condition: ??
out_context: TunSomaVcgg
2026-05-10 14:22:53 +00:00
```
2026-05-12 22:49:44 +02:00
### ?: ( active: x ) accumulator
2026-05-10 14:22:53 +00:00
```Gen
2026-05-12 22:47:38 +02:00
?: ( active: x )
type: accumulator
2026-05-10 14:22:53 +00:00
contained_by: TUN-PRE-VGCC
2026-04-15 17:37:29 +02:00
2026-05-12 22:47:38 +02:00
in_context: TunSomaVcgg
hypothesis:
action:
trace:
2026-04-15 17:37:29 +02:00
```