pisces.extensions.simulation.gadget.particles.GadgetParticleDataset.get_field_metadata#
- GadgetParticleDataset.get_field_metadata(group_name: str, field_name: str) dict #
Get the metadata attributes for a specific field in a particle group.
This method retrieves all attributes associated with a given field in a particle group and returns them as a dictionary. It is used to access metadata such as units, data type, and any additional attributes defined by the user.
- Parameters:
- Returns:
A dictionary containing all metadata attributes for the specified field.
- Return type:
- Raises:
KeyError – If the specified group or field does not exist in the dataset.