<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} P{margin-top:0;margin-bottom:0;}--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello,</p>
<p><br>
</p>
<p>I have a set of BioSemi EEG data that I want to import, downsample and high pass filter as continuous data before epoching. However, when I load the original triggers from the .bsd file they are still in the original sample frequency, and when I want to
 apply the trials (extracted using ft_definetrial) using ft_redefinetrial, I get the following error:</p>
<p><br>
</p>
<p>> In ft_redefinetrial (line 222)</p>
<p>Subscripted assignment dimension mismatch.</p>
<p><br>
</p>
<p>Now, the obvious solution would be to downsample the data <em>after</em> epoching, of course, but then highpass filtering (in the original sample rate) takes a very long time to complete. I also want to save the continuous, filtered and downsampled data
 before epoching for plotting. </p>
<p><br>
</p>
<p>Any suggestions? Is there any way to change the sample rate of the trial definitions, or to load the continuous data
<em>including</em> trial information prior to downsampling?</p>
<p><br>
</p>
<p>Thank you!</p>
<p><br>
</p>
<p>Best regards,</p>
<p>Gunnar Norrman <br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif">
<font face="Times New Roman"></font>
<p class="MsoNormal" style="margin:0cm 0cm 0pt"><span style="color:gray; font-family:"Courier New"; font-size:10pt" lang="EN-US">---</span></p>
<font face="Times New Roman"></font>
<p class="MsoNormal" style="margin:0cm 0cm 0pt"><span style="color:gray; font-family:"Courier New"; font-size:10pt" lang="EN-US">Gunnar Norrman</span></p>
<font face="Times New Roman"></font>
<p class="MsoNormal" style="margin:0cm 0cm 0pt"><span style="color:gray; font-family:"Courier New"; font-size:10pt" lang="EN-US">Centre for Research on Bilingualism, Stockholm University</span></p>
<font face="Times New Roman"></font>
<p class="MsoNormal" style="margin:0cm 0cm 0pt"><span style="color:gray; font-family:"Courier New"; font-size:10pt" lang="EN-US">+46 (0)8 16 3643 |<span class="apple-converted-space"> </span><a id="NoLP" href="mailto:gunnar.norrman@biling.su.se"><span style="color:gray">gunnar.norrman@biling.su.se</span></a></span></p>
<font face="Times New Roman"></font></div>
</div>
</body>
</html>