yt.data_objects.image_array.ImageArray.from_hdf5

ImageArray.from_hdf5(filename, dataset_name=None)

Attempts read in and convert a dataset in an hdf5 file into a YTArray.

Parameters:

filename: string :

The filename to of the hdf5 file. :

dataset_name: string :

The name of the dataset to read from. If the dataset has a units attribute, attempt to infer units as well.