[Kst] [Bug 87127] New: jagged lines from fits to realtime data

netterfield at astro.utoronto.ca netterfield at astro.utoronto.ca
Fri Aug 13 16:21:10 CEST 2004

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: jagged lines from fits to realtime data
           Product: kst
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: netterfield astro utoronto ca

Version:           0.99-devel (using KDE 3.2 BRANCH >= 20040204, Mandrake Linux Cooker i586 - Cooker)
Compiler:          gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
OS:                Linux (i686) release 2.6.3-7mdk

How to reproduce:
run kst/tests/dirfile_maker/dirfile_maker
In a different konsole:
[.../dirfile_maker]> kst -y cos -y ssine -n 30 dm.cur -m 1
fit a 5th order polynomial to both.
The fit to 'ssine' (which has 1 sample per frame is a nice smooth curve.)
The fit to cos, (which has 20 samples per frame) is jagged (the jaggedness is variable) but the fit to ssine is smooth.

If you change nframes for everything with <Change Data Sample Ranges> to 200, the fit to cos looks smooth, but the fit to ssine shows signs of jagedness.

W/ 300 frames, both look good.

If you, from the command line select a fixed (rather than real time) range then the fits always look smooth, apparently independent of starting frame.
(ie, [.../dirfile_maker]> kst -y cos -y ssine -n 30 dm.cur -m 1 -f 1000)

More information about the Kst mailing list