-
Notifications
You must be signed in to change notification settings - Fork 0
TrajectorySet
__init__(
positions : numpy.ndarray(dtype=float) # The initial points for a simulation
) -> pygranite.TrajectorySet
trajectory(
id : int # Trajectory ID
) -> numpy.ndarray(dtype=float)
Returns the internally stored trajectory (as an array of points) for the specified id.
trajectories() -> numpy.ndarray(dtype=float)
Returns all internally stored trajectories.
cloud() -> numpy.ndarray(dtype=float)
Returns all trajectory points in shape of a point cloud.
totalCurvatures() -> numpy.ndarray(dtype=float)
Returns array containing the computed curvature values if computed, throws exception if none available.
individualLengths() -> numpy.ndarray(dtype=float)
Returns an array containing the lengths of all trajectories in this dataset, if computed (requires AbortMode
to be either Length
or FitLength
)
curvatures() -> numpy.ndarray(dtype=float)
Returns an array containing the individual curvature values for all points (except first and last timestep), if requested.
volumeInfo(
key : str # volume identifier
) -> numpy.ndarray(dtype=float)
Returns an array containing the interpolated volume values for each trajectory point (except first timestamp), if requested.
computeInfo(
id : int # Compute index.
) -> numpy.ndarray(dtype=float)
Returns an array containing the computed values for each trajectory point (except first timestamp), if requested.
abortReasons() -> numpy.ndarray(dtype=float)
A list of AbortReason
corresponding to each particle id, giving the reason why the computation stopped.
lengthTrajectories() -> int
The number of trajectory points each trajectory contains.
numberTrajectories() -> int
The number of trajectories in this dataset.
- Space
- Integrator
- BorderMode
- CurvatureMode
- AbortReason
- AbortMode
- UpLiftMode
- WindfieldMode
- ConstantsMode
- AdditionalVolumeMode
- pgt.py : pygranite toolkit
- 2D : Visualization
- 3D : Visualization
- 3D : Reverse Computation
- 3D : Topography Test
- 3D : Total Curvature
- 3D : Individual Curvature
- 3D : Length
- 3D : Lift
- 3D : GPU Custom Computations