# \#raw

**URL:** https://mne.discourse.group/tag/raw/86.md

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

---

## [Converting to\_data\_frame for mne.io.Raw from 0.20.0 to 1.11](https://mne.discourse.group/t/converting-to-data-frame-for-mne-io-raw-from-0-20-0-to-1-11/11676)

<div class="topic-metadata">

**Author:** [@NgoHongVinh](https://mne.discourse.group/u/NgoHongVinh)\
**Replies:** 1\
**Last updated:** [January 30, 2026, 1:43pm UTC](https://mne.discourse.group/t/converting-to-data-frame-for-mne-io-raw-from-0-20-0-to-1-11/11676 "2026-01-30T13:43:08Z")

</div>

Hi, I was working on a project where the MNE version is 0.20.0. I want to convert to 1.11 but I notice some issues. In the 0.20.0 version, the method to\_data\_frame of mne.io.Raw has a parameter called scaling\_time. How…

---

## [fNIRS: RuntimeError: None must operate on continuous wave data, but none was found.](https://mne.discourse.group/t/fnirs-runtimeerror-none-must-operate-on-continuous-wave-data-but-none-was-found/11462)

<div class="topic-metadata">

**Author:** [@NK221088](https://mne.discourse.group/u/NK221088)\
**Replies:** 3\
**Last updated:** [August 28, 2025, 9:42am UTC](https://mne.discourse.group/t/fnirs-runtimeerror-none-must-operate-on-continuous-wave-data-but-none-was-found/11462 "2025-08-28T09:42:37Z")

</div>

MNE version: 1.10.0 Operating system: Windows 11 I have an issue regarding converting my fNIRS raw intensities to optical density. More specifically I receive the error code below: mne.preprocessing.nirs.optical\_densi…

---

## [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, …

---

## [There is 1 channel position not present in the DigMontage \['VREF\]](https://mne.discourse.group/t/there-is-1-channel-position-not-present-in-the-digmontage-vref/11132)

<div class="topic-metadata">

**Author:** [@Tyrion1803](https://mne.discourse.group/u/Tyrion1803)\
**Replies:** 2\
**Last updated:** [April 26, 2025, 4:30pm UTC](https://mne.discourse.group/t/there-is-1-channel-position-not-present-in-the-digmontage-vref/11132 "2025-04-26T16:30:16Z")

</div>

MNE version: 1.9 operating system: e.g. macOS 15.4.1 # Setup the data montage montage = mne.channels.make\_standard\_montage("GSN-HydroCel-129") for t1\_file,td\_file in zip(t1\_file\_list,td\_file\_l…

---

## [QhullError Error when plotting alignment (Self defined OPM sensor configuration)](https://mne.discourse.group/t/qhullerror-error-when-plotting-alignment-self-defined-opm-sensor-configuration/11049)

<div class="topic-metadata">

**Author:** [@Luessiaw](https://mne.discourse.group/u/Luessiaw)\
**Replies:** 0\
**Last updated:** [April 1, 2025, 5:45pm UTC](https://mne.discourse.group/t/qhullerror-error-when-plotting-alignment-self-defined-opm-sensor-configuration/11049 "2025-04-01T17:45:31Z")

</div>

MNE version: 1.8.0 operating system: Windows 11 I’m trying to simulate raw data with self defined OPM sensor configuration. Following this post and this post I created a coil\_def.dat file containing 64 sensors like th…

---

## [Error reading cnt file.](https://mne.discourse.group/t/error-reading-cnt-file/10465)

<div class="topic-metadata">

**Author:** [@arjbingly](https://mne.discourse.group/u/arjbingly)\
**Replies:** 5\
**Last updated:** [November 2, 2024, 8:59am UTC](https://mne.discourse.group/t/error-reading-cnt-file/10465 "2024-11-02T08:59:38Z")

</div>

MNE version: 1.8.0 Operating System: macOS 15 Python version: 3.12 Upon trying to read a cnt file using mne.io.read\_raw\_cnt(file\_path, data\_format='int32', preload=True), I get the following error. I have made sure tha…

---

## [How to keep consistant timing after dividing a Raw File](https://mne.discourse.group/t/how-to-keep-consistant-timing-after-dividing-a-raw-file/10390)

<div class="topic-metadata">

**Author:** [@NeuroPhdStud](https://mne.discourse.group/u/NeuroPhdStud)\
**Replies:** 2\
**Last updated:** [October 29, 2024, 2:05pm UTC](https://mne.discourse.group/t/how-to-keep-consistant-timing-after-dividing-a-raw-file/10390 "2024-10-29T14:05:25Z")

</div>

Hello everyone, I have one unique raw file which contains EEG data for different conditions in bdf format. I want to be able to separate each condition in its dedicated .fif file. For now, I have been able to use my u…

---

## [Creating Raw objects with fNIRS data](https://mne.discourse.group/t/creating-raw-objects-with-fnirs-data/8939)

<div class="topic-metadata">

**Author:** [@MPCHe18](https://mne.discourse.group/u/MPCHe18)\
**Replies:** 1\
**Last updated:** [July 26, 2024, 3:50pm UTC](https://mne.discourse.group/t/creating-raw-objects-with-fnirs-data/8939 "2024-07-26T15:50:36Z")

</div>

MNE version: 1.6.1 operating system: Windows 11 Hi everyone, I’m new to MNE and I have some questions about creating ‘raw’ objects with fNIRS data. I’m following the tutorial “Creating MNE-Python data structures from s…

---

## [Converting EDF to SNIRF file](https://mne.discourse.group/t/converting-edf-to-snirf-file/8602)

<div class="topic-metadata">

**Author:** [@akontra](https://mne.discourse.group/u/akontra)\
**Replies:** 0\
**Last updated:** [April 8, 2024, 6:37pm UTC](https://mne.discourse.group/t/converting-edf-to-snirf-file/8602 "2024-04-08T18:37:04Z")

</div>

Hi, I need help converting an edf file to snirf. tldr; A fNIRS recording session was accidentally saved to an .edf file. I’m now helping researchers convert this to a snirf file format so they can analyse the data. They…

---

## [Creating a raw object manually](https://mne.discourse.group/t/creating-a-raw-object-manually/8563)

<div class="topic-metadata">

**Author:** [@averinkit](https://mne.discourse.group/u/averinkit)\
**Replies:** 8\
**Last updated:** [March 26, 2024, 5:41pm UTC](https://mne.discourse.group/t/creating-a-raw-object-manually/8563 "2024-03-26T17:41:39Z")

</div>

I have some signals recorded in a text file where there are 2 columns and many rows, 1 column is time in ms, 2 column is amplitude. Is it possible to manually combine these signals so that I end up creating a raw object …

---

## [Raw object interprets data incorrectly](https://mne.discourse.group/t/raw-object-interprets-data-incorrectly/8415)

<div class="topic-metadata">

**Author:** [@averinkit](https://mne.discourse.group/u/averinkit)\
**Replies:** 8\
**Last updated:** [March 4, 2024, 9:57am UTC](https://mne.discourse.group/t/raw-object-interprets-data-incorrectly/8415 "2024-03-04T09:57:06Z")

</div>

Hello, I have some text files with the EEG signal, let’s take two of them to start with. Inside of them signals stored as 2 columns with many rows. I want to create a raw object from them and when plotting them I want t…

---

## [mne not able to recognize ch\_type of channels](https://mne.discourse.group/t/mne-not-able-to-recognize-ch-type-of-channels/8345)

<div class="topic-metadata">

**Author:** [@Sar280P](https://mne.discourse.group/u/Sar280P)\
**Replies:** 1\
**Last updated:** [February 15, 2024, 6:39pm UTC](https://mne.discourse.group/t/mne-not-able-to-recognize-ch-type-of-channels/8345 "2024-02-15T18:39:56Z")

</div>

:question: If you have a question or issue with MNE-Python, please include the following info: MNE version: 1.6.1 operating system: Ubuntu 22.04 I am trying to convert polars dataframe o Raw mne object . But the prob…

---

## [different dtypes within one raw object](https://mne.discourse.group/t/different-dtypes-within-one-raw-object/7860)

<div class="topic-metadata">

**Author:** [@alrightapril](https://mne.discourse.group/u/alrightapril)\
**Replies:** 6\
**Last updated:** [November 16, 2023, 10:57am UTC](https://mne.discourse.group/t/different-dtypes-within-one-raw-object/7860 "2023-11-16T10:57:27Z")

</div>

MNE version: 1.4.0 operating system: Windows 10 I was wondering if there is a possibility to store different dtypes within a single raw object? It appears whenever I create a mne.io.RawArray, float64 dtype is created, …

---

## [Edit raw signal values for algorithm validation](https://mne.discourse.group/t/edit-raw-signal-values-for-algorithm-validation/7765)

<div class="topic-metadata">

**Author:** [@LEPacheco](https://mne.discourse.group/u/LEPacheco)\
**Replies:** 1\
**Last updated:** [October 30, 2023, 6:29pm UTC](https://mne.discourse.group/t/edit-raw-signal-values-for-algorithm-validation/7765 "2023-10-30T18:29:18Z")

</div>

Hi, I’m trying to validate an algorithm based on EEG connectivity. In order to do that, I would like to analyze some sine waves with variable phase so I can get values of connectivity of 0 and 1 when using wPLI and Coher…

---

## [compute\_psd for resp, gsr, and temperature channels](https://mne.discourse.group/t/compute-psd-for-resp-gsr-and-temperature-channels/7405)

<div class="topic-metadata">

**Author:** [@jonas.mago](https://mne.discourse.group/u/jonas.mago)\
**Replies:** 3\
**Last updated:** [August 21, 2023, 7:31am UTC](https://mne.discourse.group/t/compute-psd-for-resp-gsr-and-temperature-channels/7405 "2023-08-21T07:31:16Z")

</div>

Hey there, I am working with an MNE raw object that has 32 eeg channels and a few additional channel types: eog, ecg, resp, gsr, and temperature. I am interested in computing the PSD for these channels. For the EEG, eo…

---

## [Issue with raw.add\_channels()](https://mne.discourse.group/t/issue-with-raw-add-channels/7310)

<div class="topic-metadata">

**Author:** [@letitiayhho](https://mne.discourse.group/u/letitiayhho)\
**Replies:** 2\
**Last updated:** [August 1, 2023, 9:21am UTC](https://mne.discourse.group/t/issue-with-raw-add-channels/7310 "2023-08-01T09:21:57Z")

</div>

MNE version: e.g. 1.4.2 Operating system: CentOS Linux 7 (Core) Hi, I’m using PREP to preprocess some EEG data. I’m trying to add the EOG channels back to the EEG data post-PREP, but add\_channels() doesn’t seem to be w…

---

## [How to extract information about onset of raw fif file?](https://mne.discourse.group/t/how-to-extract-information-about-onset-of-raw-fif-file/5587)

<div class="topic-metadata">

**Author:** [@bonokat](https://mne.discourse.group/u/bonokat)\
**Replies:** 1\
**Last updated:** [September 16, 2022, 2:09pm UTC](https://mne.discourse.group/t/how-to-extract-information-about-onset-of-raw-fif-file/5587 "2022-09-16T14:09:10Z")

</div>

MNE version: 1.1.1 operating system: Windows 10 Dear all, I am a complete newbie at MNE and need your advice. I am loading raw .fif files with events and it works well, but there’s a starting time problem. When MEG d…

---

## [apply\_inverse\_epochs vs apply\_inverse\_raw](https://mne.discourse.group/t/apply-inverse-epochs-vs-apply-inverse-raw/6518)

<div class="topic-metadata">

**Author:** [@Goliath](https://mne.discourse.group/u/Goliath)\
**Replies:** 2\
**Last updated:** [March 14, 2023, 6:06pm UTC](https://mne.discourse.group/t/apply-inverse-epochs-vs-apply-inverse-raw/6518 "2023-03-14T18:06:30Z")

</div>

I have a little question about applying the inverse operator to epoched and non-epoched data. Although technically the difference is clear, I want to make sure that I correctly understand the use-cases. Should I use appl…

---

## [MASS dataset/ mne function read half file when infer\_types = True](https://mne.discourse.group/t/mass-dataset-mne-function-read-half-file-when-infer-types-true/6193)

<div class="topic-metadata">

**Author:** [@mchlsam](https://mne.discourse.group/u/mchlsam)\
**Replies:** 6\
**Last updated:** [January 26, 2023, 8:12am UTC](https://mne.discourse.group/t/mass-dataset-mne-function-read-half-file-when-infer-types-true/6193 "2023-01-26T08:12:22Z")

</div>

MNE version: 1.3.0 (I tried on 1.1.0 as well) operating system: Ubuntu 18.04 Hi, I’m working with the MASS dataset, and when loading some files e.g. “Biosignals\_SS3/01-03-0057 PSG.edf” with the following code: raw = …

---

## [Can meas\_date using raw.set\_meas\_date() be set to something other than UTC?](https://mne.discourse.group/t/can-meas-date-using-raw-set-meas-date-be-set-to-something-other-than-utc/6223)

<div class="topic-metadata">

**Author:** [@sv54](https://mne.discourse.group/u/sv54)\
**Replies:** 1\
**Last updated:** [January 20, 2023, 6:59pm UTC](https://mne.discourse.group/t/can-meas-date-using-raw-set-meas-date-be-set-to-something-other-than-utc/6223 "2023-01-20T18:59:05Z")

</div>

As far as I can tell MNE requires using UTC for meas\_date. However, I want to keep the time of day information for my timezone. For example, if forced to use UTC then I need to add 5 hours to my datetime. That is a bit a…

---

## [How to remove DC bias from continous raw eeg signal?](https://mne.discourse.group/t/how-to-remove-dc-bias-from-continous-raw-eeg-signal/6117)

<div class="topic-metadata">

**Author:** [@Mukil](https://mne.discourse.group/u/Mukil)\
**Replies:** 2\
**Last updated:** [December 28, 2022, 4:37pm UTC](https://mne.discourse.group/t/how-to-remove-dc-bias-from-continous-raw-eeg-signal/6117 "2022-12-28T16:37:37Z")

</div>

I need to remove DC offset from my raw eeg signal. I have found that remove\_dc=True parameter in mne.io.Raw.plot does it only for visualization. Is there any way to remove the dc bias from the EEG raw signal? or subtrac…

---

## [How to change the unit in mne.io.RawArray.plot](https://mne.discourse.group/t/how-to-change-the-unit-in-mne-io-rawarray-plot/6109)

<div class="topic-metadata">

**Author:** [@zahid](https://mne.discourse.group/u/zahid)\
**Replies:** 4\
**Last updated:** [December 25, 2022, 8:52pm UTC](https://mne.discourse.group/t/how-to-change-the-unit-in-mne-io-rawarray-plot/6109 "2022-12-25T20:52:24Z")

</div>

Hello Everyone, I am trying to plot recorded EEG signals in a .csv file. In the .csv file the unit is uV. Basically i read the data from csv file and plot it with MNE. But MNE takes these values as Volt not uVolt. Ex: 4…

---

## [When using raw.plot(), the image is wrong when the set ch\_types](https://mne.discourse.group/t/when-using-raw-plot-the-image-is-wrong-when-the-set-ch-types/5814)

<div class="topic-metadata">

**Author:** [@spbgzh](https://mne.discourse.group/u/spbgzh)\
**Replies:** 2\
**Last updated:** [October 26, 2022, 7:05pm UTC](https://mne.discourse.group/t/when-using-raw-plot-the-image-is-wrong-when-the-set-ch-types/5814 "2022-10-26T19:05:27Z")

</div>

MNE version: MNE 1.2.1 operating system: macOS 12 Data Set : Seed-IV import mne import scipy.io as scio data\_path = “./eeg\_raw\_data/eeg\_raw\_data/1/1\_20160518.mat” file\_name = “cz\_eeg1” raw\_data = scio.loadmat(data…

---

## [Getting data from a single channel](https://mne.discourse.group/t/getting-data-from-a-single-channel/4034)

<div class="topic-metadata">

**Author:** [@APPLE](https://mne.discourse.group/u/APPLE)\
**Replies:** 1\
**Last updated:** [May 21, 2022, 8:29am UTC](https://mne.discourse.group/t/getting-data-from-a-single-channel/4034 "2022-05-21T08:29:40Z")

</div>

my cnt has 5 chs EEG, How can get only one chs data?

---

## [Why does resamp change the interval](https://mne.discourse.group/t/why-does-resamp-change-the-interval/4635)

<div class="topic-metadata">

**Author:** [@yaojie](https://mne.discourse.group/u/yaojie)\
**Replies:** 2\
**Last updated:** [March 29, 2022, 4:26am UTC](https://mne.discourse.group/t/why-does-resamp-change-the-interval/4635 "2022-03-29T04:26:53Z")

</div>

hi~ I’m sorry to ask this question,maybe it’s probably simple and worthless ,But I’m a beginner and it does bother me for a long time . My mne vision is 1.0.1 , operating system is Windows 10. I use the function re…

---

## [Unable to control background colors for raw plot](https://mne.discourse.group/t/unable-to-control-background-colors-for-raw-plot/4385)

<div class="topic-metadata">

**Author:** [@PaulF](https://mne.discourse.group/u/PaulF)\
**Replies:** 1\
**Last updated:** [February 9, 2022, 11:53am UTC](https://mne.discourse.group/t/unable-to-control-background-colors-for-raw-plot/4385 "2022-02-09T11:53:32Z")

</div>

MNE version: 0.24.0 Mac OS 11.6.1 I’m embarrassed to ask, but I must be overlooking something simple with regard to raw plot color options. Shouldn’t something like raw.plot(color='r',bgcolor='y') yield a yellow back…

---

## [Question about Savitzky–Golay filter](https://mne.discourse.group/t/question-about-savitzky-golay-filter/4368)

<div class="topic-metadata">

**Author:** [@ali](https://mne.discourse.group/u/ali)\
**Replies:** 1\
**Last updated:** [February 4, 2022, 4:43pm UTC](https://mne.discourse.group/t/question-about-savitzky-golay-filter/4368 "2022-02-04T16:43:55Z")

</div>

MNE version: e.g. 0.24.1 operating system: Windows 10 Dear all For enhancing SNR, I want to do temporal smoothing, and I decide to use Savitzky–Golay filter. However, I am not sure how to set the “window\_length” and “…

---

## [Plotting Raw EEG signals](https://mne.discourse.group/t/plotting-raw-eeg-signals/4291)

<div class="topic-metadata">

**Author:** [@adedespirlet](https://mne.discourse.group/u/adedespirlet)\
**Replies:** 17\
**Last updated:** [January 21, 2022, 12:18pm UTC](https://mne.discourse.group/t/plotting-raw-eeg-signals/4291 "2022-01-21T12:18:57Z")

</div>

MNE version: e.g. 0.24.1 operating system: Ubuntu 20.04 #extracting eeg data and labeling cols\_list=\[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16\] eeg\_raw = pd.read\_csv('/home/aurore/eeg/data/Carlijn\_Sit\_Train\_data/Carlijn\_S…

---

## [How to remove Syntax error when doing mne\_edf2fiff conversion](https://mne.discourse.group/t/how-to-remove-syntax-error-when-doing-mne-edf2fiff-conversion/4116)

<div class="topic-metadata">

**Author:** [@Subrat\_Bastola](https://mne.discourse.group/u/Subrat_Bastola)\
**Replies:** 6\
**Last updated:** [December 13, 2021, 8:45am UTC](https://mne.discourse.group/t/how-to-remove-syntax-error-when-doing-mne-edf2fiff-conversion/4116 "2021-12-13T08:45:08Z")

</div>

I am new to MNE python, and wanted to convert the raw file provided to me in edf format to .fif format. However, I came across this problem. I was wondering if anyone could help me with resolving the issue. I am sharing …

---

## [Plot closes immediately](https://mne.discourse.group/t/plot-closes-immediately/4033)

<div class="topic-metadata">

**Author:** [@APPLE](https://mne.discourse.group/u/APPLE)\
**Replies:** 4\
**Last updated:** [November 26, 2021, 3:48pm UTC](https://mne.discourse.group/t/plot-closes-immediately/4033 "2021-11-26T15:48:29Z")

</div>

I have one other question to ask that when I use “raw.plot” the figure generated gone at once…

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