Print

Print


Dear Urs,

You should change the order of you preprocessing slightly. Do montage
first and then change the channel types to EEG and load sensor
locations. Also it'd help make things more robust if you remove the
'P's from your channel names (you can do that while doing montage).
Just make sure that you also update your channel locations file if you
do that.

Best,

Vladimir

On Tue, Jul 10, 2012 at 11:07 PM, Urs Bachofner <[log in to unmask]> wrote:
> Dear Vladimir,
>
> I realize you helped me so much already through the last months, however I
> now encountered a new problem using 3D Source Reconstruction.
> The SPM Mailing List could not help me yet and I tried it now on three
> different computers, which all seem to give me the same error in Matlab.
> I would really appreciate if you could help me one more time.
>
> Here's the thing: I load a preprocessed EEG file of an auditory evoked
> potentials paradigm into 3D Source Reconstruction. No errors occur and I can
> choose the template.
> It's a file with 300 epochs, each being 600ms long (-100 to 500).
>
> However, when I click the next step, co-register, I am able to select the
> three fiducials (lpa / rpa / nas), but then the error appears:
>
> ??? Reference to non-existent field 'modality'.
>
> Error in ==> spm_eeg_inv_checkdatareg at 23
>     str = sprintf('%s|', datareg(:).modality);
>
> Error in ==> spm_eeg_inv_datareg_ui at 186
>     spm_eeg_inv_checkdatareg(D);
>
> Error in ==> spm_eeg_inv_imag_api>DataReg_Callback at 80
> handles.D = spm_eeg_inv_datareg_ui(handles.D);
>
> Error in ==> spm_eeg_inv_imag_api at 53
>         feval(varargin{:}); % FEVAL switchyard
>
> ??? Error while evaluating uicontrol Callback
>
> The thing is that I did the same pre-processing steps as I did to files from
> a different study, but now this is what I get.
>
> I have uploaded the files that give me that error to a server and I would be
> really greatfull if you could download these and have a look at it - I'm
> totally stuck with my Matlab / SPM - knowledge.
>
> These are the files:
>
> http://www.led-laempli.ch/MbaSPM8.dat
> http://www.led-laempli.ch/MbaSPM8.mat
>
> You're kind of my last hope to get this thing working, thank you a lot for
> any response.
>
>
> Best,
>
> Urs Bachofner