Skip to content

AlmKanalStep

AlmKanalStep is the base class for custom preprocessing steps. Subclasses implement run(data, info) to process the data and reports(data, report, info) to update the MNE report.

The run method must return a dictionary containing a data key. Other entries can be used to record information about the processing step. The must_be_before, must_be_after, and allow_repeated attributes control the supported ordering and repetition checks.

almkanal.almkanal.AlmKanalStep

This is the base class for all almkanal steps.

check_can_run(steps)

run(data, info)

Apply the processing step to the given data.

Child classes must implement this method.

reports(data, report, info)

Update the provided mne.Report object based on the current data.

Child classes must implement this method, and are forced to add something to the report using mne.Report's methods (e.g., add_raw or add_epochs).