mne_make_eeg_layout ? for maxfilter

Hello,

Does anyone know what coordinate frame mne_make_eeg_layout uses when
calculating the sphere? I am trying to use this as an automated way of
providing an origin to maxfilter (which doesn't handle digitized
points of the nose and face well). My output is below. I am using MNE
2.7.3. Judging from the values it suggests that it is in the Head
coordinate frame, but if anyone knows that would help.

Thanks,
D

mne_make_eeg_layout version 1.3 compiled at Dec 15 2009 08:56:04

input file : nap_01_raw.fif
layout file : eeg.lout
Fit sphere to electrodes first
prad : 20.0
viewport width : 5.0
viewport height : 4.0

70 EEG channels found for layout.
best fitting sphere:
        origin : 1.2 1.9 50.0 mm
        radius : 90.2 mm
Wrote 70 viewports to eeg.lout

The MEG head coordinate frame.

- Matti

Hi,

I have a Matlab code that does exactly this, fit the best sphere to the
head digitization points after removing facial points.

Let me know if this is some thing interesting to you.

Sheraz

hi sheraz et al.,

I am sure it would be a nice contribution to the mne matlab toolbox.

I can take care of integrating it to the toolbox if you think you
won't have time for it.

Alex

will send you the code tomorrow morning may be you can put it mne-python also