====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
analysis:rhythms:step1 [2016/03/30 17:59] mvdm [Obtaining the code you need to load the Emotiv data] |
analysis:rhythms:step1 [2018/04/17 15:20] (current) |
||
---|---|---|---|
Line 44: | Line 44: | ||
<code> | <code> | ||
- | addpath('\Documents\GitHub\PSYC50Rhythms'); | + | addpath(genpath('\Documents\GitHub\PSYC50Rhythms')); |
</code> | </code> | ||
- | (obviously, if you placed the code in some different place, substitute that.) | + | Obviously, if you placed the code in some different place, substitute that. Also, it may be that your computer prefers forward slashes (''\'') instead of backslashes (''/'')! |
Now you've told MATLAB to add this new location to the list of places it looks for commands (the "path"). To check that MATLAB can find our shiny new EDF loader, do ''which edfread''. If things are set up right, MATLAB should reply with the location of where the ''edfread.m'' file is located, and you're all set for the final step below. | Now you've told MATLAB to add this new location to the list of places it looks for commands (the "path"). To check that MATLAB can find our shiny new EDF loader, do ''which edfread''. If things are set up right, MATLAB should reply with the location of where the ''edfread.m'' file is located, and you're all set for the final step below. | ||
Line 74: | Line 74: | ||
{{ :analysis:rhythms:sethplot.png?nolink&600 |}} | {{ :analysis:rhythms:sethplot.png?nolink&600 |}} | ||
- | The traces you see include some signals recorded from the Emotiv's electrodes, positioned on the skull (the traces at the top), signals from the Emotiv's accelerometers (the signals in the middle), and some timing and event channels (at the bottom). | + | The traces you see include some signals recorded from the Emotiv's electrodes, positioned on the skull (the traces at the top), signals from the Emotiv's accelerometers (the signals in the middle), and some timing and event channels (at the bottom). The neural data traces don't look great: there are various features that we suspect are probably non-neural artifacts, such as the sharp spikes appearing on a few channels simultaneously. But it will do in having something to work with for now! |
=== Structure of Emotiv data === | === Structure of Emotiv data === |