Hi, I use HDF5 to store complex numbers and I see two ways of defining a complex number (since I believe there is no official manner):
1. A compound datatype : one real for the real part and one real for the imaginery part 2. A 2 element array datatype : two reals in an array A, A(0) is the real part and A(1) is the imaginary part. Pytables read directly the compound datatype as a complex number but read "logically" the array datatype as an array. Is it possible pytables read directly an array datatype as a complex number without any conversion ? Why this question ? It is very simpler to manipulate an array datatype from C, fortran ... than a compound datatype and the new lite API allows easily the creation of such a structure. Thanks a lot, Cyril. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users