pisces.particles.base.ParticleDataset.get_particle_field_handle#

ParticleDataset.get_particle_field_handle(group_name: str, field_name: str)[source]#

Get the HDF5 dataset handle for a specific field in a particle group.

Parameters:
  • group_name (str) – The name of the particle group containing the field.

  • field_name (str) – The name of the field to retrieve.

Returns:

The HDF5 dataset handle for the specified field.

Return type:

h5py.Dataset

Raises:

KeyError – If the specified group or field does not exist in the dataset.