Changeset 23a9beb in sasview for src/sas/invariant


Ignore:
Timestamp:
Feb 15, 2015 10:09:34 AM (10 years ago)
Author:
smk78
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
Message:

Fixed rst errors

Location:
src/sas/invariant/media
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/invariant/media/invariant_help.rst

    r78f02c3 r23a9beb  
    1 ..invariant_help.rst 
     1.. invariant_help.rst 
    22 
    33.. This is a port of the original SasView html help file to ReSTructured text 
     
    77================================= 
    88 
    9 1. Scattering Invariant_ 
    10 2. Volume Fraction_ 
    11 3. Specific Surface Area_ 
    12 4. Definitions_ 
    13 5. Reference_ 
    14 6. How to Use_ 
     9Scattering_Invariant_ 
     10 
     11Volume_Fraction_ 
     12 
     13Specific_Surface_Area_ 
     14 
     15Definitions_ 
     16 
     17Reference_ 
     18 
     19How_to_Use_ 
    1520 
    1621.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
    1722 
    18 .. _Scattering Invariant: 
     23.. _Scattering_Invariant: 
    1924 
    2025Scattering Invariant 
     
    7782.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
    7883 
    79 .. _Volume Fraction: 
     84.. _Volume_Fraction: 
    8085 
    8186Volume Fraction 
     
    9499.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
    95100 
    96 .. _Specific Surface Area: 
     101.. _Specific_Surface_Area: 
    97102 
    98103Specific Surface Area 
     
    106111.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
    107112 
    108 .. _Definitions 
     113.. _Definitions: 
    109114 
    110115Definitions 
     
    115120I(Q): the scattering intensity as a function of the momentum transfer Q. 
    116121 
    117 Invariant total is the sum of the invariant calculated from data’s q range and  
     122Invariant total is the sum of the invariant calculated from datas q range and 
    118123the invariant resulting from extrapolation at low q range and at high q range  
    119124if considered. 
     
    129134Press, New York, 1982 
    130135 
    131 http://physchem.kfunigraz.ac.at/sm/ <http://physchem.kfunigraz.ac.at/sm/>_ 
     136http://physchem.kfunigraz.ac.at/sm/ 
    132137 
    133138.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
    134139 
    135 .. _How to Use 
     140.. _How_to_Use: 
    136141 
    137142How to Use 
     
    1491543. If you want to calculate the volume fraction and the specific surface  
    150155area, type the optional inputs in the customized input box, and then press  
    151 ‘Compute’ button. 
     156'Compute' button. 
    152157 
    1531584. The invariant can also be calculated including the outside of the data Q  
    154159range:  To include the lower Q and/or the higher Q range, check in the enable  
    155 extrapolation check box in ‘Extrapolation ‘box. If the power low is chosen,  
     160extrapolation check box in 'Extrapolation' box. If the power low is chosen, 
    156161the power (exponent) can be either held or fitted by checking the  
    157162corresponding radio button.  The Npts that is being used for the extrapolation  
     
    162167proper to calculate the invariant. 
    163168 
    164 6. The details of the calculation is available by clicking the ‘Details’  
     1696. The details of the calculation is available by clicking the 'Details' 
    165170button in the middle of the panel. 
    166171 
  • src/sas/invariant/media/pr_help.rst

    r78f02c3 r23a9beb  
    1 ..pr_help.rst 
     1.. pr_help.rst 
    22 
    33.. This is a port of the original SasView html help file to ReSTructured text 
    44.. by S King, ISIS, during SasView CodeCamp-III in Feb 2015. 
     5 
     6.. |pi| unicode:: U+03C0 
     7.. |chi| unicode:: U+03C7 
    58 
    69P(r) Inversion Perspective 
     
    912The inversion approach is based on Moore, J. Appl. Cryst., (1980) 13, 168-175. 
    1013 
    11 P(r) is set to be equal to an expansion of base functions  of the type  
    12 phi_n(r) = 2*r*sin(pi*n*r/D_max). 
     14P(r) is set to be equal to an expansion of base functions of the type 
     15phi_n(r) = 2 * r * sin(|pi| * n * r / D_max). 
    1316 
    1417The coefficient of each base function in the expansion is found by performing  
    1518a least square fit with the following fit function: 
    1619 
    17 chi**2 = sum_i[ I_meas(q_i) - I_th(q_i) ]**2/error**2 + Reg_term 
     20|chi| ^2 = sum_i[ I_meas(q_i) - I_th(q_i) ]^2 / error^2 + Reg_term 
    1821 
    1922where I_meas(q) is the measured scattering intensity and I_th(q) is the  
     
    2124 
    2225The 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. 
     26d^2 P(r) / dr^2 integrated over r. It is used to produce a smooth P(r) output. 
    2427 
    2528The following are user inputs: 
    2629 
    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. 
    2831    
    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. 
    3134 
    32    - Maximum distance: the maximum distance between any two points in the  
     35*  Maximum distance: the maximum distance between any two points in the 
    3336   system. 
Note: See TracChangeset for help on using the changeset viewer.