|
From: Francesc A. <fa...@op...> - 2003-04-14 11:56:32
|
A Dilluns 14 Abril 2003 13:28, Edward Hartley va escriure:
> I have found another way to get around the issue by specifying the
> shape in one field
> class my_array(IsDescription):
> =09array_ shape =3D Col('UInt8', shape)
> =09ravelled_array=3DCol('UInt8' , data)
> it occurs to me that with suitable accessor methods this would solve it
> completely?
Right. I've already thought implementing something similar to emulate
transparently more than one-dimensional arrays as Table columns. However,
for a series of reasons, I prefer to wait until recarray objects support
that natively.
Meanwhile, you can effectively deal with multimensional arrays in your
suggested way.
> many thanks once again
You are welcome!
BTW, I'm curious about the kind of applications that PyTables is being us=
ed.
May I ask which is yours?
--=20
Francesc Alted
|