Print

Print


Yes, this is indeed a bug and it'll be fixed in the next update.

Thanks for reporting it.

Vladimir

On Thu, Mar 31, 2011 at 4:07 PM, SPM <[log in to unmask]> wrote:
> -------- Original Message --------
> Subject: spm_eeg_tf_rescale bug ?
> Date: Thu, 31 Mar 2011 11:57:29 +0200
> From: [log in to unmask]
> To: [log in to unmask]
>
> Hi,
> I may have found code error in the following spm function (written by
> vladimir)
>
> spm_eeg_tf_rescale
> Around the line 100, is one wants to baseline a Time-frequency file
> with the method 'LogR', There is a line of code that Should be deleted
> (I think), otherwise, instead of taking the "true" baseline signal
> from the Db baseline file, it takes the signal from the to be baslined
> file.
>
> This is the line just bellow "x=log10(x);"
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%
> xbase=mean(x(:,:,inds),3);
> %%%%%%%%%%%%%%%%%%%%%%%%%
>
> This line should be deleted (?)
>
> Let me know if I am wrong or not ,
> Thanks,
> julien bastin.
>
>
>
>
>
>