<div dir="ltr">Hello community,<br><br>I am currently examining peak alpha frequency. To do so, I am analyzing EEG data collected during a period of 6 minutes of rest.<br><br>Prior to running frequency analysis, I am using PCA to remove non-brain artifacts. While the algorithm seems to work, I am getting the following warning:<br><br>“<b>Warning: copying input chantype to montage.”</b><br> <br>The script still runs, but I wanted to make sure I understand what fieldtrip is doing. I am importing the data from eeglab. Below my code:<br> <br>        cfg = [];<br>        cfg.dataset = 'epoched_closed.set'; %this is the dataset<br>        ft_data1 = ft_preprocessing(cfg);<br>        cfg.length=5;<br>        cfg.overlap=0;<br>        data=ft_redefinetrial(cfg,ft_data1);<br>        cfg.method       = 'runica';<br>        cfg.runica.pca=15;<br>       <b> X=ft_componentanalysis(cfg,data); </b>%%this is the line that gives me the warning<br><br>The cfg and data I use are as follows:<br><br>cfg =<br>    dataset: 'epoched_closed.set'<br>     length: 5<br>    overlap: 0<br>     method: 'runica'<br>     runica: [1×1 struct]<div><br>data =<br>         label: {31×1 cell}<br>       fsample: 500<br>          elec: [1×1 struct]<br>           cfg: [1×1 struct]<br>           hdr: [1×1 struct]<br>         trial: {1×36 cell}<br>          time: {1×36 cell}<br>    sampleinfo: [36×2 double]<br><br>I have looked into the warning and am assuming "chantype" lets fieldtrip know that it is handling eeg data, but would appreciate some more insight into what fieldtrip is doing behind the scenes (i.e., why the warning pops up).<br><br>Thank you,<br>Felicitas<br><br></div></div>