square_to_sphere#
- de_ebsd.core.square_to_sphere(xy, eps=1e-12)[source]#
Square Lambert coordinates (…, 2, book units) to unit vectors (…, 3).
Inverse of
sphere_to_square()for the northern hemisphere (z >= 0); negate z for the southern hemisphere. Port of EMsoftLambert2DSquareForwardDouble(Rosca 2010, eqs. 8-9).