runtraj.Project.trajectories#
- Project.trajectories(sel=None)[source]#
Load the trajectories of every selected simulation that has them, as one table.
- Parameters:
sel (
Any) – The simulations, as forstatus(). Every simulation of a variant that makes trajectories by default.- Returns:
The trajectory table (
runtraj.trajectories) withreleaseandvariantfirst. A trajectory is told from another byrelease,variantandtrajectorytogether. Simulations without a result are left out, and the table is empty when none has one yet.- Return type:
- Raises:
ValueError – If sel names a variant that makes another type of result, or no variant of the project makes trajectories.
Examples
>>> trajectories = project.trajectories() >>> trajectories.groupby(["release", "trajectory"])[ ... "zagl" ... ].max()