uxarray.grid.utils._newton_raphson_solver_for_gca_constLat#
- uxarray.grid.utils._newton_raphson_solver_for_gca_constLat(init_cart, gca_cart, max_iter=1000, verbose=False)#
Solve for the intersection point between a great circle arc and a constant latitude.
- Parameters:
init_cart (np.ndarray) – Initial guess for the intersection point.
w0_cart (np.ndarray) – First vector defining the great circle arc.
w1_cart (np.ndarray) – Second vector defining the great circle arc.
max_iter (int, optional) – Maximum number of iterations. Defaults to 1000.
verbose (bool, optional) – Whether to print verbose output. Defaults to False.
- Returns:
The intersection point or None if the solver fails to converge.
- Return type:
np.ndarray or None