Hi Sheraz,
Thanks for your quick answer
I already checked for this directory and file (+
'/fsaverage/bem/fsaverage-ico-5-src.fif')
unfortunately I do not have the directory "bem" in my Average directory
(only label/mri/surf/)
I am reanalysing some old data and I used older version of mne & FreeSurfer
(mne_ version 2.7.3 and freesurfer 4.3.0)
With the command make_average_subject --subjects <list of subjects>
Is there a way or command to create this bem directory and files?
Elisabeth
please use following commands, they are data independent, requires only
anatomical information. mne.setup_source_space is the one you need for the
src file.
conductivity = (0.3,) #MEG only
model = mne.make_bem_model(subject=subject, ico=4,
conductivity=conductivity,
subjects_dir=subjects_dir)
bem = mne.make_bem_solution(model)
src = mne.setup_source_space(subject, spacing='ico5',
subjects_dir=subjects_dir,
add_dist=False, overwrite=True)