- mne.chpi.compute_chpi_locs(info, chpi_amplitudes, t_step_max=1.0, too_close='raise', adjust_dig=False, verbose=None)#
Compute locations of each cHPI coils over time.
mne.Infoobject with information about the sensors and methods of measurement.
The time-varying cHPI coil amplitudes, with entries “times”, “proj”, and “slopes”. Typically obtained by
Maximum time step to use.
How to handle HPI positions too close to the sensors, can be ‘raise’ (default), ‘warning’, or ‘info’.
If True, adjust the digitization locations used for fitting based on the positions localized at the start of the file.
- verbosebool |
The time-varying cHPI coils locations, with entries “times”, “rrs”, “moments”, and “gofs”.
This function is designed to take the output of
Get HPI coil locations (as digitized in
info['dig']) in head coords.
If the amplitudes are 98% correlated with last position (and Δt < t_step_max), skip fitting.
Fit magnetic dipoles using the amplitudes for each coil frequency.
The number of fitted points
n_poswill depend on the velocity of head movements as well as
New in version 0.20.