<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Jan-Mathijs</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Apologies Ill explain a bit more. Im trying to look at hippocampal - prefrontal coupling. I am using intracranial EEG data. The exact error in yellow is this 'Warning: The field cfg.chanlow is forbidden, it will be removed from your configuration<br>
The field cfg.chanhigh is forbidden, it will be removed from your configuration'</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It is thrown when i perform the CFC command (in red)</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<p class="p1" style="margin:0px;font:10px Helvetica"><span style="font-size: 12pt;">cfg.method</span><span class="Apple-converted-space" style="font-size: 12pt;">
</span><span style="font-size: 12pt;">= </span><span class="s1" style="color: rgb(160, 32, 240); font-size: 12pt;">'plv'</span><span style="font-size: 12pt;">;</span></p>
<p class="p1" style="margin:0px;font:10px Helvetica"><span class="Apple-converted-space" style="font-size: 12pt;">
</span><span style="font-size: 12pt;">cfg.keeptrials</span><span class="Apple-converted-space" style="font-size: 12pt;">
</span><span style="font-size: 12pt;">= keepTrials;</span></p>
<p class="p1" style="margin:0px;font:10px Helvetica"><span class="Apple-converted-space" style="font-size: 12pt;">
</span><span style="font-size: 12pt;">cfg.chanlow </span><span class="Apple-converted-space" style="font-size: 12pt;"> </span><span style="font-size: 12pt;">= cueHPCPower.label; %an individual hippocampal channel</span></p>
<p class="p1" style="margin:0px;font:10px Helvetica"><span class="Apple-converted-space" style="font-size: 12pt;">
</span><span style="font-size: 12pt;">cfg.chanhigh</span><span class="Apple-converted-space" style="font-size: 12pt;"> </span><span style="font-size: 12pt;">= cuePFCPower.label; %an individual prefrontal channel</span></p>
<p class="p1" style="margin:0px;font:10px Helvetica"><span class="Apple-converted-space" style="font-size: 12pt;">
</span><span style="font-size: 12pt;">cfg.freqlow </span><span class="Apple-converted-space" style="font-size: 12pt;"> </span><span style="font-size: 12pt;">= phaseBand; </span></p>
<p class="p1" style="margin:0px;font:10px Helvetica"><span class="Apple-converted-space" style="font-size: 12pt;">
</span><span style="font-size: 12pt;">cfg.freqhigh</span><span class="Apple-converted-space" style="font-size: 12pt;">
</span><span style="font-size: 12pt;">= ampBand;</span></p>
<p class="p1" style="margin:0px;font:10px Helvetica"><span class="Apple-converted-space" style="font-size: 12pt;">
</span><span class="Apple-converted-space" style="color: rgb(200, 38, 19); font-size: 12pt;">
</span><span style="color: rgb(200, 38, 19); font-size: 12pt;">CFC </span><span class="Apple-converted-space" style="color: rgb(200, 38, 19); font-size: 12pt;"> </span><span style="color: rgb(200, 38, 19); font-size: 12pt;">= ft_crossfrequencyanalysis(cfg,cueHPCPower,cuePFCPower);</span></p>
<p class="p2" style="margin:0px;font:10px Helvetica;min-height:12px"><span class="Apple-converted-space"> </span></p>
<span style="font-size: 12pt;">As a result the output of the CFC command does not ascribe a channel, and the crsspctrm is not calculated looking a bit like</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 12pt;">label 0x1 cell</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 12pt;">crsspctrm []</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 11pt;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 12pt;">Im currently using fieldtrip-20210413 (which I downloaded for the excellent course Donders did!)</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 12pt;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 12pt;">I hope that makes more sense</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 12pt;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 12pt;">Many thanks</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 12pt;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 12pt;">Umesh</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 11pt;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 11pt;">
<div class="p1" style="margin:0px;font:10px Helvetica"><br>
</div>
<p class="p2" style="margin:0px;font:10px Helvetica;min-height:12px"><span class="Apple-converted-space"> </span></p>
<br>
</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> fieldtrip <fieldtrip-bounces@science.ru.nl> on behalf of Schoffelen, J.M. (Jan Mathijs) via fieldtrip <fieldtrip@science.ru.nl><br>
<b>Sent:</b> 16 June 2021 19:24<br>
<b>To:</b> FieldTrip discussion list <fieldtrip@science.ru.nl><br>
<b>Cc:</b> Schoffelen, J.M. (Jan Mathijs) <janmathijs.schoffelen@donders.ru.nl><br>
<b>Subject:</b> Re: [FieldTrip] Using ft_crossfrequencyanalysis</font>
<div> </div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space"><span class="" style="color:rgb(0,0,0)">Hi Umesh,</span>
<div class="" style="color:rgb(0,0,0)"><br class="">
</div>
<div class="" style="color:rgb(0,0,0)">What was the error? '<span class="" style="font-size:11pt">cfg.chanlow and cfg.chanhigh were forbidden variables</span><span class="" style="font-size:14.666666984558105px">’</span><span class="" style="font-size:11pt">?</span></div>
<div class="" style="color:rgb(0,0,0)"><span class="" style="font-size:14.666666984558105px"><br class="">
</span></div>
<div class="" style="color:rgb(0,0,0)"><span class="" style="font-size:14.666666984558105px">Please paste the complete error as you get it on the screen, as well as the stack (i.e. the line at which the error is thrown).</span></div>
<div class="" style="color:rgb(0,0,0)"><span class="" style="font-size:14.666666984558105px">Also, what is the version of FieldTrip you have been using?</span></div>
<div class="" style="color:rgb(0,0,0)"><span class="" style="font-size:14.666666984558105px"><br class="">
</span></div>
<div class="" style="color:rgb(0,0,0)"><span class="" style="font-size:14.666666984558105px">We need a little bit more information to be able to think along.</span></div>
<div class="" style="color:rgb(0,0,0)"><span class="" style="font-size:14.666666984558105px"><br class="">
</span></div>
<div class="" style="color:rgb(0,0,0)"><span class="" style="font-size:14.666666984558105px">Good luck,</span></div>
<div class="" style="color:rgb(0,0,0)"><span class="" style="font-size:14.666666984558105px">Jan-Mathijs</span></div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 16 Jun 2021, at 17:38, Vivekananda, Umesh via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<div class="">
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
Dear team</div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
I have used this function in the past successfully when considering within channel analysis. However when I used the function again but across channels like so</div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:10px; line-height:normal; font-family:Helvetica">
cfg.method<span class="x_Apple-converted-space"> <span class="x_Apple-converted-space"> </span></span>=<span class="x_Apple-converted-space"> </span><span class="x_s1" style="color:rgb(160,32,240)">'plv'</span>;</div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:10px; line-height:normal; font-family:Helvetica">
<span class="" style="font-family:Helvetica; font-size:10px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal">cfg.keeptrials</span><span class="x_Apple-converted-space" style="font-family:Helvetica; font-size:10px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal"> <span class="x_Apple-converted-space"> </span></span><span class="" style="font-family:Helvetica; font-size:10px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal">=
keepTrials;</span></div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:10px; line-height:normal; font-family:Helvetica">
cfg.chanlow<span class="x_Apple-converted-space"> </span><span class="x_Apple-converted-space"> <span class="x_Apple-converted-space"> </span></span>= cueHPCPower.label;</div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:10px; line-height:normal; font-family:Helvetica">
cfg.chanhigh<span class="x_Apple-converted-space"> <span class="x_Apple-converted-space"> </span></span>= cuePFCPower.label;</div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:10px; line-height:normal; font-family:Helvetica">
cfg.freqlow<span class="x_Apple-converted-space"> </span><span class="x_Apple-converted-space"> <span class="x_Apple-converted-space"> </span></span>= phaseBand;</div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:10px; line-height:normal; font-family:Helvetica">
cfg.freqhigh<span class="x_Apple-converted-space"> <span class="x_Apple-converted-space"> </span></span>= ampBand;</div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:10px; line-height:normal; font-family:Helvetica">
CFC<span class="x_Apple-converted-space"> </span><span class="x_Apple-converted-space"> <span class="x_Apple-converted-space"> </span></span>= ft_crossfrequencyanalysis(cfg,cueHPCPower,cuePFCPower);</div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:10px; line-height:normal; font-family:Helvetica">
<br class="">
</div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:10px; line-height:normal; font-family:Helvetica">
<span class="" style="font-size:11pt">I got an error stating cfg.chanlow and cfg.chanhigh were forbidden variables. I had derived a fourier spectrum for HPC and PFC channel separately in order to compute individual channel CFC before averaging. Any help would
be much appreciated</span></div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:10px; line-height:normal; font-family:Helvetica">
<span class="" style="font-size:11pt"><br class="">
</span></div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:10px; line-height:normal; font-family:Helvetica">
<span class="" style="font-size:11pt">Thanks</span></div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:10px; line-height:normal; font-family:Helvetica">
<span class="" style="font-size:11pt"><br class="">
</span></div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:10px; line-height:normal; font-family:Helvetica">
<span class="" style="font-size:11pt">Umesh </span><br class="">
</div>
<br class="">
</div>
<span class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">_______________________________________________</span><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">fieldtrip
mailing list</span><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=04%7C01%7C%7Cb924a92bdd5141e88aeb08d930f4b4af%7C1faf88fea9984c5b93c9210a11d9a5c2%7C0%7C0%7C637594649834203108%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XWEJuEiZfT4Bz5rt3g24xjjvySsFvQdoYnr8bOMMQjk%3D&reserved=0" originalsrc="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" shash="NOwz7WmcQmqHto1lcxqcn1LkIv7L3ItXSsb3S154bO7Ik4M9UgkyP96ODWYTvGo63U/DG1FJvmFKonztUhZHjPYDdVRyWaGV1va6ySVj/i7knW80fuvXZZiNGAG/BblPEWCzTa1IpyDUE/yphvv1+wZpmrEV5fUu8fJPu/jEstM=" class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202__%3B!!HJOPV4FYYWzcc1jazlU!s15pfcIalzeG1LxQnj1prFk9nmTQ0RpcOTqzavjhZrbWASncFoXWoEHBW_40_XhqkcEEGBP2%24&data=04%7C01%7C%7Cb924a92bdd5141e88aeb08d930f4b4af%7C1faf88fea9984c5b93c9210a11d9a5c2%7C0%7C0%7C637594649834208089%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=nFXAw5HlhDDT%2BVc24W0gbd7Rj%2FB594SwuryHM0P3ASg%3D&reserved=0" originalsrc="https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!s15pfcIalzeG1LxQnj1prFk9nmTQ0RpcOTqzavjhZrbWASncFoXWoEHBW_40_XhqkcEEGBP2$" shash="y1vHmQ2zaHRhCMVG2575SXiEMDjIET4qI1XyFHC+e3FlMgvmNFPR4LbhVtdw8q5ormMR6feY0YLMT+G71ZC6kgjpAmZ74OyTJF+knStT52S+dX2nyCRI5sjPTafLKIvL04FvDzK5wnOOieeSiHfmKLHHkZqF1OPcIpZjEPYVfs8=" class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!s15pfcIalzeG1LxQnj1prFk9nmTQ0RpcOTqzavjhZrbWASncFoXWoEHBW_40_XhqkcEEGBP2$</a><span class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important"></span></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>