Inherited methods
Method @marshal()
Internal method
Usage
LFP_electrode$@marshal(...)
Arguments
...
internal arguments
Method @unmarshal()
Internal method
Usage
LFP_electrode$@unmarshal(object)
Arguments
object, ...
internal arguments
print electrode summary
Usage
LFP_electrode$print()
Method set_reference()
set reference for current electrode
Usage
LFP_electrode$set_reference(reference)
Arguments
reference
either NULL or LFP_electrode instance
Method new()
constructor
Usage
LFP_electrode$new(subject, number, quiet = FALSE)
Arguments
subject, number, quiet
see constructor in
RAVEAbstarctElectrode
Method .load_noref_wavelet()
load non-referenced wavelet coefficients (internally used)
Usage
LFP_electrode$.load_noref_wavelet(reload = FALSE)
Arguments
reload
whether to reload cache
Method .load_noref_voltage()
load non-referenced voltage (internally used)
Usage
LFP_electrode$.load_noref_voltage(reload = FALSE)
Arguments
reload
whether to reload cache
srate
voltage signal sample rate
Method .load_wavelet()
load referenced wavelet coefficients (internally used)
Usage
LFP_electrode$.load_wavelet(
type = c("power", "phase", "wavelet-coefficient"),
reload = FALSE
)
Arguments
type
type of data to load
reload
whether to reload cache
Method .load_voltage()
load referenced voltage (internally used)
Usage
LFP_electrode$.load_voltage(reload = FALSE)
Arguments
reload
whether to reload cache
Method .load_raw_voltage()
load raw voltage (no process)
Usage
LFP_electrode$.load_raw_voltage(reload = FALSE)
Arguments
reload
whether to reload cache
Method load_data_with_epochs()
method to load electrode data
Usage
LFP_electrode$load_data_with_epochs(
type = c("power", "phase", "voltage", "wavelet-coefficient", "raw-voltage")
)
Arguments
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).
Method load_dimnames_with_epochs()
get expected dimension names
Usage
LFP_electrode$load_dimnames_with_epochs(
type = c("power", "phase", "voltage", "wavelet-coefficient", "raw-voltage")
)
Arguments
type
see load_data_with_epochs
Method load_data_with_blocks()
load electrode block-wise data (with no reference),
useful when epoch is absent
Usage
LFP_electrode$load_data_with_blocks(
blocks,
type = c("power", "phase", "voltage", "wavelet-coefficient", "raw-voltage"),
simplify = TRUE
)
Arguments
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
Method load_dim_with_blocks()
get expected dimension information for block-based loader
Usage
LFP_electrode$load_dim_with_blocks(
blocks,
type = c("power", "phase", "voltage", "wavelet-coefficient", "raw-voltage")
)
Arguments
blocks, type
see load_data_with_blocks
Method clear_cache()
method to clear cache on hard drive
Usage
LFP_electrode$clear_cache(...)
Method clear_memory()
method to clear memory
Usage
LFP_electrode$clear_memory(...)
Method clone()
The objects of this class are cloneable with this method.
Usage
LFP_electrode$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.