get_psd
Compute power spectral density over the most recent EEG window to find peak alpha frequency, confirm stimulation artifacts, or verify notch filtering removed mains interference.
Instructions
Power spectral density over the most recent window.
Use when band power is too coarse -- to find a peak alpha frequency, confirm a stimulation artifact, or check whether a notch actually removed the mains.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fmax | No | Highest frequency to return. | |
| seconds | No | Window length. Longer gives finer frequency resolution. | |
| channels | No | Channel names to include. Defaults to all. | |
| filtered | No | Use the filtered buffer when a chain is set. | |
| max_bins | No | Cap on returned frequency bins, to keep the response readable. | |
| session_id | Yes | The session to analyse. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||