@@ -116,15 +116,15 @@ def polar_to_cartesian(points,surface=False):
116116 Parameters
117117 ----------
118118 points : `array_like, float, shape (N,d)`
119- Real valued points in polar coordinates :math:`(r,\phi)`. `N` is the
119+ Real valued points in polar coordinates :math:`(r,\\ phi)`. `N` is the
120120 number of points and `d` is the dimension of the coordinate system.
121- The inputted points must satisfy :math:`r=\mathrm{points[:,0]}`,
122- :math:`\phi=\mathrm{points[:,1]}`, and :math:`\phi\in[0,2\pi)`.
121+ The inputted points must satisfy :math:`r=\\ mathrm{points[:,0]}`,
122+ :math:`\\ phi=\\ mathrm{points[:,1]}`, and :math:`\\ phi\\ in[0,2\ \ pi)`.
123123 surface : `bool, optional, default False`
124124 Points lie only on the boundary (a circle) or not. If `False` (the
125125 default), the inputted points are two-dimensional (`d=2`) with
126- :math:`(r,\phi)` provided. If `True`, the inputted points are angular
127- only (`d=1` with :math:`\phi=\mathrm{points[:,0]}`). In this case,
126+ :math:`(r,\\ phi)` provided. If `True`, the inputted points are angular
127+ only (`d=1` with :math:`\\ phi=\ \ mathrm{points[:,0]}`). In this case,
128128 :math:`r=1`.
129129
130130 Returns
@@ -161,13 +161,13 @@ def cartesian_to_polar(points,surface=False):
161161 ----------
162162 points : `array_like, float, shape (N,2)`
163163 Real valued points in Cartesian coordinates :math:`(x, y)`. `N` is
164- the number of points and :math:`x=\mathrm{points[:,0]}`,
165- :math:`y=\mathrm{points[:,1]}`.
164+ the number of points and :math:`x=\\ mathrm{points[:,0]}`,
165+ :math:`y=\\ mathrm{points[:,1]}`.
166166 surface : `bool, optional, default False`
167167 Inputted points lie only on a circle or not. It is the user's
168168 responsibility to guarantee the correctness of this assertion.
169169 If `False` (the default), the outputted points are two-dimensional
170- (`d=2`) with :math:`(r,\phi)` returned. If `True`, only :math:`\phi`
170+ (`d=2`) with :math:`(r,\\ phi)` returned. If `True`, only :math:`\ \ phi`
171171 is returned (`d=1`).
172172
173173 Returns
@@ -204,18 +204,18 @@ def spherical_to_cartesian(points,surface=False):
204204 Parameters
205205 ----------
206206 points : `array_like, float, shape (N,d)`
207- Real valued points in spherical coordinates :math:`(r,\\ theta,\phi)`.
207+ Real valued points in spherical coordinates :math:`(r,\\ theta,\\ phi)`.
208208 `N` is the number of points, `d` is the dimension of the coordinate
209209 system. The inputted points must satisfy
210- :math:`r=\mathrm{points[:,0]}`, :math:`\\ theta=\mathrm{points[:,1]}`,
211- :math:`\phi=\mathrm{points[:,1]}`, with :math:`\\ theta\in[0,\pi)`,
212- :math:`\phi\in[0,2\pi)`.
210+ :math:`r=\\ mathrm{points[:,0]}`, :math:`\\ theta=\ \ mathrm{points[:,1]}`,
211+ :math:`\\ phi=\\ mathrm{points[:,1]}`, with :math:`\\ theta\\ in[0,\ \ pi)`,
212+ :math:`\\ phi\\ in[0,2\ \ pi)`.
213213 surface : `bool, optional, default False`
214214 Points lie only on the boundary (a sphere) or not. If `False` (the
215215 default), the inputted points are 3D (`d=3`) with
216- :math:`(r,\\ theta,\phi)` provided. If `True`, the inputted points are
217- angular only (`d=2` with :math:`\\ theta=\mathrm{points[:,0]}`,
218- :math:`\phi=\mathrm{points[:,0]}`). In this case, :math:`r=1`.
216+ :math:`(r,\\ theta,\\ phi)` provided. If `True`, the inputted points are
217+ angular only (`d=2` with :math:`\\ theta=\\ mathrm{points[:,0]}`,
218+ :math:`\\ phi=\ \ mathrm{points[:,0]}`). In this case, :math:`r=1`.
219219
220220 Returns
221221 -------
@@ -255,14 +255,14 @@ def cartesian_to_spherical(points,surface=False):
255255 ----------
256256 points : `array_like, float, shape (N,3)`
257257 Real valued points in Cartesian coordinates :math:`(x,y,z)`. `N` is
258- the number of points and :math:`x=\mathrm{points[:,0]}`,
259- :math:`y=\mathrm{points[:,1]}`, :math:`z=\mathrm{points[:,2]}`.
258+ the number of points and :math:`x=\\ mathrm{points[:,0]}`,
259+ :math:`y=\\ mathrm{points[:,1]}`, :math:`z=\ \ mathrm{points[:,2]}`.
260260 surface : `bool, optional, default False`
261261 Inputted points lie only on a sphere or not. It is the user's
262262 responsibility to guarantee the correctness of this assertion.
263263 If `False` (the default), the outputted points are 3D (`d=3`) with
264- :math:`(r,\\ theta,\phi)` returned. If `True`, only
265- :math:`(\\ theta,\phi)` is returned (`d=2`).
264+ :math:`(r,\\ theta,\\ phi)` returned. If `True`, only
265+ :math:`(\\ theta,\\ phi)` is returned (`d=2`).
266266
267267 Returns
268268 -------
@@ -2430,7 +2430,7 @@ class SpheroidGrid(StructuredGridWithAxes):
24302430 the grid.
24312431 shape : `array_like, int, shape (dg,), optional`
24322432 The number of grid points in each dimension. The number of grid cells
2433- in the azimuthal direction (:math:`\phi`) matches the number of grid
2433+ in the azimuthal direction (:math:`\\ phi`) matches the number of grid
24342434 points. In the radial (and, if present, 3D polar) dimension, there is
24352435 one fewer grid cell than grid points as the grid points go all the way
24362436 to the edge of the boundary in those directions. `dg` is the dimension
@@ -2804,7 +2804,7 @@ class SpheroidSurfaceGrid(StructuredGridWithAxes):
28042804 to generate the grid.
28052805 shape : `array_like, int, shape (dg,), optional`
28062806 The number of grid points in each dimension. The number of grid cells
2807- in the azimuthal direction (:math:`\phi`) matches the number of grid
2807+ in the azimuthal direction (:math:`\\ phi`) matches the number of grid
28082808 points. In 3D spherical coordinates, along the polar dimension there is
28092809 one fewer grid cell than grid points as the grid points go all the way
28102810 to the edge of the boundary in that direction. `dg` is the dimension
0 commit comments