[FieldTrip] problems with speed of processing

Eliana Garcia elilife at gmail.com
Tue Jul 10 18:40:23 CEST 2012


Dear Stephen,

Thanks for the suggestion. I have already one function that is doing all
the preprocessing and saving as well. But this seams not to solve the issue.

Thanks,
Eliana

On Tue, Jul 10, 2012 at 6:01 PM, Stephen Whitmarsh <
stephen.whitmarsh at gmail.com> wrote:

> Dear Eliana,
>
> You could try creating a function that does all this preprocessing and
> then writes the output to file.
> If you then call this function in a (subject) loop you are sure that
> Matlab will free up the memory it used for that function.
>
> Perhaps it helps,
>
> Stephen
>
> On 10 July 2012 16:57, Eliana Garcia <elilife at gmail.com> wrote:
>
>> Hello Dear Fieldtrip Community,
>>
>> I am having now problems with processing my data. I am analyzing a quite
>> big data set with 400 trials that are composed by 10 sec (re-sampled at
>> 150Hz). I am doing first a demean, then planar gradient transformation,
>> time-frequency analysis using multitapers and then combine the planar
>> gradient again. For the first subject always runs normally, but for the
>> second one matlab gets really slow. I am taking care in deleting the
>> variables that I create with big amount of data after I don't need them any
>> more, so I am using just one big file that is being safe at the end
>> (average time-frequency across trials) for each of the subjects. Every time
>> matlab starts to analyze a new subject I am using clear all (with
>> exceptions like directory and name of subject) but stills with every new
>> subject it gets slower and slower.
>>
>> Do you have any advises to make the analysis faster? Sometimes is too
>> slow and the computer normally crashes after 3 subjects.
>>
>> Thank you very much for the attention.
>>
>> Best,
>>
>> --
>> Eliana García Cossio
>> Applied Neurotechnology Lab.
>> Graduate School of Neural and Behavioural Science - Max Planck Research
>> School
>> Institute of Medical Psychology and Behavioural Neurobiology
>> Universität Tübingen
>> (+0049) 01 577-8587604
>> Otfried-Müller-Str. 47, 72076
>> Tübingen- Germany
>>
>>
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>



-- 
Eliana García Cossio
Applied Neurotechnology Lab.
Graduate School of Neural and Behavioural Science - Max Planck Research
School
Institute of Medical Psychology and Behavioural Neurobiology
Universität Tübingen
(+0049) 01 577-8587604
Otfried-Müller-Str. 47, 72076
Tübingen- Germany
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120710/f8e0a94a/attachment-0002.html>


More information about the fieldtrip mailing list