cartesian_to_spherical#

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

Transform vectors vecs from cartesian to spherical representation.

Parameters

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

Returns

Vectors in the spherical coordinate system.

Return type

numpy.ndarray