View source: R/rave-reference.R
generate_reference | R Documentation |
To properly run this function, please install ravetools
package.
generate_reference(subject, electrodes)
subject |
subject ID or |
electrodes |
electrodes to calculate the common average; these electrodes must run through 'Wavelet' first |
The goal of generating common average signals is to capture the common movement from all the channels and remove them out from electrode signals.
The common average signals will be stored at subject reference
directories. Two exact same copies will be stored: one in 'HDF5'
format such that the data can be read universally by other programming
languages; one in filearray
format that can be
read in R with super fast speed.
A reference instance returned by new_reference
with
signal type determined automatically.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.