---
include_toc: true
---

# hypothalamus.md

Expansions and modulations:
  - is expanded by: [ORGANISM](../../organism.md)
  
Qui comprendiamo Hypothalamus. E' l'organo che si occupa di far "dormire" l'organismo, in maniera da rendere possibile i comportamenti che associamo alla modifica di forma organimisca, compresa quella neuronale.

## HYPOTHALAMUS

```Gen
HYPOTHALAMUS

  type: comprehension

  expansion:

  intrication:

    # Scope
    !ALWAYS: INTRICATION [ ref: &ORGANISM.!ALWAYS]
    !DAY: INTRICATION [ ref: &ORGANISM.!DAY ]
    !NIGHT: INTRICATION [ ref: &ORGANISM.!NIGHT ]

    # Context  
    *??: INTRICATION [ ref: &??.*?? ]

    # Tub
    ??: INTRICATION [ ref: &??._?? ]
    
  instantiation:

    # Context
    *??: CONTEXT []
    
    # Tub
    _OrganismicFatigue: TUB [ full: 60x, active: 30x, empty: 0x ]

    # Behaviour
    $: BEHAVIOUR [ behaviour: MAIN_HYPOTHALAMUS ]
```

### MAIN_HYPOTHALAMUS: !ALWAYS

Qui gestiamo la fatica organismica.

```Gen
MAIN_HYPOTHALAMUS

  type: container

  activity_scope: !ALWAYS

  snippets:

    # *AP
    @: ACCUMULATOR [ snippet: DayNightCheckScope, rf: active 12x ]  

```
#### *Fixed

##### DayNightCheckScope

Alternanza DAY NIGHT. Influenzata da intricazioni con tutto l'organismo, neuroni compresi.

```Gen
DayNightCheckScope: ( active: 60x )

    type: contextor

    in_context: *Fixed

    # la disattivazione e' la non attivazione 
    condition: NOT ( OrganismicFatigue fullness )
        activate_scope:
            !DAY

    condition: ( OrganismicFatigue fullness )
        activate_scope:
            !NIGHT
```
