'RAVE' class for blocks of voltage repository
Source:R/class112-recording_blocks_rawvoltage.R
RAVESubjectRecordingBlockRawVoltageRepository.RdCompared to RAVESubjectBaseRepository, this repository
loads the entire voltage traces for selected blocks; use
prepare_subject_raw_voltage_with_blocks to instantiate this
repository.
Super classes
ravepipeline::RAVESerializable -> ravecore::RAVESubjectRepository -> ravecore::RAVESubjectRecordingBlockRepository -> RAVESubjectRecordingBlockRawVoltageRepository
Active bindings
reference_namename of reference table; always
'noref'reference_tablereference table; a reference table with
'noref'on all channelsreferences_lista vector of reference channel names; always
'noref'reference_instancesinstances of reference channels, empty in this type of repositories
sample_ratesa named list of sampling frequencies; the names are signal types (
'LFP','Auxiliary', or'Spike') and the values are the sampling frequenciesraw_voltagedata container, alias of
get_container
Methods
Method new()
constructor
Usage
RAVESubjectRecordingBlockRawVoltageRepository$new(
subject,
electrodes = NULL,
reference_name = "noref",
blocks = NULL,
downsample = NA,
...,
quiet = TRUE,
repository_id = NULL,
strict = TRUE,
lazy_load = FALSE,
.class = NULL
)Arguments
subject'RAVE' subject
electrodesstring or integers indicating electrodes to load
reference_namealways
'noref'(no reference); trying to set to other values will result in a warningblocksname of the recording blocks to load
downsampledown-sample rate by this integer number to save space and speed up computation; typically 'ERP' signals do not need super high sampling frequencies to load; default is
NAand no down-sample is performed....passed to
RAVESubjectBaseRepositoryconstructorquietsee field
quietrepository_idsee field
repository_idstrictwhether the mode should be strict; default is true and errors out when subject is missing
lazy_loadwhether to delay (lazy) the evaluation
mount_data.classinternally used, do not set, even if you know what this is
Method mount_data()
function to mount data