HDF5Reader

class plasmapy.plasma.sources.HDF5Reader(hdf5, **kwargs)

Bases: plasmapy.plasma.plasma_base.GenericPlasma

Core class for accessing various attributes on HDF5 files that are based on OpenPMD standards.

Parameters:
  • hdf5 (str) – Path to HDF5 file.
  • **kwargs – Any keyword accepted by GenericPlasma.

Attributes Summary

charge_density An array containing charge density data.
electric_current
electric_field An (x, y, z) array containing electric field data.
magnetic_field

Methods Summary

close()
is_datasource_for(**kwargs)

Attributes Documentation

charge_density

An array containing charge density data. (Returned as an astropy Quantity.)

electric_current
electric_field

An (x, y, z) array containing electric field data. (Returned as an astropy Quantity.)

magnetic_field

Methods Documentation

close()
classmethod is_datasource_for(**kwargs)