---
include_toc: true
---

# tectum.md

## TECTUM

Expansions and modulations:
  - is expanded by: [ORGANISM](../../organism.md)
  - expands: [WINNERTAKEALL](../../modules/winnertakeall/winnertakeall.md), [ASTROCYTE](../../elements/astrocyte/astrocyte.md)
  - tunes: [PRESYNAPSE](../../elements/neuron/presynapse.md), [POSTSYNAPSE](../../elements/neuron/postsynapse.md), [ASTROSYNAPSE](../../elements/astrocyte/astrosynapse.md)

Qui comprendiamo il collegamento fra moduli tipo winnertakeall che mettono a disposizione delle interfacce che devono essere collegate fra moduli. I neuroni sono gia' dichiarati nei moduli, quello che manca sono gli ASTROCYTE. Consideriamo che gli ASTROCYTE sono interni ad un organo.

```Gen

include:
    ../../modules/winnertakeall.md
    ../../elements/astrocyte.md 

TECTUM

  type: comprehension

  expansion:

    @WTA-001 EXPANSION [ comprehension: WINNERTAKEALL ]
    @WTA-002 EXPANSION [ comprehension: WINNERTAKEALL ]

    @AST-001 EXPANSION [ comprehension: ASTROCYTE ]
    @AST-002 EXPANSION [ comprehension: ASTROCYTE ]

  istantiation:

    # Qui l'interprete deve controllare che due o piu' "in" non sono ammessi, perche' potrebbero riguardare ASTROCYTE diversi. Da capore come fare il controllo.

    $: BIND [ comprehension: @WTA-001, comprehension: @AST-001 ]

    # external

    $IN-EXCI-001: BEHAVIOUR [ behaviour: IN_EXCITATION, collection: COLLECTION [
       post: @WTA_001.$IN_EXCI_002.collection.post,
       astro: @WTA_001.$IN_EXCI_002.collection.astro ] ]

    # internal

    $: BEHAVIOUR [ behaviour: EXCITATION, collection: COLLECTION [ 
      pre: @WTA-001.$OUT-EXCI-001.collection.pre, 
      post: @WTA-003.$IN-EXCI-002.collection.post, 
      astro: @WTA-003.$IN-EXCI-002.collection.astro ] ]
```

### EXCITATION

```Gen

### EXCITATION

```Gen

EXCITATION

  type: behaviour

  within_scope: !NIGHT

  snippet:

    # *Fixed
    @: CONTEXTOR [snip: ExcitationPossible, RF: active 60x]

    # *ActivateAstroPostPre
    @: BINDER [snippet: ExcitationBind, RF: active 6x]
    @: ACCUMULATOR [snippet: ClearTraces, RF: active 6x]

    *DeActivateAstroPost
    @: BINDER [snippet: ExcitationUnbind, RF: active 6x]
```

#### *Fixed

##### ExcitationPossible

```Gen

ExcitationPossible


```
