pisces.extensions.simulation.core.initial_conditions.InitialConditions.get_particle_path#

InitialConditions.get_particle_path(model_name: str) Path | None[source]#

Retrieve the particle file path associated with a specific model.

Parameters:

model_name (str) – The name/identifier of the model to inspect.

Returns:

The path to the particle dataset file if it exists, otherwise None.

Return type:

Path or None

Raises:

KeyError – If no model with the given model_name exists.