sample_S2_equal_area_mesh#
- orix.sampling.sample_S2_equal_area_mesh(resolution: float, hemisphere: str = 'both', remove_pole_duplicates: bool = True) Vector3d [source]#
Return vectors of a cube mesh on a unit sphere S2 according to equal area spacing [Rohrer et al., 2004].
- Parameters:
- resolution
The angular resolution in degrees of the azimuthal vectors.
- hemisphere
Generate mesh points on the
"upper"
,"lower"
or"both"
hemispheres. Default is"both"
.- remove_pole_duplicates
If
True
the duplicate mesh grid points at the North and South pole of the unit sphere are removed. IfTrue
then the returned vector hasndim = 1
, whereasndim = 2
(grid) ifFalse
. Default isTrue
.
- Returns:
vec
Vectors that sample the unit sphere.