a regular spherical grid, the tensor product of a ladder of polar angles and a ladder of azimuths, the layout of pole figure files

Syntax

S2G = regularS2Grid(resolution=5*degree)

5 degree in both angles.

S2G = regularS2Grid(resolution=[5*degree, 2.5*degree])

In the azimuth and the polar angle.

S2G = regularS2Grid(points=(72, 19))

72 azimuths, 19 polar angles.

S2G = regularS2Grid(theta=np.arange(0, 81, 5)*degree, rho=np.arange(0, 360, 5)*degree)

The angles given.

Description

The grid is an nRho x nTheta matrix of vector3d, rho along the first axis and theta along the second. The polar angles run from minTheta to maxTheta both included, the azimuths from minRho to maxRho periodically, the last left out. Python has no ‘identified’ hemisphere and no restrict2MinMax.

Keywords

keyword default description
resolution 5*degree the spacing in radians, one for both angles, or the pair of the azimuth and the polar angle
points None (nRho, nTheta), the number of azimuths and of polar angles instead of the resolution
theta None the polar angles, instead of a ladder
rho None the azimuths, instead of a ladder
minTheta 0.0 the smallest polar angle
maxTheta None the largest polar angle; by default pi, or pi/2 for axes and the upper hemisphere
minRho 0.0 the smallest azimuth
maxRho 360*degree the largest azimuth, the period of the azimuths
antipodal False the directions are axes, the grid covers the upper hemisphere
hemisphere 'complete' ‘complete’, ‘upper’ or ‘lower’
frame None the frame of the directions

Output

S2G vector3d, an nRho x nTheta matrix

See also

equispacedS2Grid, plotS2Grid, S2Grid, VectorGrids

Used on

PoleFigureSimulation, S2FunQuadrature, VectorGrids

MATLAB’s regularS2Grid

source

Citing this page. This page is part of the documentation of MTEX, a free and open source MATLAB toolbox for analyzing and modeling crystallographic textures. It was written by The MTEX Developers and is published at https://mtex-toolbox.github.io/regularS2Grid_py.html. If you use MTEX, or reuse text or figures from this page, in your research, please cite

F. Bachmann, R. Hielscher, H. Schaeben: Texture Analysis with MTEX - Free and Open Source Software Toolbox, Solid State Phenomena 160 (2010), 63-68. 10.4028/www.scientific.net/SSP.160.63

BibTeX
@article{bachmann2010mtex,
  author  = {F. Bachmann and R. Hielscher and H. Schaeben},
  title   = {Texture Analysis with MTEX - Free and Open Source Software Toolbox},
  journal = {Solid State Phenomena},
  volume  = {160},
  pages   = {63-68},
  year    = {2010},
  doi     = {10.4028/www.scientific.net/SSP.160.63},
  url     = {https://doi.org/10.4028/www.scientific.net/SSP.160.63}
}

Other papers describing specific MTEX methods are listed under Publications — please cite the one that best fits your application. The MTEX source code is licensed under the GNU General Public License v2.0; the text and figures of this documentation are licensed under CC BY 4.0, which permits reuse — including by automated systems — provided The MTEX Developers and this page are credited.