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

property GadgetParticleDataset.total_particles: int#

Total number of particles across all particle groups.

This property sums the number of particles in each group as specified by the NUMBER_OF_PARTICLES attribute in each group’s metadata.

Returns:

The total number of particles across all groups.

Return type:

int