Re: [Pytables-users] Follow-up on nested structures

2006-08-22 Thread Jan Strube
Hi Francesc, Francesc Altet wrote: > A Dimarts 22 Agost 2006 08:10, Jan Strube va escriure: > >> Oh, and yet another question: >> In my structure, I have scalar and vectorial quantities. How can I >> determine which is which on an unfilled table ? >> I am trying row.getTable().col(column_name).

Re: [Pytables-users] Follow-up on nested structures

2006-08-22 Thread Francesc Altet
Hi Jan, A Dimarts 22 Agost 2006 04:03, Jan Strube va escriure: > Now: > Please have a look at the attached file. running tableBug.py causes the > following error on my machine: > Traceback (most recent call last): [snip...] > Now the behavior of this is very strange: > a) removing the pos= stateme

Re: [Pytables-users] Follow-up on nested structures

2006-08-22 Thread Francesc Altet
A Dimarts 22 Agost 2006 08:10, Jan Strube va escriure: > Oh, and yet another question: > In my structure, I have scalar and vectorial quantities. How can I > determine which is which on an unfilled table ? > I am trying row.getTable().col(column_name).ndim, but that seems only to Please, don't use

Re: [Pytables-users] Follow-up on nested structures

2006-08-21 Thread Jan Strube
Oh, and yet another question: In my structure, I have scalar and vectorial quantities. How can I determine which is which on an unfilled table ? I am trying row.getTable().col(column_name).ndim, but that seems only to work on filled tables. In my case it simply returns 1 for all columns. Is there

Re: [Pytables-users] Follow-up on nested structures

2006-08-21 Thread Jan Strube
Hi Francesc, thanks a lot for your help with this. I decided to go with the following approach: Every Particle really only ever has 3 daughters, each of which looks different from the parent. So the best structure to use is a nested tuple: Now: Please have a look at the attached file. running t

Re: [Pytables-users] Follow-up on nested structures

2006-08-11 Thread Francesc Altet
Hello Jan, A Divendres 11 Agost 2006 04:22, Jan Strube va escriure: > I would like to follow up on the message that was posted last month here > http://sourceforge.net/mailarchive/forum.php?thread_id=19437345&forum_id=13 >760 > > My problem is a bit differently from the one presented there: > > I

[Pytables-users] Follow-up on nested structures

2006-08-10 Thread Jan Strube
Hello ! I would like to follow up on the message that was posted last month here http://sourceforge.net/mailarchive/forum.php?thread_id=19437345&forum_id=13760 My problem is a bit differently from the one presented there: I have data in the following structure, representing a reconstructed parti