After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 705212 - autosmooth on double phase (eg: ec)
autosmooth on double phase (eg: ec)
Status: RESOLVED FIXED
Product: chronojump
Classification: Other
Component: chronojump
1.3.x
Other All
: Normal enhancement
: ---
Assigned To: Xavier de Blas
Xavier de Blas
Depends on:
Blocks:
 
 
Reported: 2013-07-31 16:51 UTC by Xavier de Blas
Modified: 2015-06-16 12:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Xavier de Blas 2013-07-31 16:51:05 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
Comment 1 Xavier de Blas 2013-08-02 12:28:48 UTC
Pending on:

pyserial_pyper.py
pyserial_pyper_windows.py