rotate_scan_dimensions#

BeamShift.rotate_scan_dimensions(angle, reshape=False)[source]#

Rotate the scan dimensions by angle.

Parameters:

angle (float) – Clockwise rotation in degrees

Returns:

rotated_signal

Return type:

BeamShift

Example

Rotate data by 10 degrees clockwise

>>> s = pxm.data.dummy_data.get_simple_beam_shift_signal()
>>> s_rot = s.rotate_scan_dimensions(10)
>>> s_rot.plot()