Check out the Hyperspy Workshop May 13-17, 2024 Online

to_cartesian#

PolarVectors.to_cartesian(has_delta_angle=None)[source]#

Convert the vectors to cartesian coordinates.

Parameters:

has_delta_angle (bool) – If True, the vectors are in the form (r, delta phi, min-angle). If False, the vectors are in the form (r, theta).

Returns:

The vectors in cartesian coordinates.

Return type:

DiffractionVectors