spherical_to_cartesian#

cbclib.bin.spherical_to_cartesian(vecs: numpy.ndarray)[source]#

Transform vectors vecs from spherical to cartesian representation.

Parameters

vecs (numpy.ndarray) – A set of vectors in the spherical coordinate system.

Returns

Vectors in the cartesian coordinate system.

Return type

numpy.ndarray