How does the filter padding in preprocessing work?

The preprocessing parameter cfg.padding defines the duration to which the data in the trial will be padded: not only the segment of data that corresponds to the trial is read from the file, but also some extra data around it. After filtering this padding is removed from the data and preprocessing only returns the segment of interest.

Padding the data can be beneficial, since the edge artifacts that are typically seen after filtering will be in the padding and not in the segment of interest. Padding is also relevant for DFT filtering of the 50Hz line noise artifact: long padding ensures a higher frequency resolution for the DFT filter, causing a narrower notch to be removed from the data. This is especially relevant for multi-taper frequency analyses.

See also this FAQ on how the different types of padding are to be interpreted in relation to artefact detection.

faq/how_does_the_filter_padding_in_preprocessing_work.txt · Last modified: 2015/11/26 09:43 by robert

You are here: startfaqhow_does_the_filter_padding_in_preprocessing_work
CC Attribution-Share Alike 3.0 Unported Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0
This DokuWiki features an Anymorphic Webdesign theme, customised by Eelke Spaak and Stephen Whitmarsh.
Mobile Analytics Website Security Test