get_tokens
Retrieve tokenized EEG data from a session for sequence modeling, returning grouped tokens per window, a flat sequence, vocabulary size, and channel/band layout.
Instructions
Read discrete tokens from a tokenizing processor.
For feeding EEG into sequence models. Returns both the grouped tokens (one group per window) and a flat sequence, plus the vocabulary size and the channel/band layout each position corresponds to.
Works with any attached processor exposing token_history -- the built-in
band_tokenizer is a starting point, and your own tokenizer plugs in the
same way.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many recent token groups to return. | |
| processor | No | The tokenizing processor's name. | band_tokenizer |
| session_id | Yes | The session to read from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||