[Eeglablist] log of zero error in study single trial analysis
Robert Brown
bobrobbrown at googlemail.com
Wed Nov 11 00:29:39 PST 2009
Dear Arno & others,
this does not seem to be as simple as Arno suggested (but thanks),
1. I have precomputed the values of these channels (with "savetrials", "on")
2. these channels all have data
3. I can plot the data of the same channels when I use "statmode",
"subjects"
4. I'm using EEGLAB v7.1.3.13b
5. I now tried it with v7.1.7.18b and I still get the log of zero error (you
guys might be interested that in addition I now get, in case of permutations
and bootstrap, "??? Error using ==> reshape" in statcond>surrogate at 438
and statcond at 301 and with this latest version the reshape error even
happens with the "statmode", "subjects")
thus any other suggestions of what could be happening with my single trial
analysis in study would be very much appreciated.
thank you very much and take care,
Bob
2009/11/11 Arnaud Delorme <arno at ucsd.edu>
> Dear Bob,
>
> I think this might be because you are trying to plot ERSP of a channel that
> contains only 0. This error was also arising in old versions of EEGLAB when
> masking for significance.
>
> Hope this helps,
>
> Arno
>
>
> On Nov 7, 2009, at 11:38 AM, Robert Brown wrote:
>
> Hi guys,
>>
>> I've been trying to get the study ersp analysis working on single trials
>> but I've not succeeded.
>>
>> in the function "std_readdata" I get the "Warning: Log of zero." error,
>> which is on the line ersp{c,g} = 20*log10(abs(ersp{c,g})); meaning that the
>> absolute value at some point is 0.
>> (This leads to) further errors:
>>
>> ??? Error using ==> set
>> Bad value for axes property: 'CLim'
>> Values must be increasing and non-NaN.
>>
>> Error in ==> caxis at 80
>> set(ax,'CLim',arg);
>>
>> Error in ==> tftopo at 714
>> caxis([g.limits(5:6)]);
>>
>> I've tried to fix it but I'm not clever enough. any help would be
>> appreciated.
>>
>> thank you so much,,
>> Bob <ATT00001.txt>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20091111/52c727ed/attachment.html>
More information about the eeglablist
mailing list