Re: [Pytables-users] Table structure

2011-11-11 Thread Thibault North
On Fri, Nov 11, 2011 at 4:25 AM, Francesc Alted wrote: > 2011/11/10 Thibault North : > [clip] >> Thanks for your detailled reply. >> >> I am now using a EArray, as you suggested, with: >> myearray = h5file.createEArray(h5file.root,  'steps', atom >> , (L, K, 0), "desc") >> (Number of iteration N i

Re: [Pytables-users] Table structure

2011-11-11 Thread Francesc Alted
2011/11/10 Thibault North : [clip] > Thanks for your detailled reply. > > I am now using a EArray, as you suggested, with: > myearray = h5file.createEArray(h5file.root,  'steps', atom > , (L, K, 0), "desc") > (Number of iteration N is unknown but usually small, L and K are known) > > If I understan

Re: [Pytables-users] Table structure

2011-11-09 Thread Thibault North
On November 9, 2011 02:04:45 AM Francesc Alted wrote: > 2011/11/8 Thibault North : >> [...] > > For things like that, it is always recommended to get your big > matrices out of Table objects. In your case, you may want to put > `steps` (and probably `output` too) in external EArray objects. For

Re: [Pytables-users] Table structure

2011-11-08 Thread Francesc Alted
2011/11/8 Thibault North : > Hello, > > I just discovered PyTables and am trying to find a good table structure to > describe my data. > > A table is defined as: > mytable = h5file.createTable(group, 'outputs', Foobar, "Foobar description") > > with a class Foobar: > > class Foobar(tables.IsDescrip

[Pytables-users] Table structure

2011-11-08 Thread Thibault North
Hello, I just discovered PyTables and am trying to find a good table structure to describe my data. A table is defined as: mytable = h5file.createTable(group, 'outputs', Foobar, "Foobar description") with a class Foobar: class Foobar(tables.IsDescription): iteration = tables.Int32Col() out