<div dir="ltr">Dear all,<div><br></div><div style>I encounter a strange problem using ft_databrowser for artifact detection. Basically I can't see all channels anymore, because the distance between the single channels is so wide that some get out of the window. I did not have this problem before. The only thing I changed until it worked is that I added a filter (before I filtered the data in another program). Did somebody encounter this problem before?</div><div style>thanks and best</div><div style>Katrin</div><div style>Below my (simple) code.</div><div style><br></div><div style><p style="margin:0px;font-size:10px;font-family:Courier">cfg                     = [];</p>
<p style="margin:0px;font-size:10px;font-family:Courier">cfg.dataset             = name;</p>
<p style="margin:0px;font-size:10px;font-family:Courier">cfg.trialfun            = <span style="color:rgb(178,69,243)">'ft_trialfun_general'</span>; </p>
<p style="margin:0px;font-size:10px;font-family:Courier">cfg.trialdef.eventtype  = <span style="color:rgb(178,69,243)">'trigger'</span>;</p>
<p style="margin:0px;font-size:10px;font-family:Courier;color:rgb(37,153,45)"><span style="color:rgb(0,0,0)">cfg.trialdef.eventvalue = </span><span style="color:rgb(178,69,243)">'stim'</span><span style="color:rgb(0,0,0)">; </span> </p>
<p style="margin:0px;font-size:10px;font-family:Courier">cfg.trialdef.prestim    = 0.216; <span style="color:rgb(37,153,45)">% in seconds</span></p>
<p style="margin:0px;font-size:10px;font-family:Courier;color:rgb(37,153,45)"><span style="color:rgb(0,0,0)">cfg.trialdef.poststim   = 7.284; </span>% in seconds (whole time of video observation plus resynch phase)</p>
<p style="margin:0px;font-size:10px;font-family:Courier">cfg                     = ft_definetrial(cfg);</p>
<p style="margin:0px;font-size:12px;font-family:Courier;min-height:14px"><br></p></div><div style><p style="margin:0px;font-size:10px;font-family:Courier">cfg.channel    = <span style="color:rgb(178,69,243)">'all'</span>;</p>
<p style="margin:0px;font-size:10px;font-family:Courier">cfg.preproc.detrend       = <span style="color:rgb(178,69,243)">'yes'</span>;</p>
<p style="margin:0px;font-size:10px;font-family:Courier">cfg.preproc.demean = <span style="color:rgb(178,69,243)">'yes'</span>;</p>
<p style="margin:0px;font-size:10px;font-family:Courier">cfg.preproc.baselinewindow = [-2.1 -2.0]</p>
<p style="margin:0px;font-size:10px;font-family:Courier">cfg.preproc.bpfilter = <span style="color:rgb(178,69,243)">'yes'</span>;   </p>
<p style="margin:0px;font-size:10px;font-family:Courier">cfg.preproc.bpfreq = [0.1 45];</p>
<p style="margin:0px;font-size:10px;font-family:Courier;color:rgb(37,153,45)">% </p>
<p style="margin:0px;font-size:10px;font-family:Courier;color:rgb(37,153,45)">% </p>
<p style="margin:0px;font-size:10px;font-family:Courier">obs_data           = ft_preprocessing(cfg);</p><div><br></div><div><p style="margin:0px;font-size:10px;font-family:Courier">cfg = [];</p>
<p style="margin:0px;font-size:10px;font-family:Courier">cfg.viewmode = <span style="color:rgb(178,69,243)">'vertical'</span>;</p>
<p style="margin:0px;font-size:10px;font-family:Courier">cfg.continuous = <span style="color:rgb(178,69,243)">'no'</span>;</p>
<p style="margin:0px;font-size:10px;font-family:Courier">cfg.plotlabels=<span style="color:rgb(178,69,243)">'yes'</span></p>
<p style="margin:0px;font-size:10px;font-family:Courier">cfg = ft_databrowser(cfg,obs_data);</p>
<p style="margin:0px;font-size:10px;font-family:Courier;color:rgb(37,153,45)"><br></p>
<p style="margin:0px;font-size:10px;font-family:Courier">obs_data_try = ft_rejectartifact (cfg,obs_data);</p>
<p style="margin:0px;font-size:12px;font-family:Courier;min-height:14px"><br></p></div></div></div>