Ignore:
Timestamp:
May 2, 2012 8:57:52 AM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
19e614a
Parents:
8df5faa
Message:

updating model doc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/sans/models/media/model_functions.html

    r543d1bd r6246e00  
    471471<a href="#BEPolyelectrolyte">BEPolyelectrolyte</a>, 
    472472<a href="#BroadPeak">BroadPeak,<span style="text-decoration: none;"> </span><span style="color: windowtext; text-decoration: none;"><u><span style="color: blue;">CorrLength</span></u></span><span style="color: windowtext; text-decoration: none;">,</span></a> 
    473 <a href="#DAB_Model">DAB_Model</a>, <a href="#Debye">Debye</a>, <a href="#Number_Density_Fractal">FractalModel</a>, <a href="#FractalCoreShell">FractalCoreShell</a>, <a href="#GaussLorentzGel">GaussLorentzGel</a>, <a href="#Guinier">Guinier</a>, <a href="#GuinierPorod">GuinierPorod</a>, <a href="#Lorentz">Lorentz</a>, <a href="#Mass_Fractal">MassFractalModel</a>, <a href="#MassSurface_Fractal">MassSurfaceFractal</a>, <a href="#Peak%20Gauss%20Model">PeakGaussModel</a>, <a href="#Peak%20Lorentz%20Model">PeakLorentzModel</a>, <a href="#Poly_GaussCoil">Poly_GaussCoil</a>, <a href="#PolymerExclVolume">PolyExclVolume</a>, <a href="#PorodModel">PorodModel</a>, <a href="#RPA10Model">RPA10Model</a>, <a href="#Surface_Fractal">SurfaceFractalModel</a>, 
    474 <a href="#Teubner%20Strey">Teubner Strey</a>, <a href="#TwoLorentzian">TwoLorentzian</a>, <a href="#TwoPowerLaw">TwoPowerLaw</a>, <a href="#UnifiedPowerRg">UnifiedPowerRg</a>, <a href="#LineModel">LineModel</a>.</li> 
     473<a href="#DAB_Model">DAB_Model</a>, <a href="#Debye">Debye</a>, <a href="#Number_Density_Fractal">FractalModel</a>, <a href="#FractalCoreShell">FractalCoreShell</a>, <a href="#GaussLorentzGel">GaussLorentzGel</a>, <a href="#Guinier">Guinier</a>, <a href="#GuinierPorod">GuinierPorod</a>, <a href="#Lorentz">Lorentz</a>, <a href="#Mass_Fractal">MassFractalModel</a>, <a href="#MassSurface_Fractal">MassSurfaceFractal</a>, <a href="#Peak%20Gauss%20Model">PeakGaussModel</a>, <a href="#Peak%20Lorentz%20Model">PeakLorentzModel</a>, <a href="#Poly_GaussCoil">Poly_GaussCoil</a>, <a href="#PolymerExclVolume">PolyExclVolume</a>, <a href="#PorodModel">PorodModel</a>, <a href="#RPA10Model">RPA10Model</a><a href="model_functions.html#ReflectivityIIModel">, </a><a href="#Surface_Fractal">SurfaceFractalModel</a>, 
     474<a href="#Teubner%20Strey">Teubner Strey</a>, <a href="#TwoLorentzian">TwoLorentzian</a>, <a href="#TwoPowerLaw">TwoPowerLaw</a>, <a href="#UnifiedPowerRg">UnifiedPowerRg</a>, <a href="#LineModel">LineModel</a>, <a href="#ReflectivityModel">ReflectivityModel</a>, 
     475<a href="#ReflectivityIIModel">ReflectivityIIModel</a>.</li> 
    475476<li class="MsoNormal" style="line-height: 115%;"><a href="#Model"><b>Customized Models</b></a>: 
    476 <a href="#A+Bcos%282x%29+Csin%282x%29">A+Bcos(2x)+Csin(2x)</a>, 
    477 <a href="#sinpoly_poly">sin(poly)/(poly)</a>, <a href="#CM+PEV">CM+PEV</a>, <a href="#A*CM+%281-A%29*PEV">A*CM+(1-A)*PEV</a>, <a href="#polynomial5">polynomial5</a>, <a href="#C*sph_jn%28Ax+B%29+D">C*sph_jn(Ax+B)+D</a>, <a href="#ReflectivityModel">ReflectivityModel</a>, <a href="#ReflectivityIIModel">ReflectivityIIModel</a>.</li> 
     477<a href="#testmodel">testmodel</a>, <a href="#testmodel_2">testmodel_2</a>, <a href="#sum_p1_p2">sum_p1_p2</a>, <a href="#sum_Ap1_1_Ap2">sum_Ap1_1_Ap2</a>, <a href="#polynomial5">polynomial5</a>, <a href="#sph_bessel_jn">sph_bessel_jn</a>.</li> 
    478478<li class="MsoNormal" style="line-height: 115%;"><a href="#Structure_Factors"><b>Structure Factors</b></a>: 
    479479<a href="#HardsphereStructure">HardSphereStructure</a>, 
     
    33473347with a core-shell scattering length density profile. The form factor is 
    33483348normalized by the particle volume. This model is a more general case of 
    3349 <a href="#CoreShellCylinderModel"> 
    3350 core-shell cylinder model </a> (see&nbsp;above and reference below) in 
     3349<a href="#CoreShellCylinderModel">core-shell cylinder 
     3350model </a> (see&nbsp;above and reference below) in 
    33513351that the parameters of the shell are separated into a face-shell and 
    33523352a rim-shell so that users can set different values of the thicknesses 
     
    1072610726</table> 
    1072710727</div> 
    10728 <p class="MsoNormal" style="margin-left: 0.25in;"><b><span style="font-size: 14pt;">&nbsp;</span></b></p> 
    10729 <p class="MsoNormal"><b><span style="font-size: 14pt;">&nbsp;</span></b></p> 
    10730 <p class="MsoNormal"><b><span style="font-size: 14pt;">&nbsp;</span></b></p> 
    10731 <p class="MsoNormal" style="margin-left: 0.25in; text-indent: -0.25in;"><b><span style="font-size: 16pt;">4.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp; 
    10732 </span></b><a name="Model"><b><span style="font-size: 16pt;">Customized 
    10733 Models </span></b></a></p> 
    10734 <p class="MsoNormal" style="margin-left: 0.25in;"><b><span style="font-size: 14pt;">&nbsp;</span></b></p> 
    10735 <p class="MsoBodyText" style="margin-left: 0.25in;">Customized 
    10736 model functions can be 
    10737 redefined or added by users (See SansView tutorial for details). </p> 
    10738 <p class="MsoBodyText" style="margin-left: 0.25in;">&nbsp;</p> 
    10739 <p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">4.1.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    10740 </span></b><a name="A+Bcos(2x)+Csin(2x)"><b><span style="font-size: 14pt;">A+Bcos(2x)+Csin(2x)</span></b></a></p> 
    10741 <p class="MsoListParagraph" style="margin-left: 0.55in;"><b><span style="font-size: 14pt;">&nbsp;</span></b></p> 
    10742 <p class="MsoNormal">This function, as an example of a 
    10743 user defined function, calculates 
    10744 the intensity = A + Bcos(2q) + Csin(2q).</p> 
    10745 <p class="MsoNormal">&nbsp;</p> 
    10746 <p class="MsoNormal">&nbsp;</p> 
    10747 <p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">4.2.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    10748 </span></b><a name="sin(poly)/(poly)"><b><span style="font-size: 14pt;">sin(poly)/poly 
    10749 </span></b></a></p> 
    10750 <p class="MsoNormal"><b>&nbsp;</b></p> 
    10751 <p class="MsoNormal">This function, as an example of a 
    10752 user defined function, 
    10753 calculates the intensity =&nbsp; scale * sin(f)/f, where f = A + Bq 
    10754 + Cq<sup>2</sup> 
    10755 + Dq<sup>3 </sup>+ Eq<sup>4</sup> + Fq<sup>5</sup>.</p> 
    10756 <p class="MsoNormal">&nbsp;</p> 
    10757 <p class="MsoNormal">&nbsp;</p> 
    10758 <p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">4.3.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    10759 </span></b><a name="CM+PEV"><b><span style="font-size: 14pt;">CM+PEV 
    10760 </span></b></a></p> 
    10761 <p class="MsoNormal"><b>&nbsp;</b></p> 
    10762 <p class="MsoNormal">This function, as an example of a 
    10763 user defined function, 
    10764 calculates the intensity =&nbsp; scale_factor * (CylinderModel + 
    10765 PolymerExclVolume model). 
    10766 To make your own sum(P1+P2) model, select 'Easy Custom Sum' from the 
    10767 Fitting menu, or modify and compile the file named 'sum_p1_p2.py' from 
    10768 'Edit Custom Model' in the 'Fitting' menu. It works only for single 
    10769 functional models. 
    10770 </p> 
    10771 <p class="MsoNormal">&nbsp;</p> 
    10772 <p class="MsoNormal">&nbsp;</p> 
    10773 <p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">4.4.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    10774 </span></b><a name="A*CM+(1-A)*PEV"><b><span style="font-size: 14pt;">A*CM+(1-A)*PEV 
    10775 </span></b></a></p> 
    10776 <p class="MsoNormal"><b>&nbsp;</b></p> 
    10777 <p class="MsoNormal">This function, as an example of a 
    10778 user defined function, 
    10779 calculates the intensity =&nbsp; (scale_factor * CylinderModel + 
    10780 (1-scale_factor) * PolymerExclVolume model). 
    10781 To make your own A*p1+(1-A)*p2 model, modify and compile the file named 
    10782 'sum_Ap1_1_Ap2.py' from 'Edit Custom Model' in the 'Fitting' menu. It 
    10783 works only for single functional models. 
    10784 </p> 
    10785 <p class="MsoNormal">&nbsp;</p> 
    10786 <p class="MsoNormal">&nbsp;</p> 
    10787 <p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">4.5.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    10788 </span></b><a name="polynomial5"><b><span style="font-size: 14pt;">polynomial5 
    10789 </span></b></a></p> 
    10790 <p class="MsoNormal"><b>&nbsp;</b></p> 
    10791 <p class="MsoNormal">This function, as an example of a 
    10792 user defined function, 
    10793 calculates the intensity =&nbsp; A + Bq + Cq<sup>2</sup> 
    10794 + Dq<sup>3 </sup>+ Eq<sup>4</sup> + Fq<sup>5</sup>. 
    10795 This model can be modified and compiled from 'Edit Custom Model' in the 
    10796 'Fitting' menu. 
    10797 </p> 
    10798 <p class="MsoNormal">&nbsp;</p> 
    10799 <p class="MsoNormal">&nbsp;</p> 
    10800 <p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">4.6.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    10801 </span></b><a name="C*sph_jn(Ax+B)+D"><b><span style="font-size: 14pt;">C*sph_jn(Ax+B)+D 
    10802 </span></b></a></p> 
    10803 <p class="MsoNormal"><b>&nbsp;</b></p> 
    10804 <p class="MsoNormal">This function, as an example of a 
    10805 user defined function, 
    10806 calculates the intensity =&nbsp; C*sph_jn(Ax+B)+D where the sph_jn 
    10807 is spherical Bessel function of the order n. 
    10808 This model can be modified and compiled from 'Edit Custom Model' in the 
    10809 'Fitting' menu. 
    10810 </p> 
    10811 <p class="MsoNormal">&nbsp;</p> 
    10812 <p class="MsoNormal">&nbsp;</p> 
    10813 <p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">4.7.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     10728<p class="MsoNormal">&nbsp;</p> 
     10729<p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;"></span></b></p> 
     10730<p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">3.27.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    1081410731</span></b><a name="ReflectivityModel"><b><span style="font-size: 14pt;">ReflectivityModel</span></b></a></p> 
    1081510732<p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">&nbsp;</span></b></p> 
     
    1083210749This model was contributed by an interested user. </p> 
    1083310750<p>&nbsp;</p> 
    10834 <p>&nbsp;</p> 
    1083510751<p align="center"> <img src="image231.bmp"></p> 
    1083610752<p class="MsoNormal" style="">&nbsp;</p> 
     
    1084610762<p>&nbsp;</p> 
    1084710763<p>&nbsp;</p> 
     10764<p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"></p> 
    1084810765<p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;">&nbsp;</p> 
    10849 <p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;">&nbsp;</p> 
    10850 <p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;">&nbsp;</p> 
    10851 <p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">4.8.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     10766<p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">3.28.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    1085210767</span></b><a name="ReflectivityIIModel"><b><span style="font-size: 14pt;">ReflectivityIIModel</span></b></a></p> 
    1085310768<p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">&nbsp;</span></b></p> 
    10854 <p class="MsoNormal">Same as the ReflectivityModel except 
     10769<p class="MsoNormal">&nbsp;&nbsp;&nbsp; Same 
     10770as the ReflectivityModel except 
    1085510771that the it is more 
    1085610772customizable. More interfacial functions are supplied. The number of 
    1085710773points 
    10858 (npts_inter) for each interface can be choosen. The constant (A below 
     10774(npts_inter) for each interface can be choosen. 
     10775&nbsp;&nbsp;&nbsp; The constant (A below 
    1085910776but 'nu' as 
    1086010777a parameter name of the model) for exp, erf, or power-law is an input. 
     
    1087410791<p> <span><img src="image049.gif"></span></p> 
    1087510792<p> </p> 
    10876 <p> </p> 
    10877 <p> </p> 
    10878 <p> </p> 
    10879 <p class="MsoNormal">Note: This 
     10793<p class="MsoNormal">&nbsp;&nbsp;&nbsp; Note: 
     10794This 
    1088010795model was implemented by an interested user. </p> 
    10881 <p>&nbsp;</p> 
    10882 <p>&nbsp;</p> 
    10883 <p>&nbsp;</p> 
    10884 <p>&nbsp;</p> 
     10796<p class="MsoNormal"><b><span style="font-size: 14pt;">&nbsp;</span></b></p> 
     10797<p class="MsoNormal"><b><span style="font-size: 14pt;"></span></b></p> 
     10798<p class="MsoNormal"><b><span style="font-size: 14pt;"></span></b></p> 
     10799<p class="MsoNormal"><b><span style="font-size: 14pt;">&nbsp;</span></b></p> 
     10800<p class="MsoNormal" style="margin-left: 0.25in; text-indent: -0.25in;"><b><span style="font-size: 16pt;">4.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp; 
     10801</span></b><a name="Model"><b><span style="font-size: 16pt;">Customized 
     10802Models </span></b></a></p> 
     10803<p class="MsoNormal" style="margin-left: 0.25in;"><b><span style="font-size: 14pt;">&nbsp;</span></b></p> 
     10804<p class="MsoBodyText" style="margin-left: 0.25in;">Customized 
     10805model functions can be 
     10806redefined or added by users (See SansView tutorial for details). </p> 
     10807<p class="MsoBodyText" style="margin-left: 0.25in;">&nbsp;</p> 
     10808<p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">4.1.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></b><a name="testmodel"><b><span style="font-size: 14pt;">testmodel</span></b></a></p> 
     10809<p class="MsoListParagraph" style="margin-left: 0.55in;"><b><span style="font-size: 14pt;">&nbsp;</span></b></p> 
     10810<p class="MsoNormal">This function, as an example of a 
     10811user defined function, calculates 
     10812the intensity = A + Bcos(2q) + Csin(2q).</p> 
     10813<p class="MsoNormal">&nbsp;</p> 
     10814<p class="MsoNormal">&nbsp;</p> 
     10815<p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">4.2.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></b><a name="testmodel_2"><b><span style="font-size: 14pt;">testmodel_2 
     10816</span></b></a></p> 
     10817<p class="MsoNormal"><b>&nbsp;</b></p> 
     10818<p class="MsoNormal">This function, as an example of a 
     10819user defined function, 
     10820calculates the intensity =&nbsp; scale * sin(f)/f, where f = A + Bq 
     10821+ Cq<sup>2</sup> 
     10822+ Dq<sup>3 </sup>+ Eq<sup>4</sup> + Fq<sup>5</sup>.</p> 
     10823<p class="MsoNormal">&nbsp;</p> 
     10824<p class="MsoNormal">&nbsp;</p> 
     10825<p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">4.3.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     10826</span></b><a name="sum_p1_p2"><b><span style="font-size: 14pt;">sum_p1_p2 
     10827</span></b></a></p> 
     10828<p class="MsoNormal"><b>&nbsp;</b></p> 
     10829<p class="MsoNormal">This function, as an example of a 
     10830user defined function, 
     10831calculates the intensity =&nbsp; scale_factor * (CylinderModel + 
     10832PolymerExclVolume model). 
     10833To make your own sum(P1+P2) model, select 'Easy Custom Sum' from the 
     10834Fitting menu, or modify and compile the file named 'sum_p1_p2.py' from 
     10835'Edit Custom Model' in the 'Fitting' menu. It works only for single 
     10836functional models. 
     10837</p> 
     10838<p class="MsoNormal">&nbsp;</p> 
     10839<p class="MsoNormal">&nbsp;</p> 
     10840<p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">4.4.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></b><a name="sum_Ap1_1_Ap2"><b><span style="font-size: 14pt;">sum_Ap1_1_Ap2 
     10841</span></b></a></p> 
     10842<p class="MsoNormal"><b>&nbsp;</b></p> 
     10843<p class="MsoNormal">This function, as an example of a 
     10844user defined function, 
     10845calculates the intensity =&nbsp; (scale_factor * CylinderModel + 
     10846(1-scale_factor) * PolymerExclVolume model). 
     10847To make your own A*p1+(1-A)*p2 model, modify and compile the file named 
     10848'sum_Ap1_1_Ap2.py' from 'Edit Custom Model' in the 'Fitting' menu. It 
     10849works only for single functional models. 
     10850</p> 
     10851<p class="MsoNormal">&nbsp;</p> 
     10852<p class="MsoNormal">&nbsp;</p> 
     10853<p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">4.5.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     10854</span></b><a name="polynomial5"><b><span style="font-size: 14pt;">polynomial5 
     10855</span></b></a></p> 
     10856<p class="MsoNormal"><b>&nbsp;</b></p> 
     10857<p class="MsoNormal">This function, as an example of a 
     10858user defined function, 
     10859calculates the intensity =&nbsp; A + Bq + Cq<sup>2</sup> 
     10860+ Dq<sup>3 </sup>+ Eq<sup>4</sup> + Fq<sup>5</sup>. 
     10861This model can be modified and compiled from 'Edit Custom Model' in the 
     10862'Fitting' menu. 
     10863</p> 
     10864<p class="MsoNormal">&nbsp;</p> 
     10865<p class="MsoNormal">&nbsp;</p> 
     10866<p class="MsoListParagraph" style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">4.6.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></b><a name="sph_bessel_jn"><b><span style="font-size: 14pt;">sph_bessel_jn 
     10867</span></b></a></p> 
     10868<p class="MsoNormal"><b>&nbsp;</b></p> 
     10869<p class="MsoNormal">This function, as an example of a 
     10870user defined function, 
     10871calculates the intensity =&nbsp; C*sph_jn(Ax+B)+D where the sph_jn 
     10872is spherical Bessel function of the order n. 
     10873This model can be modified and compiled from 'Edit Custom Model' in the 
     10874'Fitting' menu. 
     10875</p> 
     10876<p class="MsoNormal">&nbsp;</p> 
    1088510877<p class="MsoListParagraph" style="margin-left: 0.25in; text-indent: -0.25in;"><b><span style="font-size: 16pt;">5.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp; 
    1088610878</span></b><a name="Structure_Factors"><b><span style="font-size: 16pt;">Structure 
Note: See TracChangeset for help on using the changeset viewer.