[Eeglablist] runica not recognized as a parameter in pop_runica

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Fri Aug 19 18:29:54 PDT 2016


Dear Vishal,

> store each EEG structure into a cell called EEG
> I created a folder called 'runica' to store the .set files of the ICA
analysis.

In using Matlab, avoid using the names already used for functions,
variables, or folders. Also, I personally have difficulty with juggling EEG
using pop_newset() function. I'd directly access to ALLEEG.

Makoto

On Fri, Aug 19, 2016 at 6:35 AM, Vishal Vijayakumar <vijay059 at umn.edu>
wrote:

> Makoto,
>
> What I'm doing is loading the files from a directory and using the
> pop_loadset function to store each EEG structure into a cell called EEG for
> future use. Then, I pass each cell into the pop_runica function to run the
> ICA.
>
> I also discovered the bug. I created a folder called 'runica' to store the
> .set files of the ICA analysis. This seemed to create a conflict with the
> 'runica' parameter. After I changed the folder name to 'runica_all' the
> code worked fine. Is there an explanation for this?
>
> Thanks,
> Vishal
>
> On Thu, Aug 18, 2016 at 4:45 PM, Makoto Miyakoshi <mmiyakoshi at ucsd.edu>
> wrote:
>
>> Dear Vishal,
>>
>> Hmm I am concerned with EEG{i}. EEG is not a cell but structure... am I
>> correct? Try EEG = pop_runica(EEG, ...) instead after retrieving EEG from
>> ALLEEG.
>>
>> Makoto
>>
>>
>>
>> On Wed, Aug 17, 2016 at 3:21 PM, Vishal Vijayakumar <vijay059 at umn.edu>
>> wrote:
>>
>>> Hello Makoto,
>>>
>>> I did some tests, and I realized that while it works fine as a function,
>>> when I try to put it in a loop, it fails to recognize runica as a valid
>>> parameter. Here's an example:
>>>
>>> for i = 1:length(EEG)
>>>
>>> new_egg_ica = pop_runica(EEG{i},'icatype','runica');
>>>
>>> end
>>>
>>> This is a scenario where it fails. In cases where I don't iterate
>>> through anything, it runs fine.
>>>
>>> Let me know if there's any more information I can provide.
>>>
>>> Thanks,
>>> Vishal
>>>
>>> On Wed, Aug 10, 2016 at 6:15 PM, Makoto Miyakoshi <mmiyakoshi at ucsd.edu>
>>> wrote:
>>>
>>>> Dear Vishal,
>>>>
>>>> This should probably go to EEGLAB Bugzilla.
>>>> https://sccn.ucsd.edu/bugzilla/enter_bug.cgi
>>>> You may want to file the problem there. I appreciate your patience and
>>>> cooperation.
>>>>
>>>> Meanwhile, as a workaround and testing, I suggest you don't use
>>>> 'icatype' option because the default is 'runica' anyway. What version of
>>>> Matlab are you using by the way? I've never heard of the problem before.
>>>>
>>>> Makoto
>>>>
>>>> On Thu, Aug 4, 2016 at 1:41 PM, Vishal Vijayakumar <vijay059 at umn.edu>
>>>> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> Until recently, I've been able to use runica in scripts by using
>>>>> pop_runica(EEG,'icatype','runica').
>>>>>
>>>>> However, after performing pre-processing on a dataset, the pop_runica
>>>>> algorithm fails to recognize it as a parameter, displaying the following
>>>>> error:
>>>>>
>>>>> pop_runica error: wrong value for argument 'icatype'
>>>>>
>>>>> I don't understand the error. The runica option does not show up in
>>>>> the gui either. The same command works well for fastICA. I tried to
>>>>> download the toolbox and run it again, but I still face the same issue.
>>>>>
>>>>> I would appreciate any help you can provide in this issue!
>>>>>
>>>>> Thanks,
>>>>> Vishal
>>>>>
>>>>> _______________________________________________
>>>>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>>>>> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.uc
>>>>> sd.edu
>>>>> For digest mode, send an email with the subject "set digest mime" to
>>>>> eeglablist-request at sccn.ucsd.edu
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Makoto Miyakoshi
>>>> Swartz Center for Computational Neuroscience
>>>> Institute for Neural Computation, University of California San Diego
>>>>
>>>
>>>
>>
>>
>> --
>> Makoto Miyakoshi
>> Swartz Center for Computational Neuroscience
>> Institute for Neural Computation, University of California San Diego
>>
>
>


-- 
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20160819/9be8739d/attachment.html>


More information about the eeglablist mailing list