[Bug 705212] New: autosmooth on double phase (eg: ec)



https://bugzilla.gnome.org/show_bug.cgi?id=705212
  chronojump | chronojump | 1.3.x

           Summary: autosmooth on double phase (eg: ec)
    Classification: Other
           Product: chronojump
           Version: 1.3.x
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: chronojump
        AssignedTo: xaviblas cvs gnome org
        ReportedBy: xaviblas cvs gnome org
         QAContact: xaviblas cvs gnome org
     GNOME version: ---


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

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact of the bug.
You are watching the assignee of the bug.
You are watching the reporter.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]