borsar.freq.
compute_rest_psd
(raw, events=None, event_id=None, tmin=None, tmax=None, winlen=2.0, step=0.5)[source]¶Compute power spectral density (psd) for given time segments for all channels of given raw file. The segments (if more than one) are averaged taking into account the artifact-free range of each segment. Signal during _BAD annotations (parts of signal marked as artifacts) is excluded by default in mne.time_frequency.psd_welch which can lead to some segments ‘donating’ more data than others. This has to be taken into account during segments averaging - so the segments are weighted with the percentage of welch windows that had artifact free data (and thus were not rejected in mne.time_frequency.psd_welch).
Parameters: |
|
---|---|
Returns: |
|