sample_S2_cube_mesh#
- orix.sampling.sample_S2_cube_mesh(resolution: float, grid_type: str = 'spherified_corner') Vector3d[source]#
Return vectors of a cube mesh projected on a unit sphere S2 [Cajaravelli, 2015].
- Parameters:
- resolution
Maximum angle between neighbour grid points, in degrees.
- grid_type
Type of cube grid:
"normalized","spherified_edge"or"spherified_corner".
- Returns:
vecVectors that sample the unit sphere.
Notes
Vectors are sampled by projecting a grid on a cube onto the unit sphere. The mesh on the cube can be generated in a number of ways. A regular square grid with equidistant points corresponds to the
"normalized"option."spherified_edge"corresponds to points such that the row of vectors from the [001] to [011] is equiangular."spherified_corner"corresponds to the case where the row of vectors from [001] to [111] is equiangular.