Changeset 98b30b4 in sasview


Ignore:
Timestamp:
Feb 17, 2015 8:35:07 AM (9 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:
3702c12
Parents:
a37b4e6
Message:

Dupilicate links resolved

Location:
src/sas
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • src/sas/guiframe/media/graph_help.rst

    r23a9beb r98b30b4  
    11112D_Data_Averaging_ 
    1212 
    13 Key_Combinations_ 
     13Key_Sequences_ 
    1414 
    1515.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
     
    2020---------- 
    2121 
    22 Introduction_ 
     22Invoking_the_Graph_Menu_ 
    2323 
    2424Reset_Graph_ 
     
    3636Zoom_In_Out_ 
    3737 
    38 Remove_Data_ 
     38Remove_Data_from_Plot_ 
    3939 
    4040Change_Scale_ 
     
    4444Other_Graph_Modifications_ 
    4545 
    46 .. _Introduction: 
     46.. _Invoking_the_Graph_Menu: 
    4747 
    4848Introduction 
     
    118118a region, select *left arrow*  or *right arrow*  button on the toolbar to set 
    119119the graph the the previous size. If a mouse wheel button is available, 
    120 *zoom in/out*  by scrolling the mouse wheel (see Key_Combinations_ help for 
     120*zoom in/out*  by scrolling the mouse wheel (see Key_Sequences_ help for 
    121121details). 
    122122 
    123 .. _Remove_Data: 
     123.. _Remove_Data_from_Plot: 
    124124 
    125125Remove Data from Plot 
     
    182182----------------- 
    183183 
    184 Description_ 
     184Principle_ 
    185185 
    186186How_to_Average_ 
     
    204204.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
    205205 
    206 .. _Description:  
    207  
    208 Description 
    209 ----------- 
     206.. Principle:  
     207 
     208Principle 
     209--------- 
    210210 
    211211This feature allows you to perform different types of averages on your data,  
     
    314314.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
    315315 
    316 .. _Key_Combinations: 
    317  
    318 Key Combination 
    319 --------------- 
     316.. _Key_Sequences: 
     317 
     318Key Sequences 
     319------------- 
    320320 
    321321Floating_Panel_ 
    322322 
    323 Graph_Context_Menu_ 
     323Context_Menu_ 
    324324 
    325325Zoom_ 
     
    338338the menu bar. Otherwise choose 'Dock'. 
    339339 
    340 .. _Graph_Context_Menu: 
     340.. _Context_Menu: 
    341341 
    342342Graph Context Menu 
  • src/sas/models/media/model_functions.rst

    r79492222 r98b30b4  
    8282Contents 
    8383-------- 
    84 1. Introduction_ 
     841. Background_ 
    8585 
    86862. Model_ Functions 
     
    9999 
    100100 
    101 .. _Introduction: 
    102  
    103 1. Introduction 
     101.. _Background: 
     102 
     1031. Background 
    104104--------------- 
    105105 
  • src/sas/perspectives/fitting/media/fitting_help.rst

    rec392464 r98b30b4  
    1010.. |phi| unicode:: U+03C6 
    1111.. |theta| unicode:: U+03B8 
     12.. |chi| unicode:: U+03C7 
     13 
     14.. |inlineimage004| image:: sm_image004.gif 
     15.. |inlineimage005| image:: sm_image005.gif 
     16.. |inlineimage008| image:: sm_image008.gif 
     17.. |inlineimage009| image:: sm_image009.gif 
     18.. |inlineimage010| image:: sm_image010.gif 
     19.. |inlineimage011| image:: sm_image011.gif 
     20.. |inlineimage012| image:: sm_image012.gif 
     21.. |inlineimage018| image:: sm_image018.gif 
     22.. |inlineimage019| image:: sm_image019.gif 
     23 
    1224 
    1325Fitting Perspective 
     
    6173One of two fit-engines can be chosen from the Fitting menu bar. The Simple Fit- 
    6274engine uses Scipy's leasqr and the Complex Fit-Engine is a custom optimizer  
    63 that provides a better chance to find the global minimum of the chi2 but that  
     75that provides a better chance to find the global minimum of the |chi| 2 but that 
    6476requires longer computation time. In order to set a data to a control panel  
    6577(FitPage), see the "DataLoader Help". Once a data set to the FiPage, select a  
     
    532544 
    533545We use only these array values in the computation, therefore the mean value  
    534 given in the control panel, for example ‘radius = 60’, will be ignored. 
     546given in the control panel, for example ‘radius = 60’, will be ignored. 
    535547 
    536548.. _Gaussian_Distribution: 
     
    560572normalization factor which will be determined during the numerical calculation.  
    561573The median value is the value given in the size parameter in the control panel,  
    562 for example, “radius = 60”. 
     574for example, “radius = 60â€ᅵ. 
    563575 
    564576The PD (polydispersity) is given by /sigma/ 
     
    588600which is determined during the numerical calculation. 
    589601 
    590 The z = 1/p2– 1. 
     602The z = 1/p2– 1. 
    591603 
    592604The PD (polydispersity) is 
     
    628640Equation 1 
    629641 
    630 The functions .. image:: sm_image004.gif and .. image:: sm_image005.gif 
     642The functions |inlineimage004| and |inlineimage005| 
    631643refer to the slit width weighting function and the slit height weighting  
    632644determined at the q point, respectively. Here, we assumes that the weighting  
     
    643655Equation 3 
    644656 
    645 so that .. image:: sm_image008.gif .. image:: sm_image009.gif for 
    646 .. image:: sm_image010.gif and u. 
    647  
    648 The .. image:: sm_image011.gif and .. image:: sm_image012.gif stand for 
     657so that |inlineimage008| |inlineimage009| for |inlineimage010| and u. 
     658 
     659The |inlineimage011| and |inlineimage012| stand for 
    649660the slit height (FWHM/2) and the slit width (FWHM/2) in the q space. Now the  
    650661integral of Equation 1 is simplified to 
     
    660671------ 
    661672 
    662 For .. image:: sm_image012.gif = 0 and .. image:: sm_image011.gif =  
    663 constant. 
     673For |inlineimage012| = 0 and |inlineimage011| = constant. 
    664674 
    665675.. image:: sm_image016.gif 
    666676 
    667677For discrete q values, at the q values from the data points and at the q  
    668 values extended up to qN= qi + .. image:: sm_image011.gif the smeared  
     678values extended up to qN= qi + |inlineimage011| the smeared  
    669679intensity can be calculated approximately 
    670680 
     
    673683Equation 5 
    674684 
    675 .. image:: sm_image018.gif = 0 for *Is* in *j* < *i* or *j* > N-1*. 
     685|inlineimage018| = 0 for *Is* in *j* < *i* or *j* > N-1*. 
    676686 
    677687Case 2 
    678688------ 
    679689 
    680 For .. image:: sm_image012.gif = constant and  
    681 .. image:: sm_image011.gif = 0. 
     690For |inlineimage012| = constant and |inlineimage011| = 0. 
    682691 
    683692Similarly to Case 1, we get 
    684693 
    685 .. image:: sm_image019.gif for qp= qi- .. image:: sm_image012.gif 
    686  
    687 and qN= qi+ .. image:: sm_image012.gif. .. image:: sm_image018.gif = 0 
     694|inlineimage019| for qp= qi- |inlineimage012| and qN= qi+ |inlineimage012|. |inlineimage018| = 0 
    688695for *Is* in *j* < *p* or *j* > *N-1*. 
    689696 
     
    691698------ 
    692699 
    693 For .. image:: sm_image011.gif = constant and  
    694 .. image:: sm_image011.gif = constant. 
     700For |inlineimage011| = constant and  
     701|inlineimage011| = constant. 
    695702 
    696703In this case, the best way is to perform the integration, Equation 1,  
     
    707714Equation 7 
    708715 
    709 for qp= qi- .. image:: sm_image012.gif and 
    710 qN= qi+ .. image:: sm_image012.gif. .. image:: sm_image018.gif = 0 for 
     716for qp= qi- |inlineimage012| and 
     717qN= qi+ |inlineimage012|. |inlineimage018| = 0 for 
    711718*Is* in *j* < *p* or *j* > *N-1*. 
    712719 
     
    745752In Equation 9, x0 = qcos/theta/ and y0 = qsin/theta/, and the primed axes  
    746753are in the coordinate rotated by an angle /theta/ around the z-axis (below)  
    747 so that x’0= x0cos/theta/+y0sin/theta/ and y’0= -x0sin/theta/+y0cos/theta/. 
     754so that x’0= x0cos/theta/+y0sin/theta/ and y’0= -x0sin/theta/+y0cos/theta/. 
    748755 
    749756Note that the rotation angle is zero for x-y symmetric elliptical Gaussian  
     
    754761Now we consider a numerical integration where each bins in /theta/ and R are  
    755762*evenly* (this is to simplify the equation below) distributed by /delta//theta/  
    756 and /delta/R, respectively, and it is assumed that I(x’, y’) is constant  
     763and /delta/R, respectively, and it is assumed that I(x’, y’) is constant  
    757764within the bins which in turn becomes 
    758765 
     
    762769 
    763770Since we have found the weighting factor on each bin points, it is convenient  
    764 to transform x’-y’ back to x-y coordinate (rotating it by -/theta/ around z  
     771to transform x’-y’ back to x-y coordinate (rotating it by -/theta/ around z  
    765772axis). Then, for the polar symmetric smear 
    766773 
     
    940947If this operation is successful, the new ftol value will be displayed in the  
    941948info line at the bottom of the SV window.Note that increasing the ftol value  
    942 may cause for the fitting to terminate with higher chisq. 
     949may cause for the fitting to terminate with higher |chi| sq. 
    943950 
    944951.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
Note: See TracChangeset for help on using the changeset viewer.