- Timestamp:
- Feb 15, 2015 10:45:23 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:
- 48153283
- Parents:
- 23a9beb
- Location:
- src/sas
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/calculator/media/density_calculator_help.rst
r78f02c3 r920928f 1 .. density_calculator_help.rst1 .. density_calculator_help.rst 2 2 3 3 .. This is a port of the original SasView html help file to ReSTructured text -
src/sas/calculator/media/kiessig_calculator_help.rst
r78f02c3 r920928f 1 .. kiessig_calculator_help.rst1 .. kiessig_calculator_help.rst 2 2 3 3 .. This is a port of the original SasView html help file to ReSTructured text -
src/sas/calculator/media/resolution_calculator_help.rst
r78f02c3 r920928f 1 .. resolution_calculator_help.rst1 .. resolution_calculator_help.rst 2 2 3 3 .. This is a port of the original SasView html help file to ReSTructured text -
src/sas/calculator/media/sas_calculator_help.rst
r78f02c3 r920928f 1 .. sas_calculator_help.rst1 .. sas_calculator_help.rst 2 2 3 3 .. This is a port of the original SasView html help file to ReSTructured text -
src/sas/calculator/media/sld_calculator_help.rst
r23a9beb r920928f 1 .. sld_calculator_help.rst1 .. sld_calculator_help.rst 2 2 3 3 .. This is a port of the original SasView html help file to ReSTructured text -
src/sas/calculator/media/slit_calculator_help.rst
r78f02c3 r920928f 1 .. slit_calculator_help.rst1 .. slit_calculator_help.rst 2 2 3 3 .. This is a port of the original SasView html help file to ReSTructured text -
src/sas/data_util/media/data_operator_help.rst
r23a9beb r920928f 1 .. data_operator_help.rst1 .. data_operator_help.rst 2 2 3 3 .. This is a port of the original SasView html help file to ReSTructured text … … 37 37 window. 38 38 39 .. image:: image:: docs/sphinx-docs/source/user/calculator/media/data_oper_pic.png39 .. image:: data_oper_pic.png -
src/sas/fit/media/fitting_help.rst
r23a9beb r920928f 1 .. fitting_help.rst1 .. fitting_help.rst 2 2 3 3 .. This is a port of the original SasView html help file to ReSTructured text … … 90 90 each FitPages. 91 91 92 Note that the chi2/Npts returned is the sum of the chi2/Npts of each fits. If one needs the chi2 value only for a page, click the 'Compute' button in the FitPage to recalculate. 92 Note that the chi2/Npts returned is the sum of the chi2/Npts of each fits. If 93 one needs the chi2 value only for a page, click the 'Compute' button in the 94 FitPage to recalculate. 93 95 94 96 Simultaneous Fit with Constraint … … 135 137 Fitting menubar. 136 138 137 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/batch_button_area.bmp139 .. image:: batch_button_area.bmp 138 140 139 141 Figure 1: MenuBar: … … 172 174 Figure 2). 173 175 174 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/restore_batch_window.bmp176 .. image:: restore_batch_window.bmp 175 177 176 178 Figure 2: Edit Menu: … … 197 199 column in the grid. 198 200 199 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/edit_menu.bmp201 .. image:: edit_menu.bmp 200 202 201 203 Figure 3: Edit Menu: … … 226 228 available only when at least one column will be removed from the grid. 227 229 228 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/file_menu.bmp230 .. image:: file_menu.bmp 229 231 230 232 Figure 4: MenuBar: … … 267 269 with valid entries for plotting to work. The dY-bar is optional (see Figure 5). 268 270 269 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/plot_button.bmp271 .. image:: plot_button.bmp 270 272 271 273 Figure 5: Plotting … … 289 291 data and fits. 290 292 291 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/view_button.bmp293 .. image:: view_button.bmp 292 294 293 295 Figure 6: View Fits … … 365 367 button (Fig. 2). 366 368 367 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/cat_fig0.bmp369 .. image:: cat_fig0.bmp 368 370 369 371 Fig.1 370 372 371 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/cat_fig1.bmp373 .. image:: cat_fig1.bmp 372 374 373 375 Fig.2 374 376 375 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/cat_fig2.bmp377 .. image:: cat_fig2.bmp 376 378 377 379 Fig.3 … … 414 416 function are effective after it is re-selected from the combo-box menu. 415 417 416 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/edit_model_menu.bmp418 .. image:: edit_model_menu.bmp 417 419 418 420 .. _New: … … 424 426 can be viewed and further modified by the 'Advanced' option below. 425 427 426 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/new_model.bmp428 .. image:: new_model.bmp 427 429 428 430 .. _Sum_Multi_p1_p2: … … 437 439 for activation. Hit the 'Close' button when it's done. 438 440 439 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sum_model.bmp441 .. image:: sum_model.bmp 440 442 441 443 .. _Advanced: … … 494 496 ------------------------ 495 497 496 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/pd_image001.png498 .. image:: pd_image001.png 497 499 498 500 The xmean is the mean of the distribution, w is the half-width, and Norm is a … … 502 504 The standard deviation is 503 505 504 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/pd_image002.png506 .. image:: pd_image002.png 505 507 506 508 The PD (polydispersity) is 507 509 508 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/pd_image003.png509 510 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/pd_image004.jpg510 .. image:: pd_image003.png 511 512 .. image:: pd_image004.jpg 511 513 512 514 .. _Array_Distribution: … … 537 539 --------------------- 538 540 539 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/pd_image005.png541 .. image:: pd_image005.png 540 542 541 543 The xmean is the mean of the distribution and Norm is a normalization factor … … 544 546 The PD (polydispersity) is 545 547 546 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/pd_image003.png547 548 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/pd_image006.jpg548 .. image:: pd_image003.png 549 550 .. image:: pd_image006.jpg 549 551 550 552 .. _Lognormal_Distribution: … … 553 555 ---------------------- 554 556 555 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/pd_image007.png557 .. image:: pd_image007.png 556 558 557 559 The /mu/=ln(xmed), xmed is the median value of the distribution, and Norm is a … … 562 564 The PD (polydispersity) is given by /sigma/ 563 565 564 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/pd_image008.png566 .. image:: pd_image008.png 565 567 566 568 For the angular distribution 567 569 568 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/pd_image009.png570 .. image:: pd_image009.png 569 571 570 572 The mean value is given by xmean=exp(/mu/+p2/2). The peak value is given by 571 573 xpeak=exp(/mu/-p2). 572 574 573 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/pd_image010.jpg575 .. image:: pd_image010.jpg 574 576 575 577 This distribution function spreads more and the peak shifts to the left as the … … 581 583 ------------------- 582 584 583 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/pd_image011.png585 .. image:: pd_image011.png 584 586 585 587 The xmean is the mean of the distribution and Norm is a normalization factor … … 590 592 The PD (polydispersity) is 591 593 592 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/pd_image012.png594 .. image:: pd_image012.png 593 595 594 596 Note that the higher PD (polydispersity) might need higher values of Npts and … … 596 598 Nsigmas >= 15 at least. 597 599 598 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/pd_image013.jpg600 .. image:: pd_image013.jpg 599 601 600 602 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ … … 618 620 The sit smeared scattering intensity for SAS is defined by 619 621 620 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image002.gif622 .. image:: sm_image002.gif 621 623 622 624 where Norm = 623 625 624 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image003.gif626 .. image:: sm_image003.gif 625 627 626 628 Equation 1 627 629 628 The functions .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image004.gif and .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image005.gif630 The functions .. image:: sm_image004.gif and .. image:: sm_image005.gif 629 631 refer to the slit width weighting function and the slit height weighting 630 632 determined at the q point, respectively. Here, we assumes that the weighting 631 633 function is described by a rectangular function, i.e., 632 634 633 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image006.gif635 .. image:: sm_image006.gif 634 636 635 637 Equation 2 … … 637 639 and 638 640 639 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image007.gif641 .. image:: sm_image007.gif 640 642 641 643 Equation 3 642 644 643 so that .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image008.gif .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image009.gif for644 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image010.gif and u.645 646 The .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image011.gif and .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image012.gif stand for645 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 647 649 the slit height (FWHM/2) and the slit width (FWHM/2) in the q space. Now the 648 650 integral of Equation 1 is simplified to 649 651 650 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image013.gif652 .. image:: sm_image013.gif 651 653 652 654 Equation 4 … … 658 660 ------ 659 661 660 For .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image012.gif = 0 and .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image011.gif =662 For .. image:: sm_image012.gif = 0 and .. image:: sm_image011.gif = 661 663 constant. 662 664 663 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image016.gif665 .. image:: sm_image016.gif 664 666 665 667 For discrete q values, at the q values from the data points and at the q 666 values extended up to qN= qi + .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image011.gif the smeared668 values extended up to qN= qi + .. image:: sm_image011.gif the smeared 667 669 intensity can be calculated approximately 668 670 669 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image017.gif671 .. image:: sm_image017.gif 670 672 671 673 Equation 5 672 674 673 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image018.gif = 0 for *Is* in *j* < *i* or *j* > N-1*.675 .. image:: sm_image018.gif = 0 for *Is* in *j* < *i* or *j* > N-1*. 674 676 675 677 Case 2 676 678 ------ 677 679 678 For .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image012.gif = constant and679 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image011.gif = 0.680 For .. image:: sm_image012.gif = constant and 681 .. image:: sm_image011.gif = 0. 680 682 681 683 Similarly to Case 1, we get 682 684 683 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image019.gif for qp= qi- .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image012.gif684 685 and qN= qi+ .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image012.gif. .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image018.gif = 0685 .. 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 686 688 for *Is* in *j* < *p* or *j* > *N-1*. 687 689 … … 689 691 ------ 690 692 691 For .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image011.gif = constant and692 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image011.gif = constant.693 For .. image:: sm_image011.gif = constant and 694 .. image:: sm_image011.gif = constant. 693 695 694 696 In this case, the best way is to perform the integration, Equation 1, … … 701 703 numerical integration for the slit width. 702 704 703 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image020.gif705 .. image:: sm_image020.gif 704 706 705 707 Equation 7 706 708 707 for qp= qi- .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image012.gif and708 qN= qi+ .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image012.gif. .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image018.gif = 0 for709 for qp= qi- .. image:: sm_image012.gif and 710 qN= qi+ .. image:: sm_image012.gif. .. image:: sm_image018.gif = 0 for 709 711 *Is* in *j* < *p* or *j* > *N-1*. 710 712 … … 718 720 for this case becomes 719 721 720 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image021.gif722 .. image:: sm_image021.gif 721 723 722 724 Equation 8 … … 737 739 except that the weight function used was the 2D elliptical Gaussian function 738 740 739 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image022.gif741 .. image:: sm_image022.gif 740 742 741 743 Equation 9 … … 748 750 distribution. The A is a normalization factor. 749 751 750 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image023.gif752 .. image:: sm_image023.gif 751 753 752 754 Now we consider a numerical integration where each bins in /theta/ and R are … … 755 757 within the bins which in turn becomes 756 758 757 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image024.gif759 .. image:: sm_image024.gif 758 760 759 761 Equation 10 … … 763 765 axis). Then, for the polar symmetric smear 764 766 765 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image025.gif767 .. image:: sm_image025.gif 766 768 767 769 Equation 11 … … 769 771 where 770 772 771 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image026.gif773 .. image:: sm_image026.gif 772 774 773 775 while for the x-y symmetric smear 774 776 775 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image027.gif777 .. image:: sm_image027.gif 776 778 777 779 Equation 12 … … 779 781 where 780 782 781 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sm_image028.gif783 .. image:: sm_image028.gif 782 784 783 785 Here, the current version of the SasView uses Equation 11 for 2D smearing … … 809 811 vector *Q* contributes to the the magnetic scattering length. 810 812 811 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/mag_vector.bmp813 .. image:: mag_vector.bmp 812 814 813 815 The magnetic scattering length density is then 814 816 815 .. image:: d ocs/sphinx-docs/source/user/perspectives/fitting/dm_eq.gif817 .. image:: dm_eq.gif 816 818 817 819 where /gamma/ = -1.913 the gyromagnetic ratio, /mu/B is the Bohr magneton, r0 … … 826 828 Spin flips: (+ -) and (- +) 827 829 828 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/M_angles_pic.bmp830 .. image:: M_angles_pic.bmp 829 831 830 832 Now, let's assume that the angles of the *Q* vector and the spin-axis (x') … … 834 836 as, for non-spin-flips 835 837 836 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sld1.gif838 .. image:: sld1.gif 837 839 838 840 for spin-flips 839 841 840 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/sld2.gif842 .. image:: sld2.gif 841 843 842 844 where 843 845 844 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/mxp.gif845 846 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/myp.gif847 848 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/mzp.gif849 850 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/mqx.gif851 852 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/mqy.gif846 .. image:: mxp.gif 847 848 .. image:: myp.gif 849 850 .. image:: mzp.gif 851 852 .. image:: mqx.gif 853 854 .. image:: mqy.gif 853 855 854 856 Here, the M0x, M0y and M0z are the x, y and z components of the magnetization … … 856 858 and /phi/M as defined in the Figure (above) 857 859 858 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/m0x_eq.gif859 860 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/m0y_eq.gif861 862 .. image:: docs/sphinx-docs/source/user/perspectives/fitting/m0z_eq.gif860 .. image:: m0x_eq.gif 861 862 .. image:: m0y_eq.gif 863 864 .. image:: m0z_eq.gif 863 865 864 866 The user input parameters are M0_sld = DMM0, Up_theta = /theta/up, -
src/sas/perspectives/calculator/media/image_viewer_help.rst
r78f02c3 r920928f 1 .. image_viewer_help.rst1 .. image_viewer_help.rst 2 2 3 3 .. This is a port of the original SasView html help file to ReSTructured text -
src/sas/perspectives/calculator/media/python_shell_help.rst
r78f02c3 r920928f 1 .. python_shell_help.rst1 .. python_shell_help.rst 2 2 3 3 .. This is a port of the original SasView html help file to ReSTructured text
Note: See TracChangeset
for help on using the changeset viewer.