[Eeglablist] Fail to look up brain areas error
Makoto Miyakoshi
mmiyakoshi at ucsd.edu
Fri Jul 8 14:02:42 PDT 2022
Dear Arkadiy,
I don't have permission to directly fix the EEGLAB functions. Instead, let
me show you how I do it. I often use this function to generate a title for
IC clusters (hence the input is the mean XYZ of all the ICs.)
https://sccn.ucsd.edu/wiki/Makoto%27s_useful_EEGLAB_code#How_to_obtain_anatomical_labels_using_Fieldtrip_.2807.2F08.2F2022_added.29
Makoto
On Fri, Jul 1, 2022 at 1:58 PM Maksimovskiy, Arkadiy <
AMAKSIMOVSKIY at mclean.harvard.edu> wrote:
> Dear Eeeglab Experts,
>
> I am attempting to find dipoles and am getting an error message, after
> running pop_dipfit_gridsearch and am getting a "Fail to look up brain areas
> " error. I was wondering if anyone might have come across this and knows
> how to troubleshoot.
>
> -Arkadiy
>
> Full command:
>
> EEG = pop_dipfit_gridsearch(EEG, [1:96] ,[-85 -77.6087 -70.2174
> -62.8261 -55.4348 -48.0435 -40.6522 -33.2609 -25.8696
> -18.4783 -11.087 -3.69565 3.69565 11.087
> 18.4783 25.8696 33.2609 40.6522 48.0435 55.4348
> 62.8261 70.2174 77.6087 85] ,[-85 -77.6087
> -70.2174 -62.8261 -55.4348 -48.0435 -40.6522 -33.2609
> -25.8696 -18.4783 -11.087 -3.69565 3.69565
> 11.087 18.4783 25.8696 33.2609 40.6522 48.0435
> 55.4348 62.8261 70.2174 77.6087 85] ,[0
> 7.72727 15.4545 23.1818 30.9091 38.6364 46.3636
> 54.0909 61.8182 69.5455 77.2727 85] ,0.4);
>
> Full output:
>
> >> EEG = pop_dipfit_gridsearch(EEG, [1:96] ,[-85 -77.6087
> -70.2174 -62.8261 -55.4348 -48.0435 -40.6522 -33.2609
> -25.8696 -18.4783 -11.087 -3.69565 3.69565
> 11.087 18.4783 25.8696 33.2609 40.6522 48.0435
> 55.4348 62.8261 70.2174 77.6087 85] ,[-85
> -77.6087 -70.2174 -62.8261 -55.4348 -48.0435 -40.6522
> -33.2609 -25.8696 -18.4783 -11.087 -3.69565
> 3.69565 11.087 18.4783 25.8696 33.2609 40.6522
> 48.0435 55.4348 62.8261 70.2174 77.6087 85]
> ,[0 7.72727 15.4545 23.1818 30.9091 38.6364
> 46.3636 54.0909 61.8182 69.5455 77.2727 85]
> ,0.4);
> Transforming electrode coordinates to match head model
> the input is component data with 96 components and 96 original channels
> the input is raw data with 96 channels and 1 trials
> Warning: use cfg.headmodel instead of cfg.hdmfile
> reading 'headmodel' from file
> '/Users/arkadiy/Documents/MATLAB/eeglab2022.0/plugins/dipfit/standard_BEM/standard_vol.mat'
> using electrodes specified in the data
> converting units from 'dm' to 'mm'
> determining source compartment (3)
> projecting electrodes on skin surface
> combining electrode transfer and system matrix
> selected 96 channels
> selected 96 topographies
> computing the leadfields for the gridsearch on the fly
> creating sourcemodel based on user specified 3D grid
> using electrodes specified in the configuration
> 2900 dipoles inside, 4012 dipoles outside brain
> making tight grid
> 2900 dipoles inside, 2380 dipoles outside brain
> the call to "ft_prepare_sourcemodel" took 0 seconds and required the
> additional allocation of an estimated 0 MB
> scanning grid
> scanning grid location 2900/2900
>
> found minimum after scanning for topography 1 on grid point [11.087
> -70.2174 0]
> found minimum after scanning for topography 2 on grid point [11.087
> 3.69565 7.72727]
> found minimum after scanning for topography 3 on grid point [11.087
> 3.69565 7.72727]
> found minimum after scanning for topography 4 on grid point [-33.2609
> 33.2609 0]
> found minimum after scanning for topography 5 on grid point [-3.69565
> -70.2174 0]
> found minimum after scanning for topography 6 on grid point [55.4348
> -18.4783 0]
> found minimum after scanning for topography 7 on grid point [25.8696
> 55.4348 0]
> found minimum after scanning for topography 8 on grid point [-11.087
> 11.087 54.0909]
> found minimum after scanning for topography 9 on grid point [18.4783
> -55.4348 23.1818]
> found minimum after scanning for topography 10 on grid point [55.4348
> 25.8696 0]
> found minimum after scanning for topography 11 on grid point [-62.8261
> -3.69565 0]
> found minimum after scanning for topography 12 on grid point [33.2609
> 3.69565 0]
> found minimum after scanning for topography 13 on grid point [40.6522
> 33.2609 23.1818]
> found minimum after scanning for topography 14 on grid point [40.6522
> 40.6522 0]
> found minimum after scanning for topography 15 on grid point [-48.0435
> 3.69565 38.6364]
> found minimum after scanning for topography 16 on grid point [40.6522
> 40.6522 0]
> found minimum after scanning for topography 17 on grid point [-11.087
> 70.2174 0]
> found minimum after scanning for topography 18 on grid point [3.69565
> 48.0435 0]
> found minimum after scanning for topography 19 on grid point [40.6522
> 40.6522 0]
> found minimum after scanning for topography 20 on grid point [-55.4348
> 11.087 0]
> found minimum after scanning for topography 21 on grid point [33.2609
> 55.4348 0]
> found minimum after scanning for topography 22 on grid point [-55.4348
> 18.4783 0]
> found minimum after scanning for topography 23 on grid point [3.69565
> 18.4783 0]
> found minimum after scanning for topography 24 on grid point [-40.6522
> 55.4348 0]
> found minimum after scanning for topography 25 on grid point [70.2174
> -3.69565 15.4545]
> found minimum after scanning for topography 26 on grid point [70.2174
> -25.8696 0]
> found minimum after scanning for topography 27 on grid point [-40.6522
> 48.0435 30.9091]
> found minimum after scanning for topography 28 on grid point [-48.0435 -85
> 0]
> found minimum after scanning for topography 29 on grid point [11.087
> -40.6522 0]
> found minimum after scanning for topography 30 on grid point [55.4348
> -70.2174 23.1818]
> found minimum after scanning for topography 31 on grid point [70.2174
> -40.6522 7.72727]
> found minimum after scanning for topography 32 on grid point [-3.69565
> 62.8261 38.6364]
> found minimum after scanning for topography 33 on grid point [-33.2609
> -77.6087 46.3636]
> found minimum after scanning for topography 34 on grid point [-70.2174
> -25.8696 7.72727]
> found minimum after scanning for topography 35 on grid point [-3.69565
> -70.2174 0]
> found minimum after scanning for topography 36 on grid point [25.8696
> -11.087 77.2727]
> found minimum after scanning for topography 37 on grid point [-55.4348
> -70.2174 23.1818]
> found minimum after scanning for topography 38 on grid point [-62.8261
> 11.087 15.4545]
> found minimum after scanning for topography 39 on grid point [-70.2174
> -48.0435 0]
> found minimum after scanning for topography 40 on grid point [48.0435
> -18.4783 0]
> found minimum after scanning for topography 41 on grid point [-40.6522
> -11.087 0]
> found minimum after scanning for topography 42 on grid point [-48.0435
> 55.4348 0]
> found minimum after scanning for topography 43 on grid point [-70.2174
> -40.6522 0]
> found minimum after scanning for topography 44 on grid point [55.4348
> 48.0435 0]
> found minimum after scanning for topography 45 on grid point [11.087
> -62.8261 69.5455]
> found minimum after scanning for topography 46 on grid point [-62.8261
> 3.69565 0]
> found minimum after scanning for topography 47 on grid point [62.8261
> -62.8261 0]
> found minimum after scanning for topography 48 on grid point [-25.8696
> -55.4348 69.5455]
> found minimum after scanning for topography 49 on grid point [-18.4783
> -77.6087 0]
> found minimum after scanning for topography 50 on grid point [62.8261
> 11.087 0]
> found minimum after scanning for topography 51 on grid point [-48.0435 -85
> 0]
> found minimum after scanning for topography 52 on grid point [-55.4348
> 40.6522 0]
> found minimum after scanning for topography 53 on grid point [55.4348
> -70.2174 23.1818]
> found minimum after scanning for topography 54 on grid point [-40.6522
> 11.087 61.8182]
> found minimum after scanning for topography 55 on grid point [-11.087
> -55.4348 77.2727]
> found minimum after scanning for topography 56 on grid point [55.4348
> 40.6522 0]
> found minimum after scanning for topography 57 on grid point [-55.4348
> 18.4783 38.6364]
> found minimum after scanning for topography 58 on grid point [-48.0435
> -11.087 61.8182]
> found minimum after scanning for topography 59 on grid point [48.0435
> 11.087 54.0909]
> found minimum after scanning for topography 60 on grid point [33.2609
> 40.6522 0]
> found minimum after scanning for topography 61 on grid point [-62.8261
> -62.8261 0]
> found minimum after scanning for topography 62 on grid point [-25.8696
> 25.8696 61.8182]
> found minimum after scanning for topography 63 on grid point [70.2174
> -18.4783 15.4545]
> found minimum after scanning for topography 64 on grid point [-18.4783
> -25.8696 0]
> found minimum after scanning for topography 65 on grid point [70.2174
> -18.4783 23.1818]
> found minimum after scanning for topography 66 on grid point [25.8696
> -48.0435 77.2727]
> found minimum after scanning for topography 67 on grid point [-18.4783
> 3.69565 77.2727]
> found minimum after scanning for topography 68 on grid point [-55.4348
> -62.8261 38.6364]
> found minimum after scanning for topography 69 on grid point [-40.6522
> -33.2609 69.5455]
> found minimum after scanning for topography 70 on grid point [-62.8261
> -33.2609 38.6364]
> found minimum after scanning for topography 71 on grid point [55.4348
> 48.0435 0]
> found minimum after scanning for topography 72 on grid point [-40.6522 -85
> 23.1818]
> found minimum after scanning for topography 73 on grid point [48.0435
> 55.4348 7.72727]
> found minimum after scanning for topography 74 on grid point [48.0435
> -11.087 61.8182]
> found minimum after scanning for topography 75 on grid point [62.8261
> -40.6522 46.3636]
> found minimum after scanning for topography 76 on grid point [-3.69565
> 62.8261 38.6364]
> found minimum after scanning for topography 77 on grid point [70.2174
> -25.8696 0]
> found minimum after scanning for topography 78 on grid point [55.4348
> 33.2609 30.9091]
> found minimum after scanning for topography 79 on grid point [18.4783
> 62.8261 30.9091]
> found minimum after scanning for topography 80 on grid point [33.2609
> 33.2609 54.0909]
> found minimum after scanning for topography 81 on grid point [18.4783
> 11.087 69.5455]
> found minimum after scanning for topography 82 on grid point [40.6522
> -33.2609 69.5455]
> found minimum after scanning for topography 83 on grid point [40.6522 -85
> 30.9091]
> found minimum after scanning for topography 84 on grid point [18.4783
> -55.4348 0]
> found minimum after scanning for topography 85 on grid point [33.2609
> -62.8261 0]
> found minimum after scanning for topography 86 on grid point [40.6522
> -25.8696 7.72727]
> found minimum after scanning for topography 87 on grid point [3.69565
> -11.087 0]
> found minimum after scanning for topography 88 on grid point [18.4783
> 11.087 0]
> found minimum after scanning for topography 89 on grid point [-33.2609
> -55.4348 0]
> found minimum after scanning for topography 90 on grid point [11.087
> 25.8696 0]
> found minimum after scanning for topography 91 on grid point [-3.69565
> 18.4783 7.72727]
> found minimum after scanning for topography 92 on grid point [-48.0435
> -40.6522 15.4545]
> found minimum after scanning for topography 93 on grid point [-33.2609
> -33.2609 0]
> found minimum after scanning for topography 94 on grid point [-18.4783
> 25.8696 0]
> found minimum after scanning for topography 95 on grid point [25.8696
> -25.8696 7.72727]
> found minimum after scanning for topography 96 on grid point [-40.6522
> 55.4348 0]
> the call to "ft_dipolefitting" took 8 seconds and required the additional
> allocation of an estimated 0 MB
> Fail to look up brain areas
> Done
>
>
> --
> Arkadiy L. Maksimovskiy, Ph.D. (he/him/his)
> Assistant Neuroscientist, McLean Hospital
> Instructor in Psychiatry, Harvard Medical School
> The information in this e-mail is intended only for the person to whom it
> is addressed. If you believe this e-mail was sent to you in error and the
> e-mail contains patient information, please contact the Mass General
> Brigham Compliance HelpLine at
> https://urldefense.com/v3/__https://www.massgeneralbrigham.org/complianceline__;!!Mih3wA!FLhSaOdRVY9i5N10wmJZ1AdxktdrAo66P4a81772Jsb_Dl1i5uzDC79LOJXKCYMBDJsE6WfAPWCOaVGYVfRrvtCqYUEorFf5b7KebOc$
> <
> https://urldefense.com/v3/__https://www.massgeneralbrigham.org/complianceline__;!!Mih3wA!FLhSaOdRVY9i5N10wmJZ1AdxktdrAo66P4a81772Jsb_Dl1i5uzDC79LOJXKCYMBDJsE6WfAPWCOaVGYVfRrvtCqYUEorFf5b7KebOc$
> > .
> Please note that this e-mail is not secure (encrypted). If you do not
> wish to continue communication over unencrypted e-mail, please notify the
> sender of this message immediately. Continuing to send or respond to
> e-mail after receiving this message means you understand and accept this
> risk and wish to continue to communicate over unencrypted e-mail.
> _______________________________________________
> 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
>
More information about the eeglablist
mailing list