NeuroKit
NeuroKit copied to clipboard
sparsEDA integration
The sparsEDA algorithm detects the tonic component in EDA and returns: a driver
, SCL
(tonic component), and MSE
(residual). This is incompable with eda_phasic()
which expects a (tonic,phasic)
pair, see also Issue https://github.com/neuropsychology/NeuroKit/issues/964 .
This PR resolves Issue https://github.com/neuropsychology/NeuroKit/issues/964 by making _eda_phasic_sparsEDA()
return a (tonic,phasic)
pair where tonic
is SCL
and phasic
is the difference between the original signal and the tonic component detected by sparsEDA,