Convert 'BlackRock' 'NEV/NSx' files
convert_blackrock(
file,
block = NULL,
subject = NULL,
to = NULL,
epoch = c("comment", "digital_inputs", "recording", "configuration", "log",
"button_trigger", "tracking", "video_sync"),
format = c("mat", "hdf5"),
header_only = FALSE,
...
)
The results will be stored in directory specified by to
.
Please read the output message carefully.
path to any 'NEV/NSx' file
the block name, default is file name
subject code to save the files; default is NULL
save to path, must be a directory; default is under the file path.
If subject
is provided, then the default is subject
raw
directory path
what type of events should be included in epoch file; default include comment, digital inputs, recording trigger, configuration change, log comment, button trigger, tracking, and video trigger.
output format, choices are 'mat'
or 'hdf5'
whether just to generate channel and epoch table; default is false
ignored for enhanced backward compatibility