first commit
[ascii-data.git] / README
blobe22930f0a8fb64364b2632c6b93f5175d151d517
1 This package provides functions for reading numerical data from ASCII
2 text files into arrays, and writing numerical data into arrays (up to
3 rank 2) into ASCII text files.
5 If you compare this to numpy's loadtxt, keep in mind that loadtxt will
6 return data consisting of a single row or single column as an array of
7 rank 1, while it will return multi-row, multi-column data as an array
8 of rank 2. Read-ascii-array will will always return an array of rank
9 2. This seems to make most sense to me from a programming and ASCII
10 layout point of view.
12 For behaviour similar to numpy's loadtxt, use
13 read-ascii-vector-or-array, which will reduce the rank for you when
14 possible.
16 Note that this package relies on parse-float, which you can find on
17 github:
18 git clone git://github.com/soemraws/parse-float.git