mindchemistry.e3.o3.angles_to_xyz
- mindchemistry.e3.o3.angles_to_xyz(alpha, beta)[source]
Convert \((\alpha, \beta)\) into a point \((x, y, z)\) on the sphere.
- Parameters
- Returns
Tensor, the point \((x, y, z)\) on the sphere. The shape of Tensor is \((..., 3)\)
- Supported Platforms:
Ascend
- Examples
>>> import mindspore as ms >>> from mindchemistry.e3.o3 import angles_to_xyz >>> print(angles_to_xyz(ms.Tensor(1.7), ms.Tensor(0.0)).abs()) [0., 1., 0.]