Data.Inspect File
data.inspect_fileExploratory summary of an EEG file (.edf/.bdf/.mat/.csv/.tsv/.txt/.h5): channels, sampling rate, trial/class balance, per-channel µV stats, band powers and a PSD overview.
The path shape picks the source: ABSOLUTE path → read the file from disk (only on a LOCAL backend: desktop app / MCP local mode — no upload needed); RELATIVE path (the one data.upload returns) → describe the uploaded file, which works on ANY backend (hosted or local).
Look at the data BEFORE building pipelines: class balance drives stratification choices, and flatlined channels mean a montage/reference problem worth fixing first. Units note: values are ASSUMED volts by the loader — a µV-native CSV reads 1e6x too large; set unitsScale in a pipeline's custom_data config when needed. On a hosted backend absolute paths are refused and this returns guidance (upload the file first or switch to a local backend).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ABSOLUTE filesystem path (local backends only) or the RELATIVE upload path returned by data.upload (works on any backend). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||