Description Super class Public fields Active bindings Methods
Defines class of electrodes that record continuous signals. These signals have meaningful power density and will be transformed for time-frequency analysis. Unlike spike signals (discrete), continuous signals usually represent signals fired from a group of neurons.
ravebase::RAVEAbstarctElectrode
-> Continuous_Electrode
type
type of signals collected by electrode
exists
whether electrode exists in subject
h5_fname
'HDF5' file name
fst_fname
'FST' file name
reference_equals_cached
whether referenced data has been cached in 'RAVE' folder
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
power_sample_rate
power/phase sample rate
preprocess_info
preprocess information
set_reference()
set reference for current electrode
Continuous_Electrode$set_reference(reference)
reference
either NULL
or Continuous_Electrode
instance
new()
constructor
Continuous_Electrode$new(subject, number, is_reference = FALSE)
subject, number, is_reference
see constructor in
RAVEAbstarctElectrode
load_unreferenced_voltage()
load voltage data that is before referenced
Continuous_Electrode$load_unreferenced_voltage(block, persist = FALSE)
block
experiment block
persist
whether to persist in the instance, default is false, however, if this function will be called multiple times, set it to true.
voltage data before reference
load_unreferenced_power()
load power data that is before referenced
Continuous_Electrode$load_unreferenced_power(block, persist = FALSE)
block
experiment block
persist
whether to persist in the instance, default is false, however, if this function will be called multiple times, set it to true.
power data before reference
load_unreferenced_phase()
load phase data that is before referenced
Continuous_Electrode$load_unreferenced_phase(block, persist = FALSE)
block
experiment block
persist
whether to persist in the instance, default is false, however, if this function will be called multiple times, set it to true.
phase data before reference
reference_power()
reference power for given block
Continuous_Electrode$reference_power(block)
block
character, experiment block
referenced power
reference_phase()
reference phase for given block
Continuous_Electrode$reference_phase(block)
block
character, experiment block
referenced phase
reference_voltage()
reference voltage for given block
Continuous_Electrode$reference_voltage(block)
block
character, experiment block
referenced voltage
is_cached()
check whether power is cached in run-time set-ups
Continuous_Electrode$is_cached( before_onset, after_onset, dtype = c("power", "phase", "voltage") )
before_onset
seconds before trial onset
after_onset
seconds after trial onset
dtype
data type, choices are 'power', 'phase', and 'voltage'
logical whether power has been cached in a lazyarray
.dimension()
internally used to determine data dimension and names
Continuous_Electrode$.dimension( before_onset, after_onset, dtype = c("power", "phase", "voltage") )
before_onset
seconds before trial onset
after_onset
seconds after trial onset
dtype
data type, choices are 'power', 'phase', and 'voltge'
epoch_power()
perform epoch on power with epoch and reference
Continuous_Electrode$epoch_power(before_onset, after_onset)
before_onset
seconds before trial onset
after_onset
seconds after trial onset
An lazyarray
object that can be subset like normal arrays
epoch_phase()
perform epoch on phase with epoch and reference
Continuous_Electrode$epoch_phase(before_onset, after_onset)
before_onset
seconds before trial onset
after_onset
seconds after trial onset
An lazyarray
object that can be subset like normal arrays
epoch_voltage()
perform epoch on phase with epoch and reference
Continuous_Electrode$epoch_voltage(before_onset, after_onset)
before_onset
seconds before trial onset
after_onset
seconds after trial onset
An lazyarray
object that can be subset like normal arrays
clear_cache()
method to clear cache on hard drive
Continuous_Electrode$clear_cache(...)
...
ignored
clear_memory()
method to clear memory
Continuous_Electrode$clear_memory(...)
...
ignored
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.