to_polar#
- DiffractionVectors.to_polar(columns=None, **kwargs)[source]#
Convert the diffraction vectors to polar coordinates.
- Parameters:
columns (list) – The columns of the diffraction vectors to be converted to polar coordinates. The default is the first two columns (kx, ky) in most cases.
kwargs (dict) – Any other parameters passed to the hyperspy.signal.BaseSignal.map function.
- Returns:
polar_vectors – Diffraction vectors in polar coordinates.
- Return type: