Changeset 23a9beb in sasview for src/sas/invariant/media/pr_help.rst
- 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/invariant/media/pr_help.rst
r78f02c3 r23a9beb 1 .. pr_help.rst1 .. pr_help.rst 2 2 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 .. |pi| unicode:: U+03C0 7 .. |chi| unicode:: U+03C7 5 8 6 9 P(r) Inversion Perspective … … 9 12 The inversion approach is based on Moore, J. Appl. Cryst., (1980) 13, 168-175. 10 13 11 P(r) is set to be equal to an expansion of base functions of the type12 phi_n(r) = 2 *r*sin(pi*n*r/D_max).14 P(r) is set to be equal to an expansion of base functions of the type 15 phi_n(r) = 2 * r * sin(|pi| * n * r / D_max). 13 16 14 17 The coefficient of each base function in the expansion is found by performing 15 18 a least square fit with the following fit function: 16 19 17 chi**2 = sum_i[ I_meas(q_i) - I_th(q_i) ]**2/error**2 + Reg_term20 |chi| ^2 = sum_i[ I_meas(q_i) - I_th(q_i) ]^2 / error^2 + Reg_term 18 21 19 22 where I_meas(q) is the measured scattering intensity and I_th(q) is the … … 21 24 22 25 The Reg_term term is a regularization term set to the second derivative 23 d **2P(r)/dr**2 integrated over r. It is used to produce a smooth P(r) output.26 d^2 P(r) / dr^2 integrated over r. It is used to produce a smooth P(r) output. 24 27 25 28 The following are user inputs: 26 29 27 - Number of terms: the number of base functions in the P(r) expansion. 30 * Number of terms: the number of base functions in the P(r) expansion. 28 31 29 - Regularization constant: a multiplicative constant to set the size of 30 the regularization term.32 * Regularization constant: a multiplicative constant to set the size of 33 the regularization term. 31 34 32 - Maximum distance: the maximum distance between any two points in the 35 * Maximum distance: the maximum distance between any two points in the 33 36 system.
Note: See TracChangeset
for help on using the changeset viewer.