pwelch
pwelch
sampling frequency to be greater than
the signal lengthpwelch
plot to
properly handle graph text, margin, axisplot_signals
to plot multiple functional data
within the same canvasC++
code to inst/includes
so other
users can dynamically link to the functions
(https://github.com/dipterix/ravetools/issues/5)fftw
related codefftw
plans to respect the flagsC++
to convert raw binary bytes to
uint
, int
, float
, and
string
Parallel processes might use different temporary directory paths. To improve the performance, it is recommended to set a shared temporary directory, hence this version
RAVETOOLS_TEMPDIR
or option
ravetools.tempdir
.This version fixes a memory issue reported by CRAN
check
(gcc-UBSAN
).
NA_INTEGER
is subtracted by one before being converted to R_xlen_t
type. This update fixes this issueRcppParallel
and copied part of it into
inst/include
folder, with TBB
removed under
the GPL-3
license framework.This is an initial version of ravetools
. Although a bare
minimal set of signal processing functions are provided, it is
sufficient to perform preprocess pipelines on most iEEG
signals. Some functions are added from the dipsaus
package,
with considerable performance improvement. The C++
functions have been tested on all major platforms, with different
architectures (ARM
, i386
,
x64
).
README
file to demonstrate basic usageNEWS.md
file to track changes to the
package.decimate
with FIR
filters
creating the same results as in Matlab
detrend
function todiagnose_channel
to visually inspect channel
signalsmorlet_wavelet
to enable fast and memory
efficient wavelet decomposition; the result agrees with existing
Matlab
code with floating errors (10^-7
)multitaper
pwelch
(Welch
periodogram)notch_filter
to remove line noiseThe following functions are implemented in C++
parallel.
They tend to be faster than normal base-R implementations, depending on
the number of CPU
cores used.
collapse
to collapse arraysshift_array
to shift array along certain
indicesfast_cov
to calculate pearson
covariance matrix in parallelbaseline_array
to calculate baseline arrays with
multiple margins