[da53353] | 1 | .. mag_help.rst |
---|
| 2 | |
---|
| 3 | .. This is a port of text from the original SasView html help file to ReSTructured text |
---|
| 4 | .. by S King, ISIS, during SasView CodeCamp-III in Feb 2015. |
---|
| 5 | |
---|
| 6 | .. |inlineimage004| image:: sm_image004.gif |
---|
| 7 | .. |inlineimage005| image:: sm_image005.gif |
---|
| 8 | .. |inlineimage008| image:: sm_image008.gif |
---|
| 9 | .. |inlineimage009| image:: sm_image009.gif |
---|
| 10 | .. |inlineimage010| image:: sm_image010.gif |
---|
| 11 | .. |inlineimage011| image:: sm_image011.gif |
---|
| 12 | .. |inlineimage012| image:: sm_image012.gif |
---|
| 13 | .. |inlineimage018| image:: sm_image018.gif |
---|
| 14 | .. |inlineimage019| image:: sm_image019.gif |
---|
| 15 | |
---|
| 16 | |
---|
| 17 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
| 18 | |
---|
| 19 | Polarisation/Magnetic Scattering |
---|
| 20 | -------------------------------- |
---|
| 21 | |
---|
| 22 | Magnetic scattering is implemented in five (2D) models |
---|
| 23 | |
---|
[eca66a1] | 24 | * *sphere* |
---|
| 25 | * *core_shell_sphere* |
---|
| 26 | * *core_multi_shell* |
---|
| 27 | * *cylinder* |
---|
| 28 | * *parallelepiped* |
---|
[da53353] | 29 | |
---|
[3b67c30] | 30 | In general, the scattering length density (SLD, = |beta|) in each region where the |
---|
| 31 | SLD is uniform, is a combination of the nuclear and magnetic SLDs and, for polarised |
---|
| 32 | neutrons, also depends on the spin states of the neutrons. |
---|
| 33 | |
---|
| 34 | For magnetic scattering, only the magnetization component, *M*\ :sub:`perp`, |
---|
| 35 | perpendicular to the scattering vector *Q* contributes to the the magnetic |
---|
| 36 | scattering length. |
---|
[da53353] | 37 | |
---|
| 38 | .. image:: mag_vector.bmp |
---|
| 39 | |
---|
| 40 | The magnetic scattering length density is then |
---|
| 41 | |
---|
| 42 | .. image:: dm_eq.gif |
---|
| 43 | |
---|
[3b67c30] | 44 | where |gamma| = -1.913 is the gyromagnetic ratio, |mu|\ :sub:`B` is the |
---|
| 45 | Bohr magneton, *r*\ :sub:`0` is the classical radius of electron, and |sigma| |
---|
| 46 | is the Pauli spin. |
---|
| 47 | |
---|
| 48 | Assuming that incident neutrons are polarized parallel (+) and anti-parallel (-) |
---|
| 49 | to the *x'* axis, the possible spin states after the sample are then |
---|
[da53353] | 50 | |
---|
[3b67c30] | 51 | No spin-flips (+ +) and (- -) |
---|
[da53353] | 52 | |
---|
[3b67c30] | 53 | Spin-flips (+ -) and (- +) |
---|
[da53353] | 54 | |
---|
| 55 | .. image:: M_angles_pic.bmp |
---|
| 56 | |
---|
[3b67c30] | 57 | If the angles of the *Q* vector and the spin-axis (*x'*) to the *x*-axis are |phi| |
---|
| 58 | and |theta|\ :sub:`up`, respectively, then, depending on the spin state of the |
---|
| 59 | neutrons, the scattering length densities, including the nuclear scattering |
---|
| 60 | length density (|beta|\ :sub:`N`) are |
---|
[da53353] | 61 | |
---|
| 62 | .. image:: sld1.gif |
---|
| 63 | |
---|
[3b67c30] | 64 | when there are no spin-flips, and |
---|
[da53353] | 65 | |
---|
| 66 | .. image:: sld2.gif |
---|
| 67 | |
---|
[3b67c30] | 68 | when there are, and |
---|
[da53353] | 69 | |
---|
| 70 | .. image:: mxp.gif |
---|
| 71 | |
---|
| 72 | .. image:: myp.gif |
---|
| 73 | |
---|
| 74 | .. image:: mzp.gif |
---|
| 75 | |
---|
| 76 | .. image:: mqx.gif |
---|
| 77 | |
---|
| 78 | .. image:: mqy.gif |
---|
| 79 | |
---|
[3b67c30] | 80 | Here, *M*\ :sub:`0x`, *M*\ :sub:`0y` and *M*\ :sub:`0z` are the x, y and z components |
---|
| 81 | of the magnetization vector given in the laboratory xyz frame given by |
---|
[da53353] | 82 | |
---|
| 83 | .. image:: m0x_eq.gif |
---|
| 84 | |
---|
| 85 | .. image:: m0y_eq.gif |
---|
| 86 | |
---|
| 87 | .. image:: m0z_eq.gif |
---|
| 88 | |
---|
[3b67c30] | 89 | and the magnetization angles |theta|\ :sub:`M` and |phi|\ :sub:`M` are defined in |
---|
| 90 | the figure above. |
---|
[da53353] | 91 | |
---|
[3b67c30] | 92 | The user input parameters are: |
---|
[da53353] | 93 | |
---|
[3b67c30] | 94 | =========== ================================================================ |
---|
| 95 | M0_sld = *D*\ :sub:`M` *M*\ :sub:`0` |
---|
| 96 | Up_theta = |theta|\ :sub:`up` |
---|
| 97 | M_theta = |theta|\ :sub:`M` |
---|
| 98 | M_phi = |phi|\ :sub:`M` |
---|
| 99 | Up_frac_i = (spin up)/(spin up + spin down) neutrons *before* the sample |
---|
| 100 | Up_frac_f = (spin up)/(spin up + spin down) neutrons *after* the sample |
---|
| 101 | =========== ================================================================ |
---|
[da53353] | 102 | |
---|
[3b67c30] | 103 | *Note:* The values of the 'Up_frac_i' and 'Up_frac_f' must be in the range 0 to 1. |
---|
[da53353] | 104 | |
---|
| 105 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
[3b67c30] | 106 | |
---|
| 107 | .. note:: This help document was last changed by Steve King, 02May2015 |
---|