[Eeglablist] Imported data from Muse produce error in FFT
Cedric Cannard
ccannard at protonmail.com
Fri Jan 14 09:29:07 PST 2022
Great. This script estimates the most stable sample rate across the file since it fluctuates with Bluetooth. So, it looks like something might be wrong with your sample rate (e.g. large streaming disconnections). I would inspect the file carefully. Should be 250 hz for Muse 1 (model before 2016), and 256 for all later models (from memory).
Simply type EEG.srate in Matlab and it will return it. Should be the same as what is displayed on the GUI.
Yes it needs to be further tested and validated to become an official eeglab plugin and available in the plugins list.
And the wiki is out of date.
Cédric
On Fri, Jan 14, 2022 at 01:21, Andreas Fahr <andreas.fahr at unifr.ch> wrote:
> Hey Cedric
>
> Thanks for your help.
>
> Yes, I can plot the data successfully. I used »Auto« while importing. I do not know exactly how to display EEG.srate. But the displayed sampling rate is 93.
>
> Having said this, your import script works like a charm. Great work. No error messages. Thank you for providing this to the community!
>
> As a side note: You may want to update your wiki: One cannot install the script via the eeglab-menue, because it is not found/not on the list. You have to copy it manually into the plugin-folder. Then it works fine.
>
> Thanks again, I will continue to work on my data after using your import script.
>
> Kind regards
>
> Andreas
>
> Am 14. Jan. 2022, 00:37 +0100 schrieb Cedric Cannard <ccannard at protonmail.com>:
>
>> Hi Andreas,
>>
>> Can you plot the raw data successfully? What sample rate did you choose when importing? 'Auto'? And what does EEG.srate return after importation?
>>
>> In parallel, you could try this alternative plugin I worked on and see if it works: https://urldefense.com/v3/__https://github.com/amisepa/import_muse__;!!Dc8iu7o!l4RxFxbI2qYvOXX-ORLAbEAc8azUNQnGCecgVxjPo7Y-sQW5fej-ayCUC1R28J1rAxs$
>>
>> Cedric
>>
>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>> On Thursday, January 13, 2022 5:19 AM, Andreas Fahr via eeglablist <eeglablist at sccn.ucsd.edu> wrote:
>>
>>> Hello EEGlab Users!
>>>
>>> I have a samll problem. Perhaps somebody could give me a hint on that.
>>>
>>> I habe imported Muse data via the Muse Monitor app plugin. After removing baseline and trying to plot "Channel spectra and Maps" I receive the following error.
>>>
>>> Size inputs must be integers.,
>>>
>>> This is not a bug (error occurred in function computeDFTviaFFT() at line 81).
>>>
>>> Any clue where I can check my data (or anything I have to do in advance in eeglab) to be able to plot the FFT?
>>>
>>> Thank you very much for your help.
>>>
>>> Andreas
>>>
>>> Eeglablist page: https://urldefense.com/v3/__http://sccn.ucsd.edu/eeglab/eeglabmail.html__;!!Dc8iu7o!l4RxFxbI2qYvOXX-ORLAbEAc8azUNQnGCecgVxjPo7Y-sQW5fej-ayCUC1R2uaxnHAU$
>>> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
>>> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu
More information about the eeglablist
mailing list