fvec_adapt_thres method
apply adaptive threshold to a vector
For each points at position p of an input vector, this function remove the moving median threshold computed at p.
\param v input vector \param tmp temporary vector of length post+1+pre \param post length of causal part to take before pos \param pre length of anti-causal part to take after pos
Implementation
void fvec_adapt_thres(
ffi.Pointer<fvec_t> v,
ffi.Pointer<fvec_t> tmp,
int post,
int pre,
) {
return _fvec_adapt_thres(
v,
tmp,
post,
pre,
);
}