[Eeglablist] DIPFIT: changing model template .loc file

Ilya Adamchic dr.ilya at yahoo.com
Tue Feb 16 08:33:33 PST 2010

Hi Dave,
thank a lot for your detailed answer. This is the sequence
I follow, unfortunately only with file containing ellipsoid head,
working now on changing it it to the sphere head with my custom
channels. I have read in some previous posts and what i see with my
file, that when you insert custom template files, the co-registration
window does some strange things: shows head model as to small, where
one could not see anything because of the size. Did you have such a
Do you have some  suggestions on literature to read
(probably what you have already read), regarding head models  used in
DIPFIT and what may be important for co-registration procedure. 
Thanks again for your help,
All the best,

From: David Towers <dtowers at illinois.edu>
To: Ilya Adamchic <dr.ilya at yahoo.com>
Cc: Arnaud Delorme <arno at ucsd.edu>; eeglablist at sccn.ucsd.edu
Sent: Tue, February 16, 2010 4:45:15 PM
Subject: Re: [Eeglablist] DIPFIT: changing model template .loc file

I did follow the suggestions with some success.  Within dipfit, I selected "Custom Model", and entered all the default files used when selecting "Spherical Four-Shell (BESA)" except for the "Model template channel locations file".  For that, I put together a file based on the electrode locations of our cap.  I've attached the file as an example (note we use a 59-channel cap with electrodes labeled "EEGX", where X is the number, plus two VEOG channels).  Here's an example of the first few lines from our .elp file:

     EEG       VEOG1     127.588      65.992      85.000
     EEG       VEOG2    -130.893     -69.140      85.000
     EEG        EEG1    -109.411      45.735      85.000
     EEG        EEG2    -104.947      70.431      85.000
     EEG        EEG3     102.967     -87.992      85.000
     EEG        EEG4     101.340     -67.224      85.000

There are 58 channels listed since the 59th channel is our reference.


On Fri, Feb 12, 2010 at 6:00 PM, Ilya Adamchic <dr.ilya at yahoo.com> wrote:

Dear David,
>I'm st
>Did it work with suggestions from Arno concerning using your own template .loc file?
>>Could you please share your experience in creating a template .loc file and using it with spherical BESA model. 
>As i understood from Arno's answer, one has to select a custom model and then add it in to the DIPFIT set up window as a "self made" template .loc file. Did it work in your case?
>>I think i have similar situation with yours. I have EGI HydroCell custom coordinates for each patient and it takes to long to manually pair all my custom channels with a standard .loc file given in EEGLAB, it simply takes to much time. 
>>Did you use your own spherical coordinates file or some standard
> average? 
>I think there are some files for EGI HydroCel in BESA, that one could use, but they are in Carthesian coordinates. 
>Arno, is there possibly some other suggestion, how to quicker co-register 128 HydroCell channel location file (with electrodes marked E1-E129)?
>Thank you guys for your comments!
>Best regards,

David N. Towers, Ph.D.
University of Illinois, Urbana-Champaign
Psychology Department
603 East Daniel Street
Champaign, IL 61820
(217) 244-6085
dtowers at illinois.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20100216/be335ee9/attachment.html 

More information about the eeglablist mailing list