[Eeglablist] log of zero error in study single trial analysis

Arnaud Delorme arno at ucsd.edu
Tue Nov 10 20:23:18 PST 2009


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>




More information about the eeglablist mailing list