Hi Martin,
You can batch coregistration using the 'M/EEG head model
specification' tool in batch. You can use the batch to generate a
piece of code to put in your script as e.g. in
\man\example_scripts\spm_ft_multimodal_preprocessing.m
Best,
Vladimir
On Thu, Aug 16, 2012 at 3:41 PM, Martin Dietz <[log in to unmask]> wrote:
> Hi Vladimir,
>
> I'm having trouble using spm_eeg_inv_datareg_ui in a script for 'imaging' recontruction of MEG data. Coregistration only works well from the GUI. The problem arises when I want to use the 'type' option to specify 'nas', 'lpa' and 'rpa' fiducial points in MNI coordinates based on their location in the subjects own sMRI. Somehow I cannot figure out how to specify these inputs correctly to spm_eeg_inv_datareg_ui.
>
> Do you have any suggestion what I am doing wrong ?
>
> Cheers!
>
> Martin
>
>
>
|