Changeset 27f1ddb in sasview for sansmodels/src/sans/models
- Timestamp:
- Dec 23, 2011 11:02:06 AM (13 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:
- e9bd127
- Parents:
- e9f6979
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/media/model_functions.html
r28c9e5a r27f1ddb 508 508 <li class=MsoNormal style='line-height:115%'><a href="#Model"><b>Customized 509 509 Models</b></a>: <a href="#A+Bcos(2x)+Csin(2x)">A+Bcos(2x)+Csin(2x)</a>, <a 510 href="#sinpoly_poly">sin(poly)/(poly)</a>, <a href="#Sum[P1(Cyl), P2(PEV)]">Sum[P1(Cyl), P2(PEV)]</a>, <a href="#ReflectivityModel">ReflectivityModel</a>, 510 href="#sinpoly_poly">sin(poly)/(poly)</a>, <a href="#CM+PEV">CM+PEV</a>, 511 <a href="#A*CM+(1-A)*PEV">A*CM+(1-A)*PEV</a>, 512 <a href="#polynomial5">polynomial5</a>, 513 <a href="#C*sph_jn(Ax+B)+D">C*sph_jn(Ax+B)+D</a>, 514 <a href="#ReflectivityModel">ReflectivityModel</a>, 511 515 <a href="#ReflectivityIIModel">ReflectivityIIModel</a>.</li> 512 516 <li class=MsoNormal style='line-height:115%'><a href="#Structure_Factors"><b>Structure … … 2882 2886 2883 2887 <p class=MsoNormal>Once the <i><span style='font-family:Symbol'>r</span><sub>inter_i</sub></i> 2884 is found at the boundary of the sub-layer of the interface, we can find theits2888 is found at the boundary of the sub-layer of the interface, we can find its 2885 2889 contribution to the form factor P(q);</p> 2886 2890 … … 14026 14030 <p class=MsoListParagraph style='margin-left:.55in;text-indent:-.3in'><b><span 14027 14031 style='font-size:14.0pt'>4.3.</span></b><b><span style='font-size:7.0pt'> 14028 </span></b><a name=" Sum[P1(Cyl), P2(PEV)]"><b><span style='font-size:14.0pt'>Sum[P1(Cyl), P2(PEV)]14032 </span></b><a name="CM+PEV"><b><span style='font-size:14.0pt'>CM+PEV 14029 14033 </span></b></a></p> 14030 14034 … … 14033 14037 <p class=MsoNormal>This function, as an example of a user defined function, 14034 14038 calculates the intensity = scale_factor * (CylinderModel + PolymerExclVolume model). 14035 To make your own sum(P1+P2) model, modify and save the file named 'sum_p1_p2.py' in the SansView/plugins/ folder14036 by changing the model names in the 'from' and 'import' statement, and the self.name if desired.It works only for single functional models.14039 To make your own sum(P1+P2) model, select 'Easy Custom Sum' from the Fitting menu, or modify and compile the file named 'sum_p1_p2.py' from 'Edit Custom Model' in the 'Fitting' menu. 14040 It works only for single functional models. 14037 14041 </p> 14038 14042 <p class=MsoNormal> </p> … … 14042 14046 <p class=MsoListParagraph style='margin-left:.55in;text-indent:-.3in'><b><span 14043 14047 style='font-size:14.0pt'>4.4.</span></b><b><span style='font-size:7.0pt'> 14048 </span></b><a name="A*CM+(1-A)*PEV"><b><span style='font-size:14.0pt'>A*CM+(1-A)*PEV 14049 </span></b></a></p> 14050 14051 <p class=MsoNormal><b> </b></p> 14052 14053 <p class=MsoNormal>This function, as an example of a user defined function, 14054 calculates the intensity = (scale_factor * CylinderModel + (1-scale_factor) * PolymerExclVolume model). 14055 To make your own A*p1+(1-A)*p2 model, modify and compile the file named 'sum_Ap1_1_Ap2.py' from 'Edit Custom Model' in the 'Fitting' menu. It works only for single functional models. 14056 </p> 14057 <p class=MsoNormal> </p> 14058 14059 <p class=MsoNormal> </p> 14060 14061 <p class=MsoListParagraph style='margin-left:.55in;text-indent:-.3in'><b><span 14062 style='font-size:14.0pt'>4.5.</span></b><b><span style='font-size:7.0pt'> 14063 </span></b><a name="polynomial5"><b><span style='font-size:14.0pt'>polynomial5 14064 </span></b></a></p> 14065 14066 <p class=MsoNormal><b> </b></p> 14067 14068 <p class=MsoNormal>This function, as an example of a user defined function, 14069 calculates the intensity = A + Bq + Cq<sup>2</sup> 14070 + Dq<sup>3 </sup>+ Eq<sup>4</sup> + Fq<sup>5</sup>. 14071 This model can be modified and compiled from 'Edit Custom Model' in the 'Fitting' menu. 14072 </p> 14073 <p class=MsoNormal> </p> 14074 14075 <p class=MsoNormal> </p> 14076 <p class=MsoListParagraph style='margin-left:.55in;text-indent:-.3in'><b><span 14077 style='font-size:14.0pt'>4.6.</span></b><b><span style='font-size:7.0pt'> 14078 </span></b><a name="C*sph_jn(Ax+B)+D"><b><span style='font-size:14.0pt'>C*sph_jn(Ax+B)+D 14079 </span></b></a></p> 14080 14081 <p class=MsoNormal><b> </b></p> 14082 14083 <p class=MsoNormal>This function, as an example of a user defined function, 14084 calculates the intensity = C*sph_jn(Ax+B)+D where the sph_jn is spherical Bessel function of the order n. 14085 This model can be modified and compiled from 'Edit Custom Model' in the 'Fitting' menu. 14086 </p> 14087 <p class=MsoNormal> </p> 14088 14089 <p class=MsoNormal> </p> 14090 <p class=MsoListParagraph style='margin-left:.55in;text-indent:-.3in'><b><span 14091 style='font-size:14.0pt'>4.7.</span></b><b><span style='font-size:7.0pt'> 14044 14092 </span></b><a name=ReflectivityModel><b><span style='font-size:14.0pt'>ReflectivityModel</span></b></a></p> 14045 14093 … … 14083 14131 14084 14132 <p class=MsoListParagraph style='margin-left:.55in;text-indent:-.3in'><b><span 14085 style='font-size:14.0pt'>4. 5.</span></b><b><span style='font-size:7.0pt'> 14133 style='font-size:14.0pt'>4.8.</span></b><b><span style='font-size:7.0pt'> 14086 14134 </span></b><a name=ReflectivityIIModel><b><span style='font-size:14.0pt'>ReflectivityIIModel</span></b></a></p> 14087 14135
Note: See TracChangeset
for help on using the changeset viewer.