[Ifeffit] data table for larch data group

2017-12-22 Thread Bruce Ravel
Matt, If I read an ascii file with read_ascii() like so: a = read_ascii(file) The "a" group has a data attribute which contains the entire data table as a 2D array. It also has 1D arrays for each column from the data table. Those 1D arrays have attribute names taken from the column label

Re: [Ifeffit] data table for larch data group

2017-12-22 Thread Matthew Newville
Hi Bruce, At the moment, No. But that should be easy and a very good idea to separate reading headers plus the data table from naming of the 1d arrays... Like, I often run into cases where I want to rename arrays after reading the file. I'll work on that. I'd also like to be able to sensibly h

Re: [Ifeffit] data table for larch data group

2017-12-22 Thread Bruce Ravel
On 12/22/2017 04:53 PM, Matthew Newville wrote: > > At the moment, No. But that should be easy and a very good idea to separate reading headers plus the data table from naming of the 1d arrays... Like, I often run into cases where I want to rename arrays after reading the file. I'll work on