[Kst] [Bug 90441] New: getdata LINCOM doesn't use correct rescaling constants

D.V.Wiebe dwiebe at physics.utoronto.ca
Wed Sep 29 06:37:59 CEST 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=90441        
           Summary: getdata LINCOM doesn't use correct rescaling constants
           Product: kst
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: dwiebe physics utoronto ca


Version:           1.0.0_devel (using KDE KDE 3.2.3)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk) 
OS:                Linux

Given a dirfile with raw fields data1, data2 and data3, if I want to create a derived field given by

derived = data1 * [m1] + [b1]  +  data2 * [m2] + [b2] +  data3 * [m3] + [b3]

I have to create a format file entry:

derived      LINCOM  3  data1   [m1]/2  [b1]/2  data2  [m2]  [b2]  data3  [m3]  [b3]

whereas I would have expected to have to do something like:

derived      LINCOM  3  data1   [m1]    [b1]    data2  [m2]  [b2]  data3  [m3]  [b3]

For a two field lincom, I need to use:

derived      LINCOM  2  data1   [m1]/2  [b1]/2  data2  [m2]  [b2]

Fortunately, if I'm only using one field, I can get away with:

derived      LINCOM  1  data1   [m1]   [b1]

-dvw



More information about the Kst mailing list