Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for array of arrays? #40

Closed
maharjun opened this issue Mar 28, 2017 · 4 comments
Closed

Add support for array of arrays? #40

maharjun opened this issue Mar 28, 2017 · 4 comments

Comments

@maharjun
Copy link
Contributor

maharjun commented Mar 28, 2017

The array of array data format is a very commonly used format especially in the context of spiking neural networks (for example while storing spike data). HDF5 (or at-least h5py) seems to have a procedure for storing data of this type. See here.

Note that I'm specifically referring to arrays of arrays containing a single data type. (That single data type may itself be an array thereby allowing recursive array-of-array data).

However, the last I checked, there was no support in Pypet to store data of this format, which is rather unfortunate as now the only option is to pickle the object thereby making it impossible to read in a HDF5 viewer.

In short It would be simply awesome if this data-type was supported.

@SmokinCaterpillar
Copy link
Owner

SmokinCaterpillar commented Mar 29, 2017

Hey maharjun, thanks for your remark. Do you have any idea if the arrays of arrays are supported by PyTables?

@maharjun
Copy link
Contributor Author

The last I checked there was support for it in the form of VLArrays. See below for the link to the documentation.

http://www.pytables.org/usersguide/libref/homogenous_storage.html#the-vlarray-class

@SmokinCaterpillar
Copy link
Owner

Thanks, this could work. Unfortunately, I am quite busy until mid of May, but then I'll take a look at it :-)

@SmokinCaterpillar
Copy link
Owner

no support for vlarray yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants