Hi Jason,
You can try nesting variable length arrays inside of your table (
http://www.pytables.org/docs/manual/ch04.html#VLArrayClassDescr). You might
need to refer to nested tables to get an idea of how to do this (
http://www.pytables.org/docs/manual/ch03.html#id332794). On the HDF5 level,
tables are just a convenient wrapper around variable length arrays of
structs. Since you can nest tables, you should be able to nest VLArrays
inside of tables.
Let us know if you run into specific problems.
Be Well
Anthony
On Wed, Jun 22, 2011 at 4:46 PM, Jason Moore <moorepa...@gmail.com> wrote:
> Hi,
>
> I've been attempting to use pyTables to store data from a
> data acquisition system that I'm using for my experimental work. I currently
> make use of several pytables tables to store the data and really like the
> querying ability that the table object provides. But I have an issue with
> storing arrays in a table column. For each experiment that I do, I record
> data for a different amount of time and potentially a different sampling
> rate. I'd like the rows of the table to correspond with each experiment and
> the columns with the various data signals that I collect. But it seems that
> a pytables table object requires every array in a column to be of the same
> shape. Right now I choose an arbitrarily large shape in my table definition
> and I'm awkwardly padding the data signals before I store them in the table.
> Are there other ways to do this?
>
> Jason
>
> --
> http://mae.ucdavis.edu/~biosport/jkm/
> Sports Biomechanics Lab <http://biosport.ucdavis.edu>, UC Davis
> Davis Bike Collective <http://www.davisbikecollective.org> Minister,
> Davis, CA
> BikeDavis.info
> Office: +01 530-752-2163
> Lab: +01 530-752-2235
> Home: +01 530-753-0794
>
>
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> _______________________________________________
> Pytables-users mailing list
> Pytables-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pytables-users
>
>
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users