, dtype=<class 'numpy.float64'>, dim=None)[source]

Convert n-D spherical coordinates to Euclidean direction vectors.

  • angles (list of numpy.ndarray) – spherical coordinates given as angles.

  • dtype (data-type, optional) – The desired data-type for the array. If not given, then the type will be determined as the minimum type required to hold the objects in the sequence. Default: None

  • dim (int, optional) – Cut of information above the given dimension. Otherwise, dimension is determined by number of angles Default: None


the array of direction vectors

Return type