---
include_toc: true
---

# astrosynapse.md

Expansions and modulations:
  - is expanded by: [ASTROCYTE](astrocyte.md)
  - is tuned by: [ORGANISM](../../organism.md), organs, modules

## ASTROSYNAPSE

```Gen

include: 

ASTROSYNAPSE
  type: comprehension

  expansion:

  intrication:

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

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

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

  instantiation:

    # Context
    *??: CONTEXT []

    # Tub
    _NT: TUB [ full: 60x, active: 0x, empty: 0x ]

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

### MAIN_ASTRO_SYNAPSE: !DAY

```Gen
MAIN_ASTRO_SYNAPSE

  type: behaviour

  within_scope: !DAY

  snippet:
    # *Fixed
    @: CONTEXTOR [ snippet: ??, rf: active 60x ]

    @: ACCUMULATOR [ snippet: ??, rf: active 12x ]
    
```

#### *fixed

#### ??

***Tens Milliseconds Time Scale***

```Gen
??

  type: contextor
  
  in_context: *fixed

    condition: ( empty ) 
      out_context: *??

    condition: ( full) 
      out_context: *??
```

#### ??

```Gen
??

  type: accumulator

  in_context: *??

    hypothesis: NOT ( full ) AND NOT ( empty ) 
      action: [ increase,  decrease]
      trace: None
```
