Examples#

Below you will find a series of examples demonstrating how to use psi-io for various basic use cases.

Reading Files#

This section contains examples demonstrating how to read data from HDF4 and HDF5 files using the psi-io library.

Reading HDF5 File Metadata

Reading HDF5 File Metadata

Reading Full Datasets

Reading Full Datasets

Reading Subsets of Datasets

Reading Subsets of Datasets

Interpolating Datasets

Interpolating Datasets

Writing Files#

Examples demonstrating how to write PSI-style HDF4 and HDF5 files, attach dataset attributes, and convert between the two formats.

Writing Simple Datasets

Writing Simple Datasets

Writing Datasets with Attributes

Writing Datasets with Attributes

Converting Between HDF4 and HDF5

Converting Between HDF4 and HDF5

Annotating and Converting the Radial Magnetic Field

Annotating and Converting the Radial Magnetic Field

Gallery generated by Sphinx-Gallery