[Kst] Matrixes and datasources

Rick Chern rchern at interchange.ubc.ca
Mon Aug 8 21:17:52 CEST 2005


On Mon, 2005-08-08 at 12:14 -0700, Rick Chern wrote:
> On Mon, 2005-08-08 at 20:37 +0200, Barth Netterfield wrote:
> > I am trying to understand how we are supposed to read matrixes through data 
> > sources.... and I see that the ascii data source appears to support it.   Who 
> > wrote this, and is there an example data file with a matrix in it?
> 
> The ascii data source implementation for reading matrices was mostly for
> testing purposes only, but it does demonstrate the matrix reading
> interface of KstDataSource.  There is a sample data file
> tests/asciimatrix.txt

I forgot to say - in the test implementation of asciisource, to read the
test file properly, the following should be specified in the datasource
config:
- data starts at line: 1
- read field names from line: 0



More information about the Kst mailing list