Change mne.raw data

  • MNE-Python version: 0.24
  • operating system: Windows 10, Anaconda

Hi there,

I am currently trying to analyze a piece of eeg data. The problem I am facing is:
the data I got is amplified by a factor of 24, so I am trying to divide everything by 24 before using it.

I am able to load the .edf and extract raw.
I am also able to extract all data by raw.get_data() and divide them by 24
However, I do not see a way to put the data back into the raw file

Can anyone help?

You can use raw.apply_function() as mentioned in my answer to this question: Rescale data import from fieldtrip - #2 by cbrnr

1 Like