Skip to main content

hdf5view is a python based HDF5 file viewer built on PyQt5/PySide2/PyQt6/PySide6, QtPy, h5py and pyqtgraph.

Project description

PyPI Version Supported Python Versions

hdf5view

Simple Qt/Python based viewer for HDF5 files.

Features:

  • Image tab(s) showing rgb(a) or grayscale images of a selected node:

Image


  • Plot tab(s) showing columns of data in a node:

Image


  • Table tab giving a view of the data in the dataset selected:

Image


  • File Structure table giving a tree view of the hdf5 file
  • Attributes table showing any attributes assigned to a dataset
  • Dataset table showing e.g. the shape, number of dimensions and data type of a dataset
  • Slice table showing which slice of the data is currently displayed (can be set by the user)
  • Export images/plots in a variety of formats (image files, data files, hdf5, matplotlib window)
  • Datasets are loaded dynamically, so hopefully it should be able to handle HDF5 files of any size and structure.
  • Warnings are given when selecting a dataset if loading it would consume more than 30% of the available memory. The user can the opt to abort or continue loading.

Why use hdf5view?

hdf5view is a simple Qt/Python based tool which aims to be easy to use and to allow you to get a view of your data with just a few clicks. If you need to check the structure of an HDF5 file, quickly see what data it contains or choose a dataset for futher analysis in another program, hdf5view may be for you. We don't aim to be able to create or edit HDF5 files and have only minimal possibilties for data analysis other than just viewing it. Other viewers for HDF5 files are available, which may be more suited to your needs, see related projects.


Documentation

The documentation for hdf5view is here: https://tgwoodcock.github.io/hdf5view


1. Installing

hdf5view is designed to be platform independent and can be installed with pip. Please see the installation guide for details.


2. Running

The usage guide shows various ways to start hdf5view and open HDF5 files in the application.

Context menu

A particularly useful way to use hdf5view is to add an entry to the context menu. This way, you can open any HDF5 file with two clicks. Please see the context menu guide for instructions on how to set this up.

3. Usage

In the documentation, there are tutorials on how to use


4. Testing

Currently there are no unit tests for this package. The gui has been tested with qtpy=2.2.0, pyqtgraph=0.12.4 and h5py=3.7.0 in combination with pyqt5=5.15.7, pyside2=5.15.2.1, pyqt6=6.3.1 and pyside6=6.3.2, and it works with all of the Qt API bindings.


5. Issues

If there are any issues, please feel free to use the issues mechanism on github to get in touch.


6. Contributing

If you are interested in contributing to the hdf5view project, please see the contributing guide.


7. Changes

To see the what has changed in the current version of hdf5view, please have a look at the changelog.


8. Reference

hdf5view is archived on Zenodo and can be cited using the following doi and associated metadata: DOI


TODO:

  • Implement dynamic loading for files larger than the available memory
  • Add tests
  • Possibly add 3D rendering, likely based on pyqtgraph

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hdf5view-0.2.7.tar.gz (56.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hdf5view-0.2.7-py3-none-any.whl (56.3 kB view details)

Uploaded Python 3

File details

Details for the file hdf5view-0.2.7.tar.gz.

File metadata

  • Download URL: hdf5view-0.2.7.tar.gz
  • Upload date:
  • Size: 56.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for hdf5view-0.2.7.tar.gz
Algorithm Hash digest
SHA256 6d2ad857eae22a73474bdff11981a8e8e942397264ad4a77b655b20a59e4c619
MD5 344a91245af417117371fb6fa4b39c0a
BLAKE2b-256 2fa9e7a35152243741d07bc675ea774b10eda68e5723ea5d8bc20ec80e462e41

See more details on using hashes here.

File details

Details for the file hdf5view-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: hdf5view-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 56.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for hdf5view-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 110625b88f1b000a5c8348c07453cd288321a895e0cbfb0c9a206526b5bbd1cd
MD5 caf0921ce5f3934096f117e142d88ce0
BLAKE2b-256 a8bcb3c54db3b1fef48f7880795a36907647e7703b6a7b6e9f3fe6b9f101af50

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page