Build_theta¶
-
class
sf3dmodels.grid.Build_theta(GRID)[source] [edit on github]¶ Bases:
sf3dmodels.grid.GridSet- Computes the polar angle \(\theta\) on each cartesian grid point.
- \[\theta = \cos^{-1}\left(\frac{z}{r}\right) \]
Parameters: - GRID :
Struct Grid structure to compute.
Attributes: - theta :
numpy.ndarray, shape(GRID.NPoints,) Array of angles in
radians, in the range[0, pi/2]if \(z>=0\), and[pi/2, 0]if \(z<0\); where \(\theta=\)pi/2on the plane \(z=0\).