[Kst] [Bug 80519] New: statistics scalar mean is incorrect

Matthew Truch matt at truch.net
Tue Apr 27 23:11:56 CEST 2004

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: statistics scalar mean is incorrect
           Product: kst
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: matt truch net

Version:           0.98-devel (kst_oldview_branch) (using KDE Devel)
Installed from:    Compiled sources

Using KDE 3.1.0 with Qt 3.1.1, kst from CVS (kst_oldview_branch)

There is an error in the statistics code.  When looking at noisy, but otherwise flat data, the mean is clearly incorrect (it's larger than the max!).  

How to reproduce: Plot some data.  Look at the scalar statistical values (ie [V1-INDEX-Mean]).  The mean is incorrect (outside the min and max).  Some of the other values look suspect as well (Rms?, square?).  

Expected behavior: The statistics scalars display correct values.

More information about the Kst mailing list