Compute time-varying estimates of cHPI SNR.
Raw
Raw data with cHPI information.
float
Minimum time step to use.
float
Time window to use to estimate the amplitudes, default is 0.2 (200 ms).
int
The external order for SSS-like interfence suppression. The SSS bases are used as projection vectors during fitting.
Changed in version 0.20: Added ext_order=1
by default, which should improve
detection of true HPI signals.
float
Start time of the raw data to use in seconds (must be >= 0).
float
End time of the raw data to use in seconds (cannot exceed data duration).
str
| int
| None
Control verbosity of the logging output. If None
, use the default
verbosity level. See the logging documentation and
mne.verbose()
for details. Should only be passed as a keyword
argument.
dict
The time-varying cHPI SNR estimates, with entries “times”, “freqs”,
“snr_mag”, “power_mag”, and “resid_mag” (and/or “snr_grad”,
“power_grad”, and “resid_grad”, depending on which channel types are
present in raw
).
Notes
New in version 0.24.
mne.chpi.compute_chpi_snr
#Extracting and visualizing subject head movement