[Mne_analysis] How to set the value of times with command time_frequency.AverageTFR?

Heinilä, Erkka erkka.heinila at jyu.fi
Sat Dec 15 04:32:27 EST 2018
Search archives:

        External Email - Use Caution        

Hi,


times = np.linspace(tmin_s, tmax_s, n_timepoints),


for example,


times = np.linspace(-0.5, 4, 2251), given a 0.5s baseline,


-- Erkka

________________________________
From: mne_analysis-bounces at nmr.mgh.harvard.edu <mne_analysis-bounces at nmr.mgh.harvard.edu> on behalf of Xia, Tao <psytao18 at connect.hku.hk>
Sent: Saturday, December 15, 2018 10:59:31 AM
To: mne_analysis at nmr.mgh.harvard.edu
Subject: [Mne_analysis] How to set the value of times with command time_frequency.AverageTFR?


        External Email - Use Caution

Hi all,
       I want to create a time-frequency data container. My data is (21(n_channel),20(n_frequency),2251(n_timepoint)),sfreqs=500Hz, and there were total 4.5s for each epoch. When I used the mne.time_frequency.AverageTFR command, I did know how to set the value of times. I have made times=np.arrange(1,2252), but it seems wrong. Would you please provide me some help?
      Thanks a lot.
      Best wishes.

--
---------------------------------------

Tao Xia

Department of Psychology

The University of Hong Kong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20181215/16934973/attachment.html 


More information about the Mne_analysis mailing list