magpack.rotations.tomo_rot#

tomo_rot(angles, tilts=0)#

Generates a stack of rotation matrices describing tomography with tilting.

Parameters:
anglesnp.ndarray

Angles of rotation within each tilt series.

tiltsarray_like

Tilt axis as a list of number (if single tilt axis).

Returns:
np.ndarray

Stack of rotation matrices shaped (n, 3, 3). n is the product of the size of angles and tilts.

See also

eul2rot, lamni_rot