BlackrockFile | R Documentation |
Currently only supports minimum file specification version
2.3
. Please contact the package maintainer or 'RAVE' team
if older specifications are needed
absolute file path
absolute file paths
nothing
a data frame
a list of spike 'waveform' (without normalization)
a normalized numeric vector (analog signals with 'uV'
as the unit)
block
character, session block ID
base_path
absolute base path to the file
version
'NEV' specification version
electrode_table
electrode table
sample_rate_nev_timestamp
sample rate of 'NEV' data packet time-stamps
has_nsx
named vector of 'NSx' availability
recording_duration
recording duration of each 'NSx'
sample_rates
sampling frequencies of each 'NSx' file
print()
print user-friendly messages
BlackrockFile$print()
new()
constructor
BlackrockFile$new(path, block, nev_data = TRUE)
path
the path to 'BlackRock' file, can be with or without file extensions
block
session block ID; default is the file name
nev_data
whether to load comments and 'waveforms'
nev_path()
get 'NEV' file path
BlackrockFile$nev_path()
nsx_paths()
get 'NSx' file paths
BlackrockFile$nsx_paths(which = NULL)
which
which signal file to get, or NULL
to return all
available paths, default is NULL
; must be integers
refresh_data()
refresh and load 'NSx' data
BlackrockFile$refresh_data(force = FALSE, verbose = TRUE, nev_data = FALSE)
force
whether to force reload data even if the data has been loaded and cached before
verbose
whether to print out messages when loading
nev_data
whether to refresh 'NEV' extended data; default is false
get_epoch()
get epoch table from the 'NEV' comment data packet
BlackrockFile$get_epoch()
get_waveform()
get 'waveform' of the spike data
BlackrockFile$get_waveform()
get_electrode()
get electrode data
BlackrockFile$get_electrode(electrode, nstype = NULL)
electrode
integer, must be a length of one
nstype
which signal bank, for example, 'ns3'
, 'ns5'
clone()
The objects of this class are cloneable with this method.
BlackrockFile$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.