Chapters:
|
MuSR /
DiffusionCubicSimulations< Diffusion on a cubic lattice | Index | MuSR.QuantumExpresso > Putting in practice the last lines of the previous page, a precession after n jumps is the rotation by an angle {$\psi(t)=\gamma B(n)t$} around a skewed field along {$\hat \xi$} identified by {$(\theta, \phi)$} in a reference frame where the muon spin initially lies along {$\hat z$}. The muon spin components at the end are given by {$R_z(\phi)R_y(\theta)R_z(\psi)R_y(-\theta)R_z(-\phi)$} (the initial two rotations would bring {$\mathbf B$} along {$\hat z$}, hence the precession is a {$\psi$} rotation around the same axis initially, and the last two bring the system back to the starting reference frame). Easily done e.g. with sympy. < Diffusion on a cubic lattice | Index | MuSR.QuantumExpresso > |