Changeset b71c914 in sasview for sansmodels/src


Ignore:
Timestamp:
May 24, 2011 2:27:37 PM (14 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:
8e33400
Parents:
e42cc0e0
Message:

added sum model help

File:
1 edited

Legend:

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

    r4a74847 rb71c914  
    506506 <li class=MsoNormal style='line-height:115%'><a href="#Model"><b>Customized 
    507507     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>, 
    509509     <a href="#ReflectivityIIModel">ReflectivityIIModel</a>.</li> 
    510510 <li class=MsoNormal style='line-height:115%'><a href="#Structure_Factors"><b>Structure 
     
    137351373514.0pt'>&nbsp;</span></b></p> 
    1373613736 
    13737 <p class=MsoNormal>This function, as a sample of a user defined function, calculates 
     13737<p class=MsoNormal>This function, as an example of a user defined function, calculates 
    1373813738the intensity = A + Bcos(2q) + Csin(2q).</p> 
    1373913739 
     
    1374913749<p class=MsoNormal><b>&nbsp;</b></p> 
    1375013750 
    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, 
    1375213752calculates the intensity =&nbsp; scale * sin(f)/f, where f = A + Bq + Cq<sup>2</sup> 
    1375313753+ Dq<sup>3 </sup>+ Eq<sup>4</sup> + Fq<sup>5</sup>.</p> 
     
    1375913759<p class=MsoListParagraph style='margin-left:.55in;text-indent:-.3in'><b><span 
    1376013760style='font-size:14.0pt'>4.3.</span></b><b><span style='font-size:7.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     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>&nbsp;</b></p> 
     13765 
     13766<p class=MsoNormal>This function, as an example of a user defined function, 
     13767calculates the intensity =&nbsp; scale_factor * (CylinderModel + PolymerExclVolume model). 
     13768To make your own sum(P1+P2) model, modify and save the file named 'sum_p1_p2.py' in the SansView/plugins/ folder  
     13769by changing the model names in the 'from' and 'import' statement, and the self.name if desired. 
     13770</p> 
     13771<p class=MsoNormal>&nbsp;</p> 
     13772 
     13773<p class=MsoNormal>&nbsp;</p> 
     13774 
     13775<p class=MsoListParagraph style='margin-left:.55in;text-indent:-.3in'><b><span 
     13776style='font-size:14.0pt'>4.4.</span></b><b><span style='font-size:7.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    1376113777</span></b><a name=ReflectivityModel><b><span style='font-size:14.0pt'>ReflectivityModel</span></b></a></p> 
    1376213778 
     
    1380013816 
    1380113817<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'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     13818style='font-size:14.0pt'>4.5.</span></b><b><span style='font-size:7.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    1380313819</span></b><a name=ReflectivityIIModel><b><span style='font-size:14.0pt'>ReflectivityIIModel</span></b></a></p> 
    1380413820 
Note: See TracChangeset for help on using the changeset viewer.