# \#preprocessing

**URL:** https://mne.discourse.group/tag/preprocessing/29.md?match_all_tags=true&page=2&tags%5B%5D=preprocessing

[Latest](https://mne.discourse.group/latest.md) · [Categories](https://mne.discourse.group/categories.md) · [Tags](https://mne.discourse.group/tags.md)

**Page:** 3

---

## [Issue when saving raw files loaded with mne\_bids.read\_raw\_bids](https://mne.discourse.group/t/issue-when-saving-raw-files-loaded-with-mne-bids-read-raw-bids/11345)

<div class="topic-metadata">

**Author:** [@nissauce](https://mne.discourse.group/u/nissauce)\
**Replies:** 1\
**Last updated:** [July 7, 2025, 10:01am UTC](https://mne.discourse.group/t/issue-when-saving-raw-files-loaded-with-mne-bids-read-raw-bids/11345 "2025-07-07T10:01:28Z")

</div>

Hi, I’m encountering an issue saving raw files loaded with mne\_bids.read\_raw\_bids(). When I use this function and I want to save my raw file like that : bids\_path = BIDSPath(subject=subject, session='01', task='task',…

---

## [Error when setting montage](https://mne.discourse.group/t/error-when-setting-montage/8242)

<div class="topic-metadata">

**Author:** [@Moni-Sam](https://mne.discourse.group/u/Moni-Sam)\
**Replies:** 1\
**Last updated:** [January 31, 2024, 11:38am UTC](https://mne.discourse.group/t/error-when-setting-montage/8242 "2024-01-31T11:38:08Z")

</div>

Hi Richard, This is my code. I have tried all the several ways that you have mentioned to fix my code for this “No digitization point found” error. Below is my code with 3 pictures, Please help me figure out

---

## [mne-matlab: edit digitized points](https://mne.discourse.group/t/mne-matlab-edit-digitized-points/11273)

<div class="topic-metadata">

**Author:** [@ImageDataAnalytics](https://mne.discourse.group/u/ImageDataAnalytics)\
**Replies:** 0\
**Last updated:** [June 13, 2025, 9:23pm UTC](https://mne.discourse.group/t/mne-matlab-edit-digitized-points/11273 "2025-06-13T21:23:12Z")

</div>

Hi All, I have a spontaneous recording (~ 25 minutes) of epilepsy patient, with head digitization and other parameters in a fiff file, generated by MEGIN system. Because of some distortions during digitization ~ 11% of …

---

## [MNE fNIRS Waveform analysis](https://mne.discourse.group/t/mne-fnirs-waveform-analysis/8970)

<div class="topic-metadata">

**Author:** [@Taina](https://mne.discourse.group/u/Taina)\
**Replies:** 1\
**Last updated:** [June 6, 2025, 1:29pm UTC](https://mne.discourse.group/t/mne-fnirs-waveform-analysis/8970 "2025-06-06T13:29:05Z")

</div>

MNE version: MNE Python 3.11.7 operating system: Windows 10 My final analysis had these ugly distorced waveforms: Did anyone get something similar? What might be going wrong? I’m pasting the whole code i’m using b…

---

## [Events array altered after using concatenate\_raws](https://mne.discourse.group/t/events-array-altered-after-using-concatenate-raws/11189)

<div class="topic-metadata">

**Author:** [@lilly-sanchezz](https://mne.discourse.group/u/lilly-sanchezz)\
**Replies:** 6\
**Last updated:** [May 26, 2025, 6:54pm UTC](https://mne.discourse.group/t/events-array-altered-after-using-concatenate-raws/11189 "2025-05-26T18:54:59Z")

</div>

MNE version: 1.9.0 operating system: macOS Sonoma 14.5 Hi, I’ve been working on an experiment where we have two different conditions (Speech and Listen) that were evaluated in the same recording. During the recording, …

---

## [Possibility of obtaining \`adjacency\` from a distance matrix](https://mne.discourse.group/t/possibility-of-obtaining-adjacency-from-a-distance-matrix/11200)

<div class="topic-metadata">

**Author:** [@duodenum](https://mne.discourse.group/u/duodenum)\
**Replies:** 4\
**Last updated:** [May 21, 2025, 9:25am UTC](https://mne.discourse.group/t/possibility-of-obtaining-adjacency-from-a-distance-matrix/11200 "2025-05-21T09:25:31Z")

</div>

MNE version: 1.9.0 operating system: Ubuntu 22.04 Hello, Is it possible to obtain the adjacency variable going into permutation cluster tests from a simple distance matrix? A minimal example would be, import numpy as…

---

## [How to save a mne.viz.\_mpl\_figure.MNELineFigure, such that it remains interactive?](https://mne.discourse.group/t/how-to-save-a-mne-viz-mpl-figure-mnelinefigure-such-that-it-remains-interactive/11201)

<div class="topic-metadata">

**Author:** [@emile](https://mne.discourse.group/u/emile)\
**Replies:** 2\
**Last updated:** [May 21, 2025, 9:18am UTC](https://mne.discourse.group/t/how-to-save-a-mne-viz-mpl-figure-mnelinefigure-such-that-it-remains-interactive/11201 "2025-05-21T09:18:33Z")

</div>

MNE version: 1.9.0 operating system: Ubuntu 24.04 I am generating an interactive plot (clicking on a curve displays the channel name) with fig = mne.time\_frequency.Spectrum( raw, method='auto', …

---

## [Order in preprocessing and different filters before and after ICA](https://mne.discourse.group/t/order-in-preprocessing-and-different-filters-before-and-after-ica/11180)

<div class="topic-metadata">

**Author:** [@dbo97](https://mne.discourse.group/u/dbo97)\
**Replies:** 5\
**Last updated:** [May 20, 2025, 1:24pm UTC](https://mne.discourse.group/t/order-in-preprocessing-and-different-filters-before-and-after-ica/11180 "2025-05-20T13:24:43Z")

</div>

MNE version: 1.7.0 operating system: Windows 11 Hello, I wanted to ask in this post about the relationship abouth highpass filters and ICA(fit and apply). I know that ICA should be applied on 1 hz (or higher) high pas…

---

## [How to set ch\_names using set\_montage and DigMontage of 3x5 (ETG-7000) layout](https://mne.discourse.group/t/how-to-set-ch-names-using-set-montage-and-digmontage-of-3x5-etg-7000-layout/5673)

<div class="topic-metadata">

**Author:** [@rfahrn](https://mne.discourse.group/u/rfahrn)\
**Replies:** 6\
**Last updated:** [May 19, 2025, 11:33pm UTC](https://mne.discourse.group/t/how-to-set-ch-names-using-set-montage-and-digmontage-of-3x5-etg-7000-layout/5673 "2025-05-19T23:33:38Z")

</div>

MNE version: dev 1.2. operating system: Windows 10 Hi I used Digmontage in order to create a montage out of a .pos file (positional file). However, I seem to not have named them correctly. I did the following: raw = …

---

## [Assistance with preprocessing for a small number of channels with many ERP trials.](https://mne.discourse.group/t/assistance-with-preprocessing-for-a-small-number-of-channels-with-many-erp-trials/11163)

<div class="topic-metadata">

**Author:** [@sahar](https://mne.discourse.group/u/sahar)\
**Replies:** 4\
**Last updated:** [May 2, 2025, 2:12pm UTC](https://mne.discourse.group/t/assistance-with-preprocessing-for-a-small-number-of-channels-with-many-erp-trials/11163 "2025-05-02T14:12:39Z")

</div>

Hello, I have data from an ERP experiment with 8 channels that lasts 59 minutes and includes 2,576 trials. The data is noisy, and while I tried auto-reject and Independent Component Analysis (ICA), I still see significan…

---

## [Internship or fdp](https://mne.discourse.group/t/internship-or-fdp/11166)

<div class="topic-metadata">

**Author:** [@Rahul](https://mne.discourse.group/u/Rahul)\
**Replies:** 0\
**Last updated:** [May 1, 2025, 7:43pm UTC](https://mne.discourse.group/t/internship-or-fdp/11166 "2025-05-01T19:43:00Z")

</div>

Hi myself rahul sharma from india i am very interested in this field EEG OR BCI. currently i am studying literature review

---

## [automatic blink detection to produce a plot of EOG epochs](https://mne.discourse.group/t/automatic-blink-detection-to-produce-a-plot-of-eog-epochs/11107)

<div class="topic-metadata">

**Author:** [@Elske](https://mne.discourse.group/u/Elske)\
**Replies:** 4\
**Last updated:** [May 1, 2025, 3:33pm UTC](https://mne.discourse.group/t/automatic-blink-detection-to-produce-a-plot-of-eog-epochs/11107 "2025-05-01T15:33:46Z")

</div>

Hi everyone, I am having trouble using automatic blink detection to produce a plot of EOG epochs and creating epochs for every blinks detected. In general the code works very well, but I have a some of data where the p…

---

## [Urgent Help Needed: Preprocessing Large ICU Comatose EEG Dataset (350 Patients, MATLAB Files)](https://mne.discourse.group/t/urgent-help-needed-preprocessing-large-icu-comatose-eeg-dataset-350-patients-matlab-files/11135)

<div class="topic-metadata">

**Author:** [@Sweet\_caramel](https://mne.discourse.group/u/Sweet_caramel)\
**Replies:** 2\
**Last updated:** [April 27, 2025, 2:12pm UTC](https://mne.discourse.group/t/urgent-help-needed-preprocessing-large-icu-comatose-eeg-dataset-350-patients-matlab-files/11135 "2025-04-27T14:12:52Z")

</div>

I need to preprocess EEG data from 350 ICU patients, all of whom are comatose. Each patient has 72 EEG files, each containing 1 hour of recording. The files are in MATLAB format (.mat). I’ve started working on the prepr…

---

## [ValueError: Split raw file detected\` — but there is only one \`.fif\` file (OpenNeuro ds004212)](https://mne.discourse.group/t/valueerror-split-raw-file-detected-but-there-is-only-one-fif-file-openneuro-ds004212/11088)

<div class="topic-metadata">

**Author:** [@Saeed](https://mne.discourse.group/u/Saeed)\
**Replies:** 8\
**Last updated:** [April 15, 2025, 6:54pm UTC](https://mne.discourse.group/t/valueerror-split-raw-file-detected-but-there-is-only-one-fif-file-openneuro-ds004212/11088 "2025-04-15T18:54:36Z")

</div>

MNE version: 1.8.0 OS : Windows 11 Hi all, I’m encountering this error when trying to load a .fif MEG file using mne.io.read\_raw\_fif: ValueError: Split raw file detected but next file ...-1.fif does not exist. Ensure…

---

## [Empty-room pre-processing - ICA](https://mne.discourse.group/t/empty-room-pre-processing-ica/7584)

<div class="topic-metadata">

**Author:** [@emarca](https://mne.discourse.group/u/emarca)\
**Replies:** 7\
**Last updated:** [April 4, 2025, 1:48pm UTC](https://mne.discourse.group/t/empty-room-pre-processing-ica/7584 "2025-04-04T13:48:23Z")

</div>

MNE version: e.g. 1.3.0 operating system: Windows 11 Hi, I am trying to use my empty room data to whiten my covariance matrix before applying LCMV beamforming. In the pre-processing pipeline of the empty room, I succes…

---

## [Adjacency Matrix construction for time-frequency data](https://mne.discourse.group/t/adjacency-matrix-construction-for-time-frequency-data/11023)

<div class="topic-metadata">

**Author:** [@r\_ally](https://mne.discourse.group/u/r_ally)\
**Replies:** 2\
**Last updated:** [March 27, 2025, 10:43am UTC](https://mne.discourse.group/t/adjacency-matrix-construction-for-time-frequency-data/11023 "2025-03-27T10:43:22Z")

</div>

MNE version: 1.8.0 operating system: e.g. macOS 14 Hi all! I am trying to run a spatio-temporal cluster permutation using MEG data from two different conditions “B” and “C”. The permutation is being done on data from …

---

## [Loading and Visualizing the EEGEyeNet Dataset](https://mne.discourse.group/t/loading-and-visualizing-the-eegeyenet-dataset/10970)

<div class="topic-metadata">

**Author:** [@JonNir1](https://mne.discourse.group/u/JonNir1)\
**Replies:** 14\
**Last updated:** [March 20, 2025, 10:30am UTC](https://mne.discourse.group/t/loading-and-visualizing-the-eegeyenet-dataset/10970 "2025-03-20T10:30:41Z")

</div>

Hello, I’m new to MNE and EEG-analysis in general, and would appreciate your help :slight\_smile: I’m working with the EEGEyeNet dataset, a publicly available dataset with co-registered EEG and Eye Tracking data. The da…

---

## [Atypical microstates topographic maps - Pycrostates](https://mne.discourse.group/t/atypical-microstates-topographic-maps-pycrostates/10922)

<div class="topic-metadata">

**Author:** [@Hi-Uni](https://mne.discourse.group/u/Hi-Uni)\
**Replies:** 7\
**Last updated:** [March 18, 2025, 7:57pm UTC](https://mne.discourse.group/t/atypical-microstates-topographic-maps-pycrostates/10922 "2025-03-18T19:57:38Z")

</div>

Hi, I’m having issues obtaining topographic maps that look anything like what’s normally seen in the literature. See images. Basically, the maps are inconsistent and not reflecting what should be expected at the individ…

---

## [Unexpected ICA Results](https://mne.discourse.group/t/unexpected-ica-results/10965)

<div class="topic-metadata">

**Author:** [@Douinq](https://mne.discourse.group/u/Douinq)\
**Replies:** 15\
**Last updated:** [March 18, 2025, 4:41pm UTC](https://mne.discourse.group/t/unexpected-ica-results/10965 "2025-03-18T16:41:28Z")

</div>

MNE version: 1.7.0 operating system: Windows 11 Hi everyone! First, I’d like to sincerely thank all of you who contribute to this forum, as well as the developers for providing such detailed tutorials on the website. …

---

## [Apply or not baseline correction for Time-Frequency analysis](https://mne.discourse.group/t/apply-or-not-baseline-correction-for-time-frequency-analysis/10402)

<div class="topic-metadata">

**Author:** [@Johan](https://mne.discourse.group/u/Johan)\
**Replies:** 1\
**Last updated:** [March 18, 2025, 12:38pm UTC](https://mne.discourse.group/t/apply-or-not-baseline-correction-for-time-frequency-analysis/10402 "2025-03-18T12:38:07Z")

</div>

Hi everyone, I’m working on a time-frequency EEG analysis with MNE-Python with quite long epochs (9.6 seconds). I was wondering if baseline correction is recommended in this context, and if yes, at which point in the an…

---

## [Unable to extract triggers even after assigning the correct channel type](https://mne.discourse.group/t/unable-to-extract-triggers-even-after-assigning-the-correct-channel-type/10940)

<div class="topic-metadata">

**Author:** [@kand](https://mne.discourse.group/u/kand)\
**Replies:** 2\
**Last updated:** [March 17, 2025, 6:07pm UTC](https://mne.discourse.group/t/unable-to-extract-triggers-even-after-assigning-the-correct-channel-type/10940 "2025-03-17T18:07:57Z")

</div>

MNE version: 1.9. 0 operating system: Windows 10 Hello, I have attempted to use mne.find\_events to extract my stimulus triggers but have not been successful. raw = mne.io.read\_raw\_edf(edf\_path) raw.copy().pick(picks…

---

## [Getting partially clean epochs from autoreject](https://mne.discourse.group/t/getting-partially-clean-epochs-from-autoreject/10902)

<div class="topic-metadata">

**Author:** [@Aceticia1](https://mne.discourse.group/u/Aceticia1)\
**Replies:** 2\
**Last updated:** [March 9, 2025, 3:36pm UTC](https://mne.discourse.group/t/getting-partially-clean-epochs-from-autoreject/10902 "2025-03-09T15:36:30Z")

</div>

I’m dealing with long continuous data, and I split them into around epochs of 30s-1min. Autoreject will remove epochs that are bad, I assume these are epochs that can’t be repaired? To save as much data as possible, I’m…

---

## [Seeking Advice on SEEG Time-Frequency Analysis Workflow](https://mne.discourse.group/t/seeking-advice-on-seeg-time-frequency-analysis-workflow/10719)

<div class="topic-metadata">

**Author:** [@const](https://mne.discourse.group/u/const)\
**Replies:** 17\
**Last updated:** [March 6, 2025, 5:38am UTC](https://mne.discourse.group/t/seeking-advice-on-seeg-time-frequency-analysis-workflow/10719 "2025-03-06T05:38:14Z")

</div>

Hi everyone, I’m currently working on analyzing SEEG data, specifically comparing power time series in different conditions (e.g., positive vs. negative emotion) within a specific frequency band, such as high gamma. I’d…

---

## [RuntimeWarning: Not setting positions of 3 misc channels](https://mne.discourse.group/t/runtimewarning-not-setting-positions-of-3-misc-channels/10873)

<div class="topic-metadata">

**Author:** [@Pouyarabiei](https://mne.discourse.group/u/Pouyarabiei)\
**Replies:** 2\
**Last updated:** [March 5, 2025, 7:02pm UTC](https://mne.discourse.group/t/runtimewarning-not-setting-positions-of-3-misc-channels/10873 "2025-03-05T19:02:14Z")

</div>

Hello everybody For reading and loading raw EEG data in BIDS format, I have the RuntimeWarning: Not setting positions of 3 misc channels found in montage: \[‘GSR’, ‘HR’, ‘RESP’\]. I used the code below, but I still have …

---

## [ValueError read\_raw\_eyelink missing channel name in annotations](https://mne.discourse.group/t/valueerror-read-raw-eyelink-missing-channel-name-in-annotations/10846)

<div class="topic-metadata">

**Author:** [@MargotSteijger](https://mne.discourse.group/u/MargotSteijger)\
**Replies:** 6\
**Last updated:** [February 26, 2025, 3:41pm UTC](https://mne.discourse.group/t/valueerror-read-raw-eyelink-missing-channel-name-in-annotations/10846 "2025-02-26T15:41:16Z")

</div>

Hi, I recently started using the mne toolbox for the preprocessing of my Eyelink pupil data and for most files this works fantastically, but I have a few files where the read\_raw\_eyelink function gives me the following …

---

## [ICA and Average Reference Projection not working](https://mne.discourse.group/t/ica-and-average-reference-projection-not-working/10835)

<div class="topic-metadata">

**Author:** [@NisargOza](https://mne.discourse.group/u/NisargOza)\
**Replies:** 4\
**Last updated:** [February 25, 2025, 10:37pm UTC](https://mne.discourse.group/t/ica-and-average-reference-projection-not-working/10835 "2025-02-25T22:37:17Z")

</div>

:question: If you have a question or issue with MNE-Python, please include the following info: MNE version: 1.9.0 operating system: Kaggle Notebook def preprocess\_eeg\_data(raw\_data): """ Preprocess EEG data wi…

---

## [Extremely small datapoints introduced from edf recordings after filtering](https://mne.discourse.group/t/extremely-small-datapoints-introduced-from-edf-recordings-after-filtering/10817)

<div class="topic-metadata">

**Author:** [@hazalk9](https://mne.discourse.group/u/hazalk9)\
**Replies:** 0\
**Last updated:** [February 19, 2025, 2:28am UTC](https://mne.discourse.group/t/extremely-small-datapoints-introduced-from-edf-recordings-after-filtering/10817 "2025-02-19T02:28:51Z")

</div>

mne version: 1.8.0 OS: Win 10 Hello all, I use mne to process edf recordings with code as below and it creates extremely small datapoints in my data such as: Before filtering\> Smallest positive: 1.6479743648449245e-…

---

## [epoch data with start and end event markers?](https://mne.discourse.group/t/epoch-data-with-start-and-end-event-markers/10804)

<div class="topic-metadata">

**Author:** [@cozywolfAMZ](https://mne.discourse.group/u/cozywolfAMZ)\
**Replies:** 2\
**Last updated:** [February 13, 2025, 10:08pm UTC](https://mne.discourse.group/t/epoch-data-with-start-and-end-event-markers/10804 "2025-02-13T22:08:01Z")

</div>

Hello all, I am working with a dataset that the trial length varies that each trial is marked with a start and end marker. I plan to only run band freq analysis and am wondering if MNE can epoch the data not based on ti…

---

## [Order of preprocessing](https://mne.discourse.group/t/order-of-preprocessing/10774)

<div class="topic-metadata">

**Author:** [@RealDream21](https://mne.discourse.group/u/RealDream21)\
**Replies:** 1\
**Last updated:** [February 11, 2025, 6:52pm UTC](https://mne.discourse.group/t/order-of-preprocessing/10774 "2025-02-11T18:52:16Z")

</div>

Hello! In what order should I preprocess an EEG Raw signal? My trials are 2 seconds long. The options that I’ve implemented are as follows(in order): mne.io.Raw.set\_eeg\_reference mne.io.Raw.filter ( l\_freq = 4, h\_freq…

---

## [threshold for edf signals](https://mne.discourse.group/t/threshold-for-edf-signals/6445)

<div class="topic-metadata">

**Author:** [@zainab](https://mne.discourse.group/u/zainab)\
**Replies:** 1\
**Last updated:** [February 5, 2025, 11:33am UTC](https://mne.discourse.group/t/threshold-for-edf-signals/6445 "2025-02-05T11:33:19Z")

</div>

How to estimate threshold to find the difference between two edf signals (relax and concetration)

[Previous page](https://mne.discourse.group/tag/preprocessing/29.md?match_all_tags=true&page=1&tags%5B%5D=preprocessing)

[Next page](https://mne.discourse.group/tag/preprocessing/29.md?match_all_tags=true&page=3&tags%5B%5D=preprocessing)
