pnpl.preprocessing.HeadPosition

pnpl.preprocessing.HeadPosition#

class pnpl.preprocessing.HeadPosition(step_name='headpos')[source]#

Load cached head position data.

Head positions are loaded from CSV files in derivatives/preproc/headpos/. These should be pre-computed using mne.chpi.compute_chpi_locs and mne.chpi.compute_head_pos.

The head positions are stored in context[‘head_pos’] for use by MaxwellFilter.

Parameters:

step_name (str)

__init__(step_name='headpos')#
Parameters:

step_name (str)

Return type:

None

Methods

__init__([step_name])

apply(raw, context)

Apply this preprocessing step to raw data.

Attributes

step_name