HDF5Reader

class plasmapy.plasma.sources.openpmd_hdf5.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

average_ionization()

close()

electron_density()

electron_temperature()

ion_density()

ion_temperature()

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

average_ionization()
close()
electron_density()
electron_temperature()
ion_density()
ion_temperature()
classmethod is_datasource_for(**kwargs)