To all:
I've managed to get data from our 4DNeuroimaging Magnes 3600 MEG system into
SPM5. I can view it correctly in display and average the data, but have
difficulty with several items:
1) spm progress bar: interestingly, I get errors on filtering and artifact
rejection at the same point, when the spm progress bar is initialized:
??? Error using ==> text
Not enough input arguments.
Error in ==> spm_progress_bar at 56
text(2,arg1/2,0,str,'FontSize',10,'Parent',pb.ax);
Error in ==> spm_eeg_artefact at 157
spm_progress_bar('Init', D.Nevents, '1st pass - Events
thresholded'); drawnow;
??? Error while evaluating uicontrol Callback
However, when I use the gui to do averaging, which also makes an
initialization call, no error occurs. It seems like it should be easy to
figure out, but when I set breakpoints and watch the input to the text()
call, it looks good to my untrained eye.
2) spm eeg display: In order to get the data to display without error, I
had to comment out lines 245-246 in spm_eeg_display_ui.m, which are, again,
a text() call to place the time scale on the x-axis of the time/amplitude
scale display. The error message is:
??? Error using ==> text
Invalid parameter/value pair arguments.
Error in ==> spm_eeg_display_ui at 245
text(D.Nsamples, -scale, sprintf('%d',
round((D.Nsamples-1)*1000/D.Radc)), 'Interpreter', 'Tex',...
Error in ==> spm at 857
evalin('base',CBs{v-1})
??? Error while evaluating uicontrol Callback
The input values in the particular text call I'm making are D.Nsamples =
1357, D.Radc = 678 and scale = 2929. The parameter/value pairs are
unmodified from the distribution code (ie, 'FontSize', FS1, etc.).
Needless to say, these issues do not appear when I analyze the MEG data in
the EEG/MEG tutorial so I figure there must be something wrong with my
input, but the error messages seem odd to me.
3) General question: 4DNeuroimaging MEG systems use odd, non-integer
sampling rates (e.g., 678.17 Hz) for all user-configurable sampling rates.
Do you foresee problems with this in the SPM5 code?
Thanks!
Don Rojas
University of Colorado Denver
MEG lab
|