[Kst] branches/work/kst/portto4/kst/src

Barth Netterfield netterfield at astro.utoronto.ca
Thu Sep 6 21:44:18 UTC 2012


SVN commit 1315204 by netterfield:

The "easy part" of doing index lookup with fields other than frame
number.

What it does:
-In the data wizard, the vector dialog, or the change data range dialog,
allow the user to specify the data range using a field rather than
frames.
-The field is assumed to be monotonic, and constant data rate.
-The data rate is calculated from the field.
-(short) Data spikes are happily ignored, so this can be used with real
telemetered data as long as it isn't too too bad.

Shortcomings/TODO
-The list of fields is limited to TIME, Time, time, TEMPS, or Temps (if
the data source provides them).  No checking is done to verify that the
fields are actually monotonic - only that they exist.
-There is no UI for adding or removing fields from the list.
-It doesn't work from the command line.
-The tool tip has been, and continues to be, wrong.
-Your choice of field you used to do the indexing is not stored in the
kst file.
-Changing your choice of index field doesn't re-calculate the numbers in
the dialog boxes (though maybe it should).

So - lots more work is needed!


 M  +130 -0    libkst/datasource.cpp  
 M  +14 -1     libkst/datasource.h  
 M  +9 -7      libkst/datavector.cpp  
 M  +14 -6     libkst/datavector.h  
 M  +94 -2     libkstapp/changedatasampledialog.cpp  
 M  +2 -0      libkstapp/changedatasampledialog.h  
 M  +36 -0     libkstapp/datawizard.cpp  
 M  +1 -0      libkstapp/datawizard.h  
 M  +62 -4     libkstapp/vectordialog.cpp  
 M  +3 -0      libkstapp/vectordialog.h  
 M  +44 -5     widgets/datarange.cpp  
 M  +11 -3     widgets/datarange.h  
 M  +0 -10     widgets/datarange.ui  


http://websvn.kde.org/?view=rev&revision=1315204


More information about the Kst mailing list