NeuroKit icon indicating copy to clipboard operation
NeuroKit copied to clipboard

sparsEDA integration

Open stasinos opened this issue 4 months ago • 2 comments

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,

stasinos avatar Feb 17 '24 07:02 stasinos