[Eeglablist] Run AMICA

Omid Sefat omidsefat at gmail.com
Mon Feb 21 11:21:52 PST 2022


Thank you, Dear Jason,

I think I've found what the problem is, If I want to run AMICA after
epoching, then the following code would not work. I should use EEG instead
of EEG.data. Does it correct?

runamica15(EEG.data, 'num_chans', EEG.nbchan,...
                'outdir', ['D:\amicaouttmp\' EEGname],...
                'pcakeep', dataRank, 'num_models', 1,...
                'do_reject', 1, 'numrej', 15, 'rejsig', 3, 'rejint', 1)


Best,
Omid

[image: Mailtrack]
<https://urldefense.proofpoint.com/v2/url?u=https-3A__mailtrack.io-3Futm-5Fsource-3Dgmail-26utm-5Fmedium-3Dsignature-26utm-5Fcampaign-3Dsignaturevirality11-26&d=DwIFaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=Ei8HcUyWEs3SYSAkpjADGBwXX0tITloAwV7XOAbJC6vjcxHOHe-mzOgvtA9Bujjb&s=cEyVptL-TyUfbjwzVzUmlQrQNuvpoiUuN2ivtZpMPTk&e= >
Sender
notified by
Mailtrack
<https://urldefense.proofpoint.com/v2/url?u=https-3A__mailtrack.io-3Futm-5Fsource-3Dgmail-26utm-5Fmedium-3Dsignature-26utm-5Fcampaign-3Dsignaturevirality11-26&d=DwIFaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=Ei8HcUyWEs3SYSAkpjADGBwXX0tITloAwV7XOAbJC6vjcxHOHe-mzOgvtA9Bujjb&s=cEyVptL-TyUfbjwzVzUmlQrQNuvpoiUuN2ivtZpMPTk&e= >
02/21/22,
10:49:30 PM

On Mon, Feb 21, 2022 at 7:45 PM Jason Palmer <japalmer29 at gmail.com> wrote:

> Hi Omid,
>
> Check the AMBIN variable in your runamica15.m. If the gui works, make sure
> the runamica15 that the plugin refers to is the same as the one that the
> command line uses (use "which"). The latest plugin was recompiled for newer
> Windows laptops, which the older version didn't work on, so that may also
> be an issue.
>
> Best,
> Jason
>
> On Tue, Feb 22, 2022, 1:03 AM Omid Sefat via eeglablist <
> eeglablist at sccn.ucsd.edu> wrote:
>
>> Dear all,
>> I encountered a strange problem. The batch code I wrote used to work, but
>> now AMICA does not work.
>>
>> The important thing is that I can run AMICA  through the GUI, and it works
>> properly, but it does not run with the following code that worked before.
>> (It is based on Makoto's code)
>>
>> runamica15(EEG.data, 'num_chans', EEG.nbchan,...
>>                 'outdir', ['D:\amicaouttmp\' EEGname],...
>>                 'pcakeep', dataRank, 'num_models', 1,...
>>                 'do_reject', 1, 'numrej', 15, 'rejsig', 3, 'rejint', 1)
>>
>> Best regards,
>>
>> --
>> Omid
>>
>>
>>
>>
>>
>> [image: Mailtrack]
>> <
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__mailtrack.io-3Futm-5Fsource-3Dgmail-26utm-5Fmedium-3Dsignature-26utm-5Fcampaign-3Dsignaturevirality11-26&d=DwIBaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=W135z_7Pb3v3fRU8pWmTRhpu4-gcg-1x2tSGV8yGadUV1o0yTFn1Xr-4zZf37hc-&s=N_3CX8J2XHSwtpqM4tzGBl2dAxhb6mAh9WDr-L3Hpy4&e=
>> >
>> Sender
>> notified by
>> Mailtrack
>> <
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__mailtrack.io-3Futm-5Fsource-3Dgmail-26utm-5Fmedium-3Dsignature-26utm-5Fcampaign-3Dsignaturevirality11-26&d=DwIBaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=W135z_7Pb3v3fRU8pWmTRhpu4-gcg-1x2tSGV8yGadUV1o0yTFn1Xr-4zZf37hc-&s=N_3CX8J2XHSwtpqM4tzGBl2dAxhb6mAh9WDr-L3Hpy4&e=
>> >
>> 02/21/22,
>> 07:25:00 PM
>> _______________________________________________
>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>> 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
>>
>

-- 
Omid Sefat
PhD student
Institute for Cognitive Science Studies
Tel :+98-912-817-0063



More information about the eeglablist mailing list