This commit is contained in:
2026-06-04 10:14:13 +02:00
+82 -73
View File
@@ -19,7 +19,30 @@ SOMA
_@SOMA_VGSC-M: TUB [ comprehension: SOMA_VGSC, full: 50x, active: 20x, empty: 10x ]
_@SOMA_VGSC-L: TUB [ comprehension: SOMA_VGSC, full: 50x, active: 20x, empty: 10x ]
instantiation:
intrication:
# Scope
!DAY: INTRICATION [ ref: &ORGANISM.!DAY ]
!NIGHT: INTRICATION [ ref: &ORGANISM.!NIGHT ]
# Tub
_SpikeTrainTraces: INTRICATION [ ref: &NEURON._SpikeTrainTraces ]
instantiation:
# Context
*AP: CONTEXT []
*bAP: CONTEXT []
*VDBMax: CONTEXT []
*VDBMedium: CONTEXT []
*VDBLow: CONTEXT []
*NaSpill: CONTEXT []
# 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 ]
# Behaviour
$: BEHAVIOUR [ behaviour: MAIN-SOMA ]
@@ -30,34 +53,30 @@ SOMA
```
**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.
- **SomaRefractory**: tracce di refractory
- **_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
### MAIN-SOMA: Container
```Gen
MAIN-SOMA
type: container
activity_scope: !DAY
type: behaviour
tub_local:
- VDB
- Na
- Ca2+
- SomaRefractory
tub_intricated:
- SpikeTrainTraces ( contained_in: DAY-N )
within_scope: !DAY
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 ]
```
#### any
#### *Fixed
##### SOMA-Status: ( active: 60x ) contextor
@@ -66,22 +85,21 @@ As dendrites deliver current (VDB), the soma acts like a capacitor. It "store
This only applies if not ApCtx, or in other words, SOMA is not in refractory period.
```Gen
SOMA-Status: ( active: 60x )
SOMA-Status:
type: contextor
contained_by: MAIN-SOMA
in_context: any
condition: ( VDB fullness ) AND NOT AP_ctx
out_context: VDBMax_Ctx
condition: _VDB fullness AND NOT AP_ctx
out_context: *VDBMax
condition: ( VDB mediumness ) AND NOT AP_ctx
out_context: VDBMedium_ctx
condition: ( VDB emptiness ) AND NOT Ap_ctx
out_context: VDBLow_ctx
condition: NOT ( Na empty )
out_context: NaSpill_ctx
out_context: *VDBMedium
condition: _VDB emptiness AND NOT _Ap
out_context: *VDBLow
condition: NOT _Na empty
out_context: *NaSpill
```
##### SomaSpike: ( active: 30x ) contextor
##### SomaSpike
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.
@@ -90,76 +108,67 @@ Qui siamo nella fase effettiva di spike, non refractory che viene dopo. Fa da co
La fullness di Na rappresenta il threshold e puo' essere modificato. La fullness di SomaRefractory rappresenta la lunghezza del refractory.
```Gen
SomaSpike: ( active: 30x )
SomaSpike
type: contextor
contained_by: MAIN-SOMA
in_context: any
condition: ( Na fullness ) AND ( SomaRefractory emptiness )
out_context: AP_ctx
out_context: bAp_ctx
in_context: *Fixed
condition: _Na fullness AND _SomaRefractory emptiness
out_context: *AP
out_context: *bAp
```
#### SomaRefractorySpill: ( active: 16x ) accumulator
##### SomaRefractorySpill
Lo spill deve essere piu' lento dell'increase che avviene in ActiveAP
```Gen
SomaRefractorySpill: ( active: 16x )
SomaRefractorySpill
type: accumulator
contained_by: MAIN-SOMA
in_context: any
hypothesis: NOT ( SomaRefractory empty )
action: [ decrease SomaRefractory ]
in_context: *Fixed
hypothesis: NOT _SomaRefractory empty
action: [ decrease _SomaRefractory ]
trace:
```
#### Ap_ctx
##### NaSpill
##### ActiveAP: ( active: 8x ) accumulator
```Gen
NaSpill
type: accumulator
in_context: *Fixed
hypothesis: NOT _Na empty
action: [ decrease _Na ]
trace:
```
#### *Ap
##### ActiveAP
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 SomaRefractory per fase di refractory
- riempiamo Ca2+ per le tracce medio termine di potenziamento/depotenziamento.
- riempiamo _Ca2 per le tracce medio termine di potenziamento/depotenziamento.
```Gen
ActiveAP: ( active: 8x )
ActiveAP
type: accumulator
contained_by: MAIN-SOMA
in_context: Ap_ctx
hypothesis: NOT Na empty
action: [ decrease Na ]
in_context: *AP
hypothesis: NOT _Na empty
action: [ decrease _Na ] ## This is addition to the _NASpill
trace:
hypothesis: NOT SomaRefractory full
hypothesis: NOT _SomaRefractory full
action: [ increase SomaRefractory ]
trace:
hypothesis: NOT Ca2+ full
action: [ increase Ca2+ ]
hypothesis: NOT _Ca2 full
action: [ increase _Ca2 ]
trace:
```
#### NaSpill_ctx
##### NaSpill: ( active: 8x ) accumulator
Questo potrebbe non servire se eliminiamo tutti Na durante ActiveAP.
```Gen
NaSpill: ( active: 8x )
type: accumulator
contained_by: MAIN-SOMA
in_context: NaSpill_ctx
hypothesis: NOT ( Na emptiness )
action: [ decrease Na ]
trace:
```
## SOMA_VGSC: Comprehension