<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p>Dear Fieldtrippers,</p>
<p><br>
</p>
<p>I am currently doing artefact rejection on a dataset of children's EEG using ICA. I am able to plot the topography and timecourse of my ICA components, but fail in plotting their frequency-power spectrum (lot's of alpha activity in my dataset. Hopefully
loads into a single component).</p>
<p><br>
</p>
<p>I found some code snippets in old messages on the mailing list but have not been able to apply them on my dataset. Is there maybe a tutorial I missed, some code that shows how to plot the freq-pwer spectrum like in eeglab?
<br>
</p>
<p><br>
</p>
<p>I also found ft_icabrowser(cfg, comp), which should plot the freq-power spectrum of my components alongside other measures. I tried using it like this, with a custom layout<br>
</p>
<p></p>
<div style="padding:30px">
<div style="font-size:10pt; font-family:Menlo,Monaco,Consolas,"Courier New",monospace; font-style:normal; font-weight:normal">
<span style="white-space:pre"><span>cfg = [];</span></span></div>
<div style="font-size:10pt; font-family:Menlo,Monaco,Consolas,"Courier New",monospace; font-style:normal; font-weight:normal">
<span style="white-space:pre"><span>cfg.layout = <span>'C:\EEG_Data\layout_EEG.mat'</span></span></span></div>
<div style="font-size:10pt; font-family:Menlo,Monaco,Consolas,"Courier New",monospace; font-style:normal; font-weight:normal">
<span style="white-space:pre"><span>[dummy] = ft_icabrowser(cfg, comp);</span></span></div>
</div>
however, instead of one figure window with several subplots per component, several windows are opened, each containing subplots, some of them empty. The topoplots also open in seperate windows and only the first 4 of my 25 components are plotted. For each component
I get this error message:
<p></p>
<p></p>
<div>Warning: could not determine dimord of "comp" in:<br>
<br>
label: {28×1 cell}<br>
cfg: [1×1 struct]<br>
topo: [28×1 double]<br>
topodimord: 'chan_comp'<br>
comp: 4<br>
unmixing: [-1.2657 -1.5088 -1.6876 -1.1454 -1.3345 0.0388 -0.3569 1.2782 0.3718 -1.7437 -1.7553 -1.5412 -0.1625 0.6848 -0.4991 -1.8822 -0.2463 -1.5501 -2.0003 … ]<br>
unmixingdimord: 'chan_topochan'</div>
<p></p>
<p><br>
</p>
<p>Any thoughts on this?</p>
<p>Thanks in advance and best wishes,</p>
<p><br>
</p>
<p>Laura<br>
</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; font-size:12pt">
<span style="font-family:Calibri,Helvetica,sans-serif"></span>
<div id="divtagdefaultwrapper" dir="ltr" style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; font-size:12pt">
<span style="font-family:Calibri,Helvetica,sans-serif"></span>
<p><span style="font-family:Calibri,Helvetica,sans-serif; font-size:10pt; white-space:pre">__________</span></p>
<span style="font-family:Calibri,Helvetica,sans-serif"></span>
<p><span style="font-family:Calibri,Helvetica,sans-serif; font-size:10pt; white-space:pre">Dr. Laura Hahn</span></p>
<span style="font-family:Calibri,Helvetica,sans-serif; font-size:10pt"></span>
<p><span style="font-family:Calibri,Helvetica,sans-serif; font-size:10pt; white-space:pre">Forschungsgruppe Frühkindliche Sprachentwicklung</span></p>
<span style="font-family:Calibri,Helvetica,sans-serif; font-size:10pt"></span>
<p><span style="font-family:Calibri,Helvetica,sans-serif; font-size:10pt; white-space:pre">Klinik für Audiologie und Phoniatrie</span></p>
<span style="font-family:Calibri,Helvetica,sans-serif; font-size:10pt"></span>
<p><span style="font-family:Calibri,Helvetica,sans-serif; font-size:10pt; white-space:pre"><span style="font-family:Calibri,Helvetica,sans-serif; font-size:10pt">Charité - Universitätsmedizin Berlin</span><span style="font-family:Calibri,Helvetica,sans-serif; font-size:10pt; white-space:pre">
</span></span></p>
<span style="font-family:Calibri,Helvetica,sans-serif; font-size:10pt"></span>
<p><span style="font-family:Calibri,Helvetica,sans-serif; font-size:10pt; white-space:pre"></span></p>
<span style="font-family:Calibri,Helvetica,sans-serif; font-size:10pt"></span><br>
<p></p>
<p><br>
</p>
</div>
</div>
</div>
</div>
</body>
</html>