epraya.Fieldframe#
- Fieldframe(vectors, direction, S, I)#
Pass the eigenvectos to the basis quantized along the static field direction. Pass from the molecular frame to the field frame to define the high field labels (|ms,mi>), assuming the basis refer to the z axis of the molecular frame. To make the rotation uses the Euler-Rodrigues formula with exp(-theta u·(S+I))
- Parameters:
vectors (np.array) – Eigenvectors (columns) in the basis quantized along z.
direction (array) – Direction of the static magnetic field.
S (float) – Electron spin value.
I (float) – Nuclear spin value
- Returns:
Rt (np.array) – Eigenvectors in the basis quantized along the field direction.