esinet icon indicating copy to clipboard operation
esinet copied to clipboard

The probelm about simulation and MEG mapping

Open sjbt007 opened this issue 2 years ago • 1 comments

Hi Luke, Sourry to distrub you. Recently I face some warning about the dataset I created from T1.gmz by freesurfer when I change the signal to eeg/meg map.

The probelms I faced with are about the simulation and the function :

elec_pos = _find_topomap_coords(self.info, self.info.ch_names,ignore_overlap=True) in 625 of net.py of esinet.

image

The probelms are: image image

and image

What's more I face another probelm about the channel type when I simulate data. The problem is image

image

There are two type of my meg channel but I don't know how to drop them. So I comment these code out. But I worry about it will have bad effect on the simulated data.

The workflow of creating fwd.fif.
I firstly use the Freesurfer and mne.bem.make_watershed_bem(subject=subject, subjects_dir=subjects_dir, overwrite=True, verbose=True, show=False) make_scalp_surfaces(subject,subjects_dir=subjects_dir,overwrite=True) to creat bem layer from T1.mgz of subject and follow the tutorial of MNE to coregistate the bem forward model to get fwd.fif

The link is https://mne.tools/stable/auto_tutorials/forward/25_automated_coreg.html

To sum up, I face four problem. One is about the two channel types when I simulate data, others are about the elec_pos = _find_topomap_coords warnings

I dont know how to deal with them and if they have great negtivate effects on the result we get. Looking for your relpy. Thanks.

sjbt007 avatar Aug 01 '22 02:08 sjbt007

Hi, I got the same problem,have you solved it?

Sarah-air avatar Apr 23 '24 06:04 Sarah-air