source: sasview/src/sas/sasgui/perspectives/fitting/media/mag_help.rst @ 69a6897

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalcmagnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 69a6897 was 5ed76f8, checked in by Paul Kienzle <pkienzle@…>, 8 years ago

docs: use latex in equations rather than unicode + rst markup

  • Property mode set to 100644
File size: 3.2 KB
RevLine 
[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
[6aad2e8]6.. |inlineimage004| image:: sm_image004.png
7.. |inlineimage005| image:: sm_image005.png
8.. |inlineimage008| image:: sm_image008.png
9.. |inlineimage009| image:: sm_image009.png
10.. |inlineimage010| image:: sm_image010.png
11.. |inlineimage011| image:: sm_image011.png
12.. |inlineimage012| image:: sm_image012.png
13.. |inlineimage018| image:: sm_image018.png
14.. |inlineimage019| image:: sm_image019.png
[da53353]15
16
17.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
18
19Polarisation/Magnetic Scattering
20--------------------------------
21
[5ed76f8]22Magnetic scattering is implemented in five (2D) models
[da53353]23
[eca66a1]24*  *sphere*
25*  *core_shell_sphere*
26*  *core_multi_shell*
27*  *cylinder*
28*  *parallelepiped*
[da53353]29
[5ed76f8]30In general, the scattering length density (SLD, = $\beta$) in each region where the
[3b67c30]31SLD is uniform, is a combination of the nuclear and magnetic SLDs and, for polarised
32neutrons, also depends on the spin states of the neutrons.
33
[5ed76f8]34For magnetic scattering, only the magnetization component, $M_\perp$,
35perpendicular to the scattering vector $Q$ contributes to the the magnetic
[3b67c30]36scattering length.
[da53353]37
[6aad2e8]38.. image:: mag_vector.png
[da53353]39
40The magnetic scattering length density is then
41
[6aad2e8]42.. image:: dm_eq.png
[da53353]43
[5ed76f8]44where $\gamma = -1.913$ is the gyromagnetic ratio, $\mu_B$ is the
45Bohr magneton, $r_0$ is the classical radius of electron, and $\sigma$
[3b67c30]46is the Pauli spin.
47
48Assuming that incident neutrons are polarized parallel (+) and anti-parallel (-)
49to the *x'* axis, the possible spin states after the sample are then
[da53353]50
[3b67c30]51No spin-flips (+ +) and (- -)
[da53353]52
[3b67c30]53Spin-flips    (+ -) and (- +)
[da53353]54
[6aad2e8]55.. image:: M_angles_pic.png
[da53353]56
[5ed76f8]57If the angles of the $Q$ vector and the spin-axis (*x'*) to the *x*-axis are $\phi$
58and $\theta_\text{up}$, respectively, then, depending on the spin state of the
[3b67c30]59neutrons, the scattering length densities, including the nuclear scattering
[5ed76f8]60length density ($\beta_N$) are
[da53353]61
[6aad2e8]62.. image:: sld1.png
[da53353]63
[3b67c30]64when there are no spin-flips, and
[da53353]65
[6aad2e8]66.. image:: sld2.png
[da53353]67
[3b67c30]68when there are, and
[da53353]69
[6aad2e8]70.. image:: mxp.png
[da53353]71
[6aad2e8]72.. image:: myp.png
[da53353]73
[6aad2e8]74.. image:: mzp.png
[da53353]75
[6aad2e8]76.. image:: mqx.png
[da53353]77
[6aad2e8]78.. image:: mqy.png
[da53353]79
[5ed76f8]80Here, $M_{0x}$, $M_{0y}$ and $M_{0z}$ are the $x$, $y$ and $z$ components
81of the magnetization vector given in the laboratory $xyz$ frame given by
[da53353]82
[6aad2e8]83.. image:: m0x_eq.png
[da53353]84
[6aad2e8]85.. image:: m0y_eq.png
[da53353]86
[6aad2e8]87.. image:: m0z_eq.png
[da53353]88
[5ed76f8]89and the magnetization angles $\theta_M$ and $\phi_M$ are defined in
[3b67c30]90the figure above.
[da53353]91
[3b67c30]92The user input parameters are:
[da53353]93
[3b67c30]94===========   ================================================================
[5ed76f8]95 M0_sld        = $D_M M_0$
96 Up_theta      = $\theta_\text{up}$
97 M_theta       = $\theta_M$
98 M_phi         = $\phi_M$
[3b67c30]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
Note: See TracBrowser for help on using the repository browser.