Changeset b71c914 in sasview
- Timestamp:
- May 24, 2011 2:27:37 PM (14 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:
- 8e33400
- Parents:
- e42cc0e0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/media/model_functions.html
r4a74847 rb71c914 506 506 <li class=MsoNormal style='line-height:115%'><a href="#Model"><b>Customized 507 507 Models</b></a>: <a href="#A+Bcos(2x)+Csin(2x)">A+Bcos(2x)+Csin(2x)</a>, <a 508 href="#sinpoly_poly">sin(poly)/(poly)</a>, <a href="# ReflectivityModel">ReflectivityModel</a>,508 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>, 509 509 <a href="#ReflectivityIIModel">ReflectivityIIModel</a>.</li> 510 510 <li class=MsoNormal style='line-height:115%'><a href="#Structure_Factors"><b>Structure … … 13735 13735 14.0pt'> </span></b></p> 13736 13736 13737 <p class=MsoNormal>This function, as a sample of a user defined function, calculates13737 <p class=MsoNormal>This function, as an example of a user defined function, calculates 13738 13738 the intensity = A + Bcos(2q) + Csin(2q).</p> 13739 13739 … … 13749 13749 <p class=MsoNormal><b> </b></p> 13750 13750 13751 <p class=MsoNormal>This function, as a sample of a user defined function,13751 <p class=MsoNormal>This function, as an example of a user defined function, 13752 13752 calculates the intensity = scale * sin(f)/f, where f = A + Bq + Cq<sup>2</sup> 13753 13753 + Dq<sup>3 </sup>+ Eq<sup>4</sup> + Fq<sup>5</sup>.</p> … … 13759 13759 <p class=MsoListParagraph style='margin-left:.55in;text-indent:-.3in'><b><span 13760 13760 style='font-size:14.0pt'>4.3.</span></b><b><span style='font-size:7.0pt'> 13761 </span></b><a name="Sum[P1(Cyl), P2(PEV)]"><b><span style='font-size:14.0pt'>Sum[P1(Cyl), P2(PEV)] 13762 </span></b></a></p> 13763 13764 <p class=MsoNormal><b> </b></p> 13765 13766 <p class=MsoNormal>This function, as an example of a user defined function, 13767 calculates the intensity = scale_factor * (CylinderModel + PolymerExclVolume model). 13768 To make your own sum(P1+P2) model, modify and save the file named 'sum_p1_p2.py' in the SansView/plugins/ folder 13769 by changing the model names in the 'from' and 'import' statement, and the self.name if desired. 13770 </p> 13771 <p class=MsoNormal> </p> 13772 13773 <p class=MsoNormal> </p> 13774 13775 <p class=MsoListParagraph style='margin-left:.55in;text-indent:-.3in'><b><span 13776 style='font-size:14.0pt'>4.4.</span></b><b><span style='font-size:7.0pt'> 13761 13777 </span></b><a name=ReflectivityModel><b><span style='font-size:14.0pt'>ReflectivityModel</span></b></a></p> 13762 13778 … … 13800 13816 13801 13817 <p class=MsoListParagraph style='margin-left:.55in;text-indent:-.3in'><b><span 13802 style='font-size:14.0pt'>4. 4.</span></b><b><span style='font-size:7.0pt'> 13818 style='font-size:14.0pt'>4.5.</span></b><b><span style='font-size:7.0pt'> 13803 13819 </span></b><a name=ReflectivityIIModel><b><span style='font-size:14.0pt'>ReflectivityIIModel</span></b></a></p> 13804 13820
Note: See TracChangeset
for help on using the changeset viewer.