External Email - Use Caution
Dear All,
The idea was to epoch the continuous EEG data of 386.936 s long into non overlapping epoch window, of size 20 s. With a sampling frequency 250 Hz, theoretically each epochs should contain 5000 data points per epoch.
To achieve the objective, the following code was utilised,
epochs = mne.Epochs(raw, events=events, event_id=event_id, baseline=None, verbose=True)
MneApproach=epochs.to_data_frame()
To confirm whether the value return from the mne.Epoch was correct or not, I had created a script that can performed the epoching manually. The output from the script has been validated visually and was working as intended.
However, I noticed there were different between the script output and the value from dataframe MneApproach. Apart from different values, the MneApproach contained only 176 datasets per epoch.
May I know what did I do wrong while inputting the mne.Epoch function.
The above problem can be reproduced from the following ipynb<https://colab.research.google.com/github/balandongiv/Downsample/blob/master/helpMne.ipynb> via Google Colab
Really appreciate for any feedback and help.
Regards
Rpb
DISCLAIMER : This e-mail and any files transmitted with it ("Message") is intended only for the use of the recipient(s) named above and may contain confidential information. You are hereby notified that the taking of any action in reliance upon, or any review, retransmission, dissemination, distribution, printing or copying of this Message or any part thereof by anyone other than the intended recipient(s) is strictly prohibited. If you have received this Message in error, you should delete this Message immediately and advise the sender by return e-mail. Opinions, conclusions and other information in this Message that do not relate to the official business of Universiti Teknologi PETRONAS (UTP) shall be understood as neither given nor endorsed by Universiti Teknologi PETRONAS (UTP).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20191026/f979054a/attachment.html