pyvista.grid_from_sph_coords#
- grid_from_sph_coords(theta, phi, r)[source]#
Create a structured grid from arrays of spherical coordinates.
- Parameters:
- thetaarray_like[
float
] Azimuthal angle in degrees
[0, 360]
.- phiarray_like[
float
] Polar (zenith) angle in degrees
[0, 180]
.- rarray_like[
float
] Distance (radius) from the point of origin.
- thetaarray_like[
- Returns:
pyvista.StructuredGrid
Structured grid.