uvisbox.Modules.UncertaintyTube.uncertainty_tubes_stats
Module Contents
- uvisbox.Modules.UncertaintyTube.uncertainty_tubes_stats.project_points_to_plane(point0, point1, points)[source]
Projects points onto a plane perpendicular to the line segment from point0 to point1.
- Parameters:
point0 (np.ndarray) – Define the line segment direction
point1 (np.ndarray) – Define the line segment direction
points (np.ndarray) – Points to project (shape: (n_points, num_dims))
- Returns:
Projected points on the orthogonal plane
- Return type:
np.ndarray
- uvisbox.Modules.UncertaintyTube.uncertainty_tubes_stats.uncertainty_tubes_summary_statistics(trajectories, n_jobs=1)[source]
Compute 3D uncertainty summary statistics along trajectory paths.
- Parameters:
trajectories (np.ndarray) – Ensemble trajectories with shape (n_steps, n_starting_locations, n_samples, num_dims).
n_jobs (int, optional) – Number of parallel jobs to use. If n_jobs=1, uses sequential processing. Defaults to 1.
- Returns:
“mean_trajectory” (np.ndarray): The mean trajectory with shape (n_steps, n_starting_locations, num_dims).
”eigen_values” (np.ndarray): Eigenvalues for each cross-section with shape (n_steps, n_starting_locations, 2).
”eigen_vectors” (np.ndarray): Eigenvectors for each cross-section with shape (n_steps, n_starting_locations, num_dims, 2).
- Return type:
dict