GNOME Bugzilla – Bug 705212
autosmooth on double phase (eg: ec)
Last modified: 2015-06-16 12:12:54 UTC
smooth on e or c produces different values of speed, accel, power than smooth on ec. Give a different value from the use is not enough. Problem is that user see different values on curves (after capture) than on single analysis. Best is to have an smooth for single phase on preferences. And iterate to find the desirable on double phase. #process e speed <- smooth.spline( 1:length(e), e, spar=smoothingSinglePhase) maxSpeedE=max(speed$y) #process c speed <- smooth.spline( 1:length(c), c, spar=smoothingSinglePhase) maxSpeedC=max(speed$y) maxSpeedSeparated=max(c(maxSpeedE,maxSpeedE)) #process ec smoothingDoublePhase = smoothingSinglePhase for(i in seq(smoothingSinglePhase,0,by=-.1)) { speed <- smooth.spline( 1:length(ec), ec, spar=i) smoothingDoublePhase = i maxSpeedTogether=max(speed$y) if(maxSpeedTogether >= maxSpeedSeparated) break } #use smoothingDoublePĥase
Pending on: pyserial_pyper.py pyserial_pyper_windows.py