Plots.Dataset
plots.datasetFigure over an EEG data source — the visual companion to data.inspect_dataset. kind=psd (Welch, channel mean bold), kind=bandpower (channel × band dB heatmap), kind=topomap (band-power scalp map), kind=spectrogram (time-frequency for one channel). Sources are the same ones inspect uses: MOABB packs, uploads, local files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| band | No | Band for kind=topomap: delta|theta|alpha|beta|gamma (default alpha). | alpha |
| kind | Yes | Figure type: psd | topomap | bandpower | spectrogram. | |
| mode | No | Pack split to load: training | evaluation | all (source=dataset). | all |
| path | No | Upload path (source=upload) or absolute local path (source=local). | |
| save | No | Also write the PNG to NIMBUS_EXPORT_DIR/plots/ and return its path. | |
| source | Yes | "dataset" (MOABB pack), "upload" (path from data.upload), or "local" (absolute path, local backend only). | |
| dataset | No | MOABB dataset id, e.g. "BNCI2014_001" (source=dataset). | |
| subject | No | Subject id, e.g. "S01" (source=dataset). | |
| channel_idx | No | 0-based channel for kind=spectrogram (default 0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| meta | No | Figure sidecar. foundation.compare includes results/best/skipped (also as a JSON text content block). | |
| title | No | ||
| mimeType | No | ||
| savedPath | No | Set when save=true. | |
| sizeBytes | No | Set when save=true. |