thetaphi_plane#
- caput.astro.coordinates.spherical.thetaphi_plane(sph_arr: numpy.typing.ArrayLike[numpy.integer | numpy.floating]) tuple[numpy.ndarray[numpy.floating], numpy.ndarray[numpy.floating]][source]#
Compute unit vectors from spherical polar coordinate positions.
- Parameters:
- sph_arrarray_like
Angular positions (in spherical polar coordinates).
- Returns:
- thetaarray_like
theta unit vector.
- phiarray_like
phi unit vector.