Auxiliary_electrode | R Documentation |
Class definition for auxiliary channels
Class definition for auxiliary channels
If simplify
is enabled, and only one block is loaded,
then the result will be a vector (type="voltage"
) or a matrix
(others), otherwise the result will be a named list where the names
are the blocks.
raveio::RAVEAbstarctElectrode
-> Auxiliary_electrode
h5_fname
'HDF5' file name
valid
whether current electrode is valid: subject exists and contains current electrode or reference; subject electrode type matches with current electrode type
raw_sample_rate
voltage sample rate
preprocess_info
preprocess information
voltage_file
path to voltage 'HDF5' file
print()
print electrode summary
Auxiliary_electrode$print()
set_reference()
set reference for current electrode
Auxiliary_electrode$set_reference(reference)
reference
either NULL
or LFP_electrode
instance
new()
constructor
Auxiliary_electrode$new(subject, number, quiet = FALSE)
subject, number, quiet
see constructor in
RAVEAbstarctElectrode
.load_noref_voltage()
load non-referenced voltage (internally used)
Auxiliary_electrode$.load_noref_voltage(reload = FALSE)
reload
whether to reload cache
srate
voltage signal sample rate
.load_raw_voltage()
load raw voltage (no process)
Auxiliary_electrode$.load_raw_voltage(reload = FALSE)
reload
whether to reload cache
load_data()
method to load electrode data
Auxiliary_electrode$load_data(type = c("raw-voltage", "voltage"))
type
data type such as "power"
, "phase"
,
"voltage"
, "wavelet-coefficient"
, and
"raw-voltage"
. For "power"
, "phase"
,
and "wavelet-coefficient"
, 'Wavelet' transforms are required.
For "voltage"
, 'Notch' filters must be applied. All these
types except for "raw-voltage"
will be referenced.
For "raw-voltage"
, no reference will be performed since the data
will be the "raw" signal (no processing).
load_blocks()
load electrode block-wise data (with no reference), useful when epoch is absent
Auxiliary_electrode$load_blocks( blocks, type = c("raw-voltage", "voltage"), simplify = TRUE )
blocks
session blocks
type
data type such as "power"
, "phase"
,
"voltage"
, "raw-voltage"
(with no filters applied, as-is
from imported), "wavelet-coefficient"
. Note that if type
is "raw-voltage"
, then the data only needs to be imported;
for "voltage"
data, 'Notch' filters must be applied; for
all other types, 'Wavelet' transforms are required.
simplify
whether to simplify the result
clear_cache()
method to clear cache on hard drive
Auxiliary_electrode$clear_cache(...)
...
ignored
clear_memory()
method to clear memory
Auxiliary_electrode$clear_memory(...)
...
ignored
clone()
The objects of this class are cloneable with this method.
Auxiliary_electrode$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.