Skip to contents

The repository inherits link{RAVESubjectEpochRepository}, with epoch trials, and is intended for loading raw (without any processing or reference) voltage signals. Use prepare_subject_raw_voltage_with_epochs to create an instance.

Super classes

ravepipeline::RAVESerializable -> ravecore::RAVESubjectRepository -> ravecore::RAVESubjectEpochRepository -> RAVESubjectEpochRawVoltageRepository

Active bindings

digest_key

a list of repository data used to generate repository signature

raw_voltage

a named map of raw voltage data, mounted by mount_data, alias of get_container

reference_table

reference table, all channels will be marked as no reference

Methods

Inherited methods


Method @marshal()

Internal method

Usage

RAVESubjectEpochRawVoltageRepository$@marshal(...)

Arguments

...

internal arguments


Method @unmarshal()

Internal method

Usage

RAVESubjectEpochRawVoltageRepository$@unmarshal(object, ...)

Arguments

object, ...

internal arguments


Method new()

constructor

Usage

RAVESubjectEpochRawVoltageRepository$new(
  subject,
  electrodes = NULL,
  epoch_name = NULL,
  time_windows = NULL,
  stitch_events = NULL,
  ...,
  quiet = FALSE,
  repository_id = NULL,
  strict = TRUE,
  lazy_load = FALSE,
  reference_name = "noref",
  .class = NULL
)

Arguments

subject

'RAVE' subject

electrodes

string or integers indicating electrodes to load

epoch_name

name of the epoch trial table

time_windows

numeric vector with even lengths, the time start and end of the trials, for example, c(-1, 2) means load 1 second before the trial onset and 2 seconds after trial onset

stitch_events

events where the time_windows is based; default is trial onset (NULL)

...

passed to RAVESubjectEpochRepository constructor

quiet

see field quiet

repository_id

see field repository_id

strict

whether the mode should be strict; default is true and errors out when subject is missing

lazy_load

whether to delay calling mount_data; default is false

reference_name

ignored, always 'noref' for raw voltage data

.class

internally used, do not set, even if you know what this is


Method mount_data()

function to mount raw voltage signals

Usage

RAVESubjectEpochRawVoltageRepository$mount_data(
  ...,
  force = TRUE,
  electrodes = NULL
)

Arguments

...

reserved

force

force update data; default is true

electrodes

electrodes to update for expert-use use; default is NULL (all electrode channels will be mounted)


Method clone()

The objects of this class are cloneable with this method.

Usage

RAVESubjectEpochRawVoltageRepository$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.