Dipole fitting with openMEEG BEM model

Paul Czienskowski paul_c at GMX.DE
Fri Aug 27 08:35:25 CEST 2010


   If it helps, of course. I attached the script that's calling
ft_dipolefitting and another one called by the first one, that's calling
ft_prepare_bemmodel. Also I'm using another meshing routine which I
wrote by myself which is a bit slower, bur also a bit more dependable
than the fieldtrip method, since the ft method to create the meshes from
the segmentation produced some ugly spikes for me. But the output of my
routine should be near to the output of the fieldtrip routine when it
works, so this should be no difference (actually my locations are
transformed a bit to match my electrode space, electrode positions for
the segmentation are retrieved by the Get1020 method).

Cheers,
Paul

Am 27.08.2010 08:15, schrieb Alexandre Gramfort:
> Hello Paul,
>
> could you share a script to reproduce the problem?
>
> -- Alexandre
>
> On Fri, Aug 27, 2010 at 7:44 AM, Paul Czienskowski<paul_c at gmx.de>  wrote:
>> Dear all,
>>
>> after creating the BEM model for an individual MRI with OpenMEEG i now tried
>> to simulate and fit some dipoles, but when calling openmeeg_dsm.m the matlab
>> script crashed saying:
>>
>> ??? Output argument "dsm" (and maybe others) not assigned during call to
>> "/home/paulc/Matlab/fieldtrip-20100612/external/openmeeg/openmeeg_dsm.m
>> (openmeeg_dsm)".
>>
>> Error in ==>  openmeeg_dsm at 16
>>
>> The actual error may have been some lines above:
>>
>> /bin/bash: ./tp230651.sh: /usr/bin/env: bad interpreter: Text file busy
>>
>> I'm not really used to use linux and for this reason not familiar with the
>> error messages. I found out that this has to do with any program accessing
>> the shell script file, but since it just has been created and also been
>> closed by the openmeeg_dsm script I don't get it why some other process
>> should access it. I would be very grateful, if anyone could give me a hint
>> how to solve this problem.
>>
>> Thanks in advance,
>>
>> Paul Czienskowski
>>
>> --
>> Paul Czienskowski
>> Björnsonstr. 25
>> 12163 Berlin
>>
>> Tel.: (+49)(0)30/221609359
>> Handy: (+49)(0)1788378772
>>
>> ----------------------------------
>>
>> The aim of this list is to facilitate the discussion between users of the
>> FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and
>> EEG analysis.
>>
>> http://listserv.surfnet.nl/archives/fieldtrip.html
>>
>> http://www.ru.nl/fcdonders/fieldtrip/


--
Paul Czienskowski
Max Planck institute for human development
Lentzeallee 94
14195 Berlin

Björnsonstr. 25
12163 Berlin

Tel.: (+49)(0)30/221609359
Handy: (+49)(0)1788378772



----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CzSimulation.m
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20100827/464cef20/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CreateBEMModel.m
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20100827/464cef20/attachment-0001.ksh>


More information about the fieldtrip mailing list