[Eeglablist] How to extract the actual channel values from an interpolated scalp map matrix?
Makoto Miyakoshi
mmiyakoshi at ucsd.edu
Mon Jan 11 18:22:03 PST 2016
Dear Azadeh,
> I wonder if anyone knows how I can get the individual channel values from
an interpolated image matrix of a scalp map?
That's kind of my plugin std_envtopo() does. You may want to check code,
from line 292 and on (see below). However, I recommend you go back to
channel because you want to avoid the effect of interpolation.
%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% convolve topo x erp %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%
tmpTopo1 = single(reshape(cell2mat(topo), [67 67
length(topo)]));
tmpTopo2 = tmpTopo1(~isnan(tmpTopo1));
tmpTopo3 = reshape(tmpTopo2, [length(tmpTopo2)/length(topo)
length(topo)]);
convTopoErp{1, cls}{columnwise,rowwise} = tmpTopo3*erp; %
i.e. summing all the ICxmap things (topoact)
Makoto
On Thu, Jan 7, 2016 at 12:36 PM, Azadeh HajiHosseini <hajihosseini at gmail.com
> wrote:
> Hi EEGLAB users,
>
> I wonder if anyone knows how I can get the individual channel values from
> an interpolated image matrix of a scalp map? I have a 67 x 67 scalp map
> matrix and the channel location coordinates in Theta, R, and X, Y, Z format
> but I don't know how I can find the value of specific channels from the
> interpolated image...
>
> I need this because when I do clustering, the STUDY.cluster(i).topo which
> represents the scalp map of 'cluster i' is a 67 x 67 matrix while I am
> interested in creating the time-course of each cluster (as you would do for
> each Independent Component using the .icaweights matrix), so I need the
> value assigned to each channel.
>
> I would appreciate your ideas!
>
> Best,
>
> Azadeh HajiHosseini
> Postdoctoral Research Fellow
> Pacific Parkinson's Research Centre
> University of British Columbia, Canada
> http://www.parkinsons.ubc.ca/
>
>
>
>
> _______________________________________________
> 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
>
--
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20160111/5729377a/attachment.html>
More information about the eeglablist
mailing list