Changeset 23a9beb in sasview for src/sas/calculator
- Timestamp:
- Feb 15, 2015 10:09:34 AM (10 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 920928f
- Parents:
- 898a8b9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/calculator/media/sld_calculator_help.rst
r78f02c3 r23a9beb 3 3 .. This is a port of the original SasView html help file to ReSTructured text 4 4 .. by S King, ISIS, during SasView CodeCamp-III in Feb 2015. 5 6 .. |Ang| unicode:: U+212B 5 7 6 8 SLD Calculator Tool … … 12 14 The neutron scattering length density is defined as 13 15 14 SLD = (b_c1 + b_c2+...+b_cn )/Vm16 SLD = (b_c1 + b_c2 + ... + b_cn) / Vm 15 17 16 18 where … … 24 26 ------------------------------- 25 27 26 To calculate scattering length densities enter a compound and a mass density 27 and click "Calculate". Entering a wavelength value is optional (a default 28 value of 6.0 Angstroms will be used). 28 To calculate scattering length densities enter the empirical formula of a 29 compound and its mass density and click "Calculate". 29 30 30 * Formula strings consist of counts and atoms such as "CaCO3+6H2O". 31 Entering a wavelength value is optional (a default value of 6.0 |Ang| will 32 be used). 31 33 32 * Groups can be separated by *'+'* or *space*, so "CaCO3 6H2O" works as well.34 * Formula strings consist of atoms and the number of them, such as "CaCO3+6H2O". 33 35 34 * Groups and be defined using parentheses, such as "CaCO3(H2O)6".36 * Groups can be separated by *'+'* or *space*, so "CaCO3 6H2O" works as well. 35 37 36 * Parentheses can be nested, such as "(CaCO3(H2O)6)1".38 * Groups can be defined using parentheses, such as "CaCO3(H2O)6". 37 39 38 * Isotopes are represented by their index, e.g., "CaCO[18]3+6H2O", H[1], or 39 H[2]. 40 * Parentheses can be nested, such as "(CaCO3(H2O)6)1". 40 41 41 * Counts can be integer or decimal, e.g. "CaCO3+(3HO0.5)2". 42 * Isotopes are represented by their atomic number in *square brackets*, such 43 as "CaCO[18]3+6H2O", H[1], or H[2]. 42 44 43 * Other compositions can be calculated as well, for example, for a 70-30 44 mixture of H2O/D2O write *H14O7+ D6O3* or more simply *H7D3O5* (i.e. this says 45 7 hydrogens, 3 deuteriums, and 5 oxygens) and the mass density calculated 46 based on the percentages of H and D. 45 * Numbers of atoms can be integer or decimal, such as "CaCO3+(3HO0.5)2". 47 46 48 * Type *C[13]6 H[2]12 O[18]6* for C(13)6H(2)12O(18)6 (6 Carbon-13 atoms, 12 49 deuterium atoms, and 6 Oxygen-18 atoms) 47 * The SLD of mixtures can be calculated as well. For example, for a 70-30 48 mixture of H2O/D2O write "H14O7+D6O3" or more simply "H7D3O5" (i.e. this says 49 7 hydrogens, 3 deuteriums, and 5 oxygens) and enter a mass density calculated 50 on the percentages of H2O and D2O. 51 52 * Type "C[13]6 H[2]12 O[18]6" for C(13)6H(2)12O(18)6 (6 Carbon-13 atoms, 12 53 deuterium atoms, and 6 Oxygen-18 atoms).
Note: See TracChangeset
for help on using the changeset viewer.