The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
ephys
dataieegio
supports reading from multiple data formats, such
as EDF(+)/BDF(+)
, BrainVision
,
BCI2000
, BlackRock NEV/NSx
. Most of these
readers have similar interface.
To start, please load ieegio
. This vignette uses sample
data. Please feel free to replace the sample path with your own data
path.
Here is a basic example that reads in the sample EDF
data and creates a FileCache
object that stores the signals
channel-by-channel for fast access:
You can check header, channel table, and annotations via the following methods:
header <- edf$get_header()
str(header)
chan_tbl <- edf$get_channel_table()
print(chan_tbl, nrows = 2, topn = 2)
annot <- edf$get_annotations()
annot
You can also query a channel by calling the get_channel
method.
The channel
contains the following elements:
type
: a character indicating the original file
type;info
: list of basic information such as
Channel
number, Label
, acquisition
SampleRate
, and Unit
of the signals;continuous
: a logical value whether the time frames are
continuous;time
: a numeric vector of time in seconds for each
point;value
: a numeric vector of the signal value, often
converted from digital to analog trace.Using such information, it is straightforward to plot the channel data:
plot(
x = channel$time, y = channel$value,
xlab = "Time", ylab = channel$info$Unit,
main = channel$info$Label,
type = "p", pch = ".", col = "green", lwd = 2
)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.