[PyQt] Custom Model for HDF5 QTreeView?

B Clowers clowersb at yahoo.com
Mon Apr 21 22:17:45 BST 2008

I have quite a few numpy arrays stored in HDF5 file format and would like develop a simple application in which I can plot them interactively.  As you can imagine this is not too hard using a combination of pytables and matplotlib, however, a gui to accomplish this task is proving to be harder than I expected.  Before I go down the path of developing a new model for displaying HDF5 files in a treeview I was wondering if someone had already arrived at a solution and would be willing to share?

I decided on this path as ViTables does not currently have the capacity to graph the contents of a HDF5 file (hopefully this will come along soon).  In the mean time I've been trying to get a handle on how to construct a model to accomplish this task.  I've looked at the example that comes with PyQt4 and those that are described in "Rapid GUI Programing with Python and Qt," but remain confused as these example seem to deal with data structures that are well defined (i.e. they have a fixed number of nodes and leaves).  In the case of HDF5 there can be a whole lot of nodes, subnodes, and leaves.  Any thoughts or similar examples would be greatly appreciated.



Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080421/22eb78b3/attachment-0001.html

More information about the PyQt mailing list