pisces.extensions.simulation.gadget.particles.GadgetParticleDataset.get_group_metadata#

GadgetParticleDataset.get_group_metadata(group_name: str) dict#

Get the metadata attributes for a specific particle group.

This method retrieves all attributes associated with a given particle group and returns them as a dictionary. It is used to access metadata such as the number of particles in the group and any additional attributes defined by the user.

Parameters:

group_name (str) – The name of the particle group whose metadata is to be retrieved.

Returns:

A dictionary containing all metadata attributes for the specified group.

Return type:

dict

Raises:

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