mne.chpi.extract_chpi_locs_ctf#

mne.chpi.extract_chpi_locs_ctf(raw, verbose=None)[source]#

Extract cHPI locations from CTF data.

Parameters:
rawinstance of Raw

Raw data with CTF cHPI information.

verbosebool | 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.

Returns:
chpi_locsdict

The time-varying cHPI coils locations, with entries “times”, “rrs”, “moments”, and “gofs”.

Notes

CTF continuous head monitoring stores the x,y,z location (m) of each chpi coil as separate channels in the dataset:

  • HLC001[123]\\* - nasion

  • HLC002[123]\\* - lpa

  • HLC003[123]\\* - rpa

This extracts these positions for use with compute_head_pos().

New in v0.20.

Examples using mne.chpi.extract_chpi_locs_ctf#

Annotate movement artifacts and reestimate dev_head_t

Annotate movement artifacts and reestimate dev_head_t