pisces.extensions.simulation.gadget.particles.GadgetParticleDataset.concatenate_inplace#
- GadgetParticleDataset.concatenate_inplace(*others: ParticleDataset, groups=None)#
Concatenate another
ParticleDataset
into this one, extending specified groups.This method appends the particle data from other to this dataset for the specified groups. If groups is None, all groups in other are concatenated. The number of particles in each group is updated accordingly.
- Parameters:
- Raises:
KeyError – If a specified group does not exist in either dataset.
ValueError – If the datasets have incompatible shapes for concatenation.