gcd_hull¶
Convex hull object for IceCube geometry.
- class graphnet.data.extractors.icecube.utilities.gcd_hull.GCD_hull(gcd_file, padding)[source]¶
 Bases:
ConvexHullConvex hull object for IceCube geometry.
Initialize the ConvexHull object from the GCD file.
- Parameters:
 gcd_file (str)
padding (float)
- point_in_hull(points, tolerance)[source]¶
 Check if a point is inside the convex hull.
Args: points: I3Position object tolerance: Tolerance for the dot product
- Return type:
 array- Parameters:
 points (array)
tolerance (float)
- rays_and_sphere_intersection_check(points, directions, length)[source]¶
 Check if rays intersect with the sphere approximating the hull.
- Parameters:
 points (
ndarray) – Points from which the rays originate.directions (
ndarray) – Directions of the rays.length (
ndarray) – Length of the rays.
- Return type:
 Tuple[ndarray,ndarray,ndarray]- Returns:
 Intersection points of the rays with the sphere.