Dear SPM users and developers,
I am trying to convince my team to switch to a SPM pre-processing
pipeline for our intracranial EEG data. We however keep on getting
errors when trying to perform simple operations:
1 - convert edf using a list of channels: I reported this issue
previously. I then resorted to the solution offered, i.e. convert all
then selectdata, but...
2 - convert edf using all channels: using the batch to convert an edf
file (all channels, continuous) results in an error at line 398 of
spm_eeg_convert. It seems that it cannot create the file_array because
dim is [0 0]. From what I saw, it first gets the deader and sets D.data
to  (hence the [0 0] dimensions). When it creates the file array, it
tries to set a.dim (in the file_array code, nargin>=2) to the number of
channels and time points (which are correct), but fails saying that
'dim' needs to be an integer positive.
(Matlab R2015a, SPM12 with latest updates).
3 - prepare faces versus scrambled faces EEG dataset. A student is
starting to use SPM and I suggested she uses the public EEG dataset and
follows the tutorial. She had an error when loading the sfp file in the
prepare step. Her Matlab windows just crashes and she needs to kill it.
(4, less important) - multiple warnings with the GUIs during the display
of MEEG objects with the latest versions of Matlab (R2014b), saying we
should switch to the latest uitable component. The display window does
not show the signal anymore (white axes) if we zoom then try to scroll
at a later time point.
I also have a question: can we input channel coordinates in 3d without
fiducials? We have 3d coordinates of intracranial electrodes that we
don't want to flatten to 2d but rather use to plot on a 3d mesh. To
avoid keeping separate files, I would like to get that information in
the MEEG object. I tried different things but it would always fail,
asking me for fiducials and trying to compute the 2d flattened
coordinates of the channels.
Can you please help with these multiple issues?