Annotations(onset, duration, description[, ...])

Annotation object for annotating segments of raw data.


Parser for Elekta data acquisition settings.

concatenate_events(events, first_samps, ...)

Concatenate event lists to be compatible with concatenate_raws.

count_events(events[, ids])

Count events.

find_events(raw[, stim_channel, output, ...])

Find events from raw file.

find_stim_steps(raw[, pad_start, pad_stop, ...])

Find all steps in data from a stim channel.

make_fixed_length_events(raw[, id, start, ...])

Make a set of events separated by a fixed duration.

make_fixed_length_epochs(raw[, duration, ...])

Divide continuous raw data into equal-sized consecutive epochs.

merge_events(events, ids, new_id[, ...])

Merge a set of events.


Parse a config file (like .ave and .cov files).

pick_events(events[, include, exclude, step])

Select some events.

read_annotations(fname[, sfreq, ...])

Read annotations from a file.

read_events(filename[, include, exclude, ...])

Read events from fif or text file.

write_events(filename, events, *[, ...])

Write events to file.

concatenate_epochs(epochs_list[, ...])

Concatenate a list of Epochs into one Epochs object.

events_from_annotations(raw[, event_id, ...])

Get events and event_id from an Annotations object.

annotations_from_events(events, sfreq[, ...])

Convert an event array to an Annotations object.


Count annotations.


IO with fif files containing events.

define_target_events(events, reference_id, ...)

Define new events by co-occurrence of existing events.

match_event_names(event_names, keys, *[, ...])

Search a collection of event names for matching (sub-)groups of events.

shift_time_events(events, ids, tshift, sfreq)

Shift a set of events.


Tools for working with epoched data.

average_movements(epochs[, head_pos, ...])

Average data using Maxwell filtering, transforming using head positions.

combine_event_ids(epochs, old_event_ids, ...)

Collapse event_ids from an epochs instance into a new event_id.

equalize_epoch_counts(epochs_list[, method, ...])

Equalize the number of trials in multiple Epochs or EpochsTFR instances.

make_metadata(events, event_id, tmin, tmax, ...)

Automatically generate metadata for use with mne.Epochs from events.