pisces.extensions.simulation.core.initial_conditions.InitialConditions3DCartesian.load_particles#
- InitialConditions3DCartesian.load_particles(model_name: str, **kwargs) ParticleDataset#
Load the particle dataset associated with a specific model.
- Parameters:
model_name (
str) – The name/identifier of the model whose particles to load.kwargs – Additional keyword arguments to pass to the
ParticleDatasetconstructor.
- Returns:
An instance of the loaded particle dataset.
- Return type:
- Raises:
KeyError – If no model with the given
model_nameexists.FileNotFoundError – If the referenced particle file does not exist.
ValueError – If no particles are associated with the specified model.