| 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)
blockcharacter, session block ID
base_pathabsolute base path to the file
version'NEV' specification version
electrode_tableelectrode table
sample_rate_nev_timestampsample rate of 'NEV' data packet time-stamps
has_nsxnamed vector of 'NSx' availability
recording_durationrecording duration of each 'NSx'
sample_ratessampling frequencies of each 'NSx' file
print()print user-friendly messages
BlackrockFile$print()
new()constructor
BlackrockFile$new(path, block, nev_data = TRUE)
paththe path to 'BlackRock' file, can be with or without file extensions
blocksession block ID; default is the file name
nev_datawhether 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)
whichwhich 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)
forcewhether to force reload data even if the data has been loaded and cached before
verbosewhether to print out messages when loading
nev_datawhether 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)
electrodeinteger, must be a length of one
nstypewhich signal bank, for example, 'ns3', 'ns5'
clone()The objects of this class are cloneable with this method.
BlackrockFile$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.