<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">All:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I would add that the <u>reason</u> aliasing still occurs is that real-world filters are not perfect and do not have an actual step-function at the nominal stop-band frequency. In other words, they still let some higher frequencies through.
 To properly sample these you need a higher sample rate than the theoretical Nyquist rate.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">You really need to know the actual analog filter roll-off when choosing the optimal sampling rate, as well as the inherent noise in the electronics. Presumably the equipment designer will have taken this into consideration.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Another reason to oversample is to make the resulting reconstruction look more pleasing to the eye. If you sample a pure sine wave strictly at the Nyquist rate, it will look triangular. This can be fixed by the proper reconstruction technique,
 which virtually no one does as it involves additional computation involving multiplication with sinc functions.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">-Jeff Eriksen<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> eeglablist <eeglablist-bounces@sccn.ucsd.edu> <b>
On Behalf Of </b>Michael D. Nunez<br>
<b>Sent:</b> Monday, March 4, 2019 9:05 AM<br>
<b>To:</b> Eric Rawls <elrawls@email.uark.edu><br>
<b>Cc:</b> eeglablist <eeglablist@sccn.ucsd.edu><br>
<b>Subject:</b> [EXTERNAL] Re: [Eeglablist] Nyquist, downsampling, and EEG<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:red">This email originated from outside of Legacy Health. Please use CAUTION when clicking on links or opening documents.</span>
<o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Hey Eric, <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">There is still aliasing that can occur past the Nyquist rate. That's why an Engineer's Nyquist of 2.5 the max desired frequency is often used. Also we may want to accurately record artifact above 50 Hz to better remove that artifact. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Furthermore there is no real cost to having large sampling rates, besides initial file size, in EEG experiments where the analysis is performed offline. We can always downsample offline. In some online Brain-Computer Interfaces (BCIs),
 the sample rate will be a concern. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Michael<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">On Sun, Mar 3, 2019, 23:32 Eric Rawls <<a href="mailto:elrawls@email.uark.edu" target="_blank">elrawls@email.uark.edu</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">Hi list, I have a short, more theoretically designed question. 
<o:p></o:p></p>
<div>
<p class="MsoNormal">Typical ERP studies will apply a filter around 50 Hz to remove frequencies above line noise. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Doesn't this mean that for any data filtered this way the highest reasonable sampling rate is 50*2=100 Hz? <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">So why does we all use 500, or even 1000 Hz, when sampling EEG signals?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Does this lower limit on the sampling rate need to increase for phase based analyses etc?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I've been curious about this for a while and wanted to open it up to a group of experts. Why do we sample above the Nyquist rate in our EEG experiments?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks for the discussion<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Eric Rawls, M.S.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Graduate Research Assistant & Instructor<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Department of Psychological Sciences<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">University of Arkansas<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Eeglablist page: <a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsccn.ucsd.edu%2Feeglab%2Feeglabmail.html&data=02%7C01%7CJEriksen%40lhs.org%7C70e6e09abdeb4ceeb64a08d6a0c4640a%7C3683988d7d404338bf200b5dd13f4301%7C0%7C1%7C636873162695292042&sdata=bwOYW%2FoXQcBWDNrpjGAqXA4T%2BkxQTu1wcydVbj1Cv6Q%3D&reserved=0" target="_blank">
http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">
eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">
eeglablist-request@sccn.ucsd.edu</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</body>
</html>