[Eeglablist] Reading Neuroscan locations file

Arnaud Delorme arno at ucsd.edu
Thu Jul 5 22:19:33 PDT 2012


Dear Yannis,

> First, one quick question: Is there a way to search the EEGLAB list with key terms? At the moment I can only see how to browse complete past archives.


Yes, on the main EEGLAB page, there is a google custom search for the list

http://sccn.ucsd.edu/eeglab/


> Second, the longer question: I use a Neuroscan quik-cap 64-channel with synamps-1, with 8 additional electrodes (total 72) and I am having problems reading channel locations. 


There was a problem with the function. Use this updated function instead (it is going to be in the future release). Overwrite the one in EEGLAB (subfolder functions/sigprocfunc). I was able to read and plot your channel locations with that function.

https://sccn.ucsd.edu/svn/software/eeglab/functions/sigprocfunc/readneurolocs.m

Best regards,

Arno


> 
> From the neuroscan software I can save the  .asc file with channel positions that I provide at the end of this email (see at the bottom of the email). However, when I try to read it using the GUI Edit channel Info>Read Locations, I get the error I also provide below. 
> 
> Question 1: Is there a way I can read this location file?
> Question 2: If not, for 62 of the standard cap electrodes I could get the standard locations. For some of the additional electrodes (numbers 31-32, 65-72), I suppose if I change their names to standard names, their locations could be read from a standard file? I suppose 32 and 69-71 must have standard locations/names; 65-68 are attached at the internal and the external canthus of each eye to obtain horizontal ocular movements) 
> Question 3: Two electrodes (31 (the third bipolar cap electrode) and 72 are left free to record power line noise). As these electrodes do not have a standard location (they are attached over the central/frontal part of the cap) and are not useful for standard purposes I will just remove them (unless someone suggests it would be useful to include them in ICA even though they do not have a fixed location?)
> 
> Many thanks for any help you could provide!
> 
> Best wishes,
> Yannis
> 
> 
> 
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> %% The error message when trying to read the locations file (see below for the locations file)
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
> IMPORTANT: After importing/modifying data channels, you must close
> the channel editing window for the changes to take effect in EEGLAB.
> TIP: Call this function directy from the prompt, ">> pop_chanedit([]);"
>      to convert between channel location file formats
> readlocs(): 'asc' format assumed from file extension
> Reading file (lines): 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 224
> ??? Error using ==> readlocs>load_file_or_array at 624
> readlocs(): cannot find the named file or variable, check syntax
> 
> Error in ==> readlocs at 405
>            array = load_file_or_array( filename, g.skiplines);
> 
> Error in ==> readneurolocs at 55
>         chanlocs = readlocs('128.DAT', 'filetype', 'custom', 'format', { 'labels' 'ignore' '-Y' 'X' 'Z' });
> 
> Error in ==> readlocs at 361
>        eloc = readneurolocs( filename );
> 
> Error in ==> pop_chanedit at 664
>                         [chans] = readlocs(tmpargs{:});
>  
> ??? Error using ==> waitfor
> Error while evaluating uicontrol Callback
> 
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> %% The locations file from Neuroscan
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
> ;SCAN 4.0 ASCII Channel Description File
> ;
> ;Line format:
> ;#<channel number> <label>
> ;or:
> ;<display page> <channel number> <pos x0> <pos y0> <pos x1> <pos y1>
> ;
> ;A semicolon at the first column indicates a comment.
> ;
> #1    O2
> #2    O1
> #3    OZ
> #4    PZ
> #5    P4
> #6    CP4
> #7    P8
> #8    C4
> #9    TP8
> #10   T8
> #11   P7
> #12   P3
> #13   CP3
> #14   CPZ
> #15   CZ
> #16   FC4
> #17   FT8
> #18   TP7
> #19   C3
> #20   FCZ
> #21   FZ
> #22   F4
> #23   F8
> #24   T7
> #25   FT7
> #26   FC3
> #27   F3
> #28   FP2
> #29   F7
> #30   FP1
> #31   LineNoise
> #32   VEOG
> #33   PO5
> #34   PO3
> #35   P1
> #36   POZ
> #37   P2
> #38   PO4
> #39   CP2
> #40   P6
> #41   PO6
> #42   CP6
> #43   C6
> #44   PO8
> #45   PO7
> #46   P5
> #47   CP5
> #48   CP1
> #49   C1
> #50   C2
> #51   FC2
> #52   FC6
> #53   C5
> #54   FC1
> #55   F2
> #56   F6
> #57   FC5
> #58   F1
> #59   AF4
> #60   AF8
> #61   F5
> #62   AF7
> #63   AF3
> #64   FPZ
> #65   HEOGL
> #66   HEOGR
> #67   HEOG_IL
> #68   HEOG_IR
> #69   M1
> #70   M2
> #71   Nose
> #72   50Hz
> 0   1       0.560    0.835    0.614    0.898
> 0   2       0.401    0.831    0.455    0.893
> 0   3       0.488    0.828    0.542    0.890
> 0   4       0.485    0.646    0.539    0.708
> 0   5       0.607    0.651    0.661    0.713
> 0   6       0.623    0.568    0.677    0.630
> 0   7       0.729    0.709    0.783    0.771
> 0   8       0.629    0.489    0.683    0.551
> 0   9       0.778    0.611    0.832    0.673
> 0   10      0.791    0.492    0.845    0.554
> 0   11      0.246    0.727    0.300    0.789
> 0   12      0.362    0.659    0.416    0.721
> 0   13      0.347    0.576    0.401    0.638
> 0   14      0.485    0.565    0.539    0.627
> 0   15      0.485    0.487    0.539    0.549
> 0   16      0.626    0.403    0.680    0.465
> 0   17      0.786    0.371    0.840    0.433
> 0   18      0.190    0.625    0.244    0.687
> 0   19      0.339    0.492    0.393    0.554
> 0   20      0.482    0.403    0.536    0.465
> 0   21      0.482    0.313    0.536    0.375
> 0   22      0.612    0.316    0.666    0.378
> 0   23      0.737    0.261    0.791    0.323
> 0   24      0.171    0.501    0.225    0.563
> 0   25      0.187    0.368    0.241    0.430
> 0   26      0.341    0.409    0.395    0.471
> 0   27      0.355    0.316    0.409    0.378
> 0   28      0.580    0.137    0.634    0.199
> 0   29      0.227    0.261    0.281    0.323
> 0   30      0.385    0.137    0.439    0.199
> 0   31      0.251    0.829    0.305    0.891
> 0   32      0.227    0.113    0.281    0.175
> 0   33      0.341    0.766    0.395    0.829
> 0   34      0.413    0.750    0.467    0.810
> 0   35      0.416    0.647    0.470    0.709
> 0   36      0.488    0.730    0.542    0.792
> 0   37      0.547    0.643    0.601    0.705
> 0   38      0.562    0.734    0.616    0.797
> 0   39      0.555    0.565    0.609    0.627
> 0   40      0.666    0.678    0.720    0.740
> 0   41      0.625    0.770    0.678    0.832
> 0   42      0.694    0.582    0.748    0.644
> 0   43      0.704    0.489    0.758    0.551
> 0   44      0.643    0.862    0.697    0.923
> 0   45      0.336    0.859    0.390    0.919
> 0   46      0.306    0.683    0.360    0.745
> 0   47      0.274    0.594    0.328    0.656
> 0   48      0.417    0.568    0.471    0.630
> 0   49      0.414    0.489    0.468    0.551
> 0   50      0.555    0.487    0.609    0.549
> 0   51      0.555    0.406    0.609    0.468
> 0   52      0.702    0.394    0.756    0.456
> 0   53      0.263    0.498    0.317    0.560
> 0   54      0.414    0.409    0.468    0.471
> 0   55      0.547    0.319    0.601    0.381
> 0   56      0.675    0.299    0.729    0.361
> 0   57      0.265    0.397    0.319    0.459
> 0   58      0.420    0.325    0.474    0.387
> 0   59      0.577    0.220    0.631    0.282
> 0   60      0.669    0.177    0.723    0.239
> 0   61      0.290    0.301    0.344    0.363
> 0   62      0.295    0.180    0.349    0.242
> 0   63      0.385    0.232    0.439    0.294
> 0   64      0.482    0.131    0.536    0.193
> 0   65      0.165    0.186    0.219    0.248
> 0   66      0.794    0.171    0.848    0.233
> 0   67      0.314    0.055    0.368    0.117
> 0   68      0.656    0.055    0.709    0.117
> 0   69      0.181    0.706    0.235    0.768
> 0   70      0.799    0.718    0.853    0.780
> 0   71      0.482    0.021    0.536    0.083
> 0   72      0.715    0.825    0.769    0.887
> 1   1       0.032    0.032    0.161    0.161
> 1   2       0.194    0.032    0.323    0.161
> 1   3       0.355    0.032    0.484    0.161
> 1   4       0.516    0.032    0.645    0.161
> 1   5       0.677    0.032    0.806    0.161
> 1   6       0.839    0.032    0.968    0.161
> 1   7       0.032    0.194    0.161    0.323
> 1   8       0.194    0.194    0.323    0.323
> 1   9       0.355    0.194    0.484    0.323
> 1   11      0.516    0.194    0.645    0.323
> 1   12      0.677    0.194    0.806    0.323
> 1   13      0.839    0.194    0.968    0.323
> 1   14      0.032    0.355    0.161    0.484
> 1   15      0.194    0.355    0.323    0.484
> 1   17      0.355    0.355    0.484    0.484
> 1   18      0.516    0.355    0.645    0.484
> 1   19      0.677    0.355    0.806    0.484
> 1   20      0.839    0.355    0.968    0.484
> 1   21      0.032    0.516    0.161    0.645
> 1   22      0.194    0.516    0.323    0.645
> 1   25      0.355    0.516    0.484    0.645
> 1   27      0.516    0.516    0.645    0.645
> 1   33      0.677    0.516    0.806    0.645
> 1   34      0.839    0.516    0.968    0.645
> 1   35      0.032    0.677    0.161    0.806
> 1   36      0.194    0.677    0.323    0.806
> 1   37      0.355    0.677    0.484    0.806
> 1   38      0.516    0.677    0.645    0.806
> 1   40      0.677    0.677    0.806    0.806
> 1   41      0.839    0.677    0.968    0.806
> 1   44      0.032    0.839    0.161    0.968
> 1   45      0.194    0.839    0.323    0.968
> 1   46      0.355    0.839    0.484    0.968
> 2   9       0.032    0.032    0.161    0.161
> 2   10      0.194    0.032    0.323    0.161
> 2   16      0.355    0.032    0.484    0.161
> 2   23      0.516    0.032    0.645    0.161
> 2   26      0.677    0.032    0.806    0.161
> 2   28      0.839    0.032    0.968    0.161
> 2   30      0.032    0.194    0.161    0.323
> 2   39      0.194    0.194    0.323    0.323
> 2   40      0.355    0.194    0.484    0.323
> 2   42      0.516    0.194    0.645    0.323
> 2   43      0.677    0.194    0.806    0.323
> 2   47      0.839    0.194    0.968    0.323
> 2   48      0.032    0.355    0.161    0.484
> 2   49      0.194    0.355    0.323    0.484
> 2   50      0.355    0.355    0.484    0.484
> 2   51      0.516    0.355    0.645    0.484
> 2   52      0.677    0.355    0.806    0.484
> 2   53      0.839    0.355    0.968    0.484
> 2   54      0.032    0.516    0.161    0.645
> 2   55      0.194    0.516    0.323    0.645
> 2   56      0.355    0.516    0.484    0.645
> 2   57      0.516    0.516    0.645    0.645
> 2   58      0.677    0.516    0.806    0.645
> 2   59      0.839    0.516    0.968    0.645
> 2   60      0.032    0.677    0.161    0.806
> 2   61      0.194    0.677    0.323    0.806
> 2   62      0.355    0.677    0.484    0.806
> 2   63      0.516    0.677    0.645    0.806
> 2   64      0.677    0.677    0.806    0.806
> 2   65      0.839    0.677    0.968    0.806
> 2   66      0.032    0.839    0.161    0.968
> 2   67      0.194    0.839    0.323    0.968
> 2   68      0.355    0.839    0.484    0.968
> 2   69      0.516    0.839    0.645    0.968
> 2   70      0.677    0.839    0.806    0.968
> 2   71      0.839    0.839    0.968    0.968
> 3   31      0.091    0.167    0.455    0.833
> 3   72      0.545    0.167    0.909    0.833
> 
> 
> -- 
> 
> Yannis Paloyelis, PhD CPsychol
> Department of Neuroimaging
> Institute of Psychiatry (Box 089)
> King's College London
> Denmark Hill
> London SE5 8AF
> Tel. 020 32283069
> Fax 020 32282116 
> Email: Yannis.Paloyelis at kcl.ac.uk
> y.paloyelis at gmail.com
> 
> 
> 
> 
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20120705/418ce6b4/attachment.html>


More information about the eeglablist mailing list