[Mne_analysis] Apply z score to raw object

Alexandre Gramfort alexandre.gramfort at inria.fr
Tue Mar 3 14:34:17 EST 2020
Search archives:

        External Email - Use Caution        

you can do this with:

https://mne.tools/stable/generated/mne.io.Raw.html#mne.io.Raw.apply_function

something like this

raw.apply_function(lambda x: (x - np.mean(x) / np.std(x))

HTH
Alex

On Tue, Mar 3, 2020 at 7:10 PM Sameera Adhikari
<sameerabadhikari at gmail.com> wrote:
>
>         External Email - Use Caution
>
> Hi,
>
> I am working with RawCNT object which contains EEG data. I need to standardize the data using z score. How can I do that in mne?
>
> Thank you
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis



More information about the Mne_analysis mailing list