Ignore:
Timestamp:
Oct 24, 2011 2:52:52 PM (13 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
8d70c0a
Parents:
67cd7c0
Message:

edit docs for models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/docs/sphinx/html/api/BEPolyelectrolyte.html

    r512573a rc0d873f  
    33<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    44  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     5 
    56 
    67<html xmlns="http://www.w3.org/1999/xhtml"> 
     
    89    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    910     
    10     <title>BEPolyelectrolyte &mdash; sansmodels v0.1.0 documentation</title> 
     11    <title>BEPolyelectrolyte &mdash; sansmodels 0.1.0 documentation</title> 
     12     
    1113    <link rel="stylesheet" href="../_static/default.css" type="text/css" /> 
    1214    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> 
     15     
    1316    <script type="text/javascript"> 
    1417      var DOCUMENTATION_OPTIONS = { 
     
    2326    <script type="text/javascript" src="../_static/underscore.js"></script> 
    2427    <script type="text/javascript" src="../_static/doctools.js"></script> 
    25     <link rel="top" title="sansmodels v0.1.0 documentation" href="../index.html" /> 
     28    <link rel="top" title="sansmodels 0.1.0 documentation" href="../index.html" /> 
    2629    <link rel="up" title="Reference" href="index.html" /> 
    2730    <link rel="next" title="BinaryHSModel" href="BinaryHSModel.html" /> 
     
    4447          <a href="BCCrystalModel.html" title="BCCrystalModel" 
    4548             accesskey="P">previous</a> |</li> 
    46         <li><a href="../index.html">sansmodels v0.1.0 documentation</a> &raquo;</li> 
     49        <li><a href="../index.html">sansmodels 0.1.0 documentation</a> &raquo;</li> 
    4750          <li><a href="index.html" accesskey="U">Reference</a> &raquo;</li>  
    4851      </ul> 
     
    5659  <div class="section" id="bepolyelectrolyte"> 
    5760<h1>BEPolyelectrolyte<a class="headerlink" href="#bepolyelectrolyte" title="Permalink to this headline">¶</a></h1> 
    58 <div class="section" id="module-sans.models.BEPolyelectrolyte"> 
    59 <span id="sans-models-bepolyelectrolyte"></span><h2><a class="reference internal" href="#module-sans.models.BEPolyelectrolyte" title="sans.models.BEPolyelectrolyte"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.BEPolyelectrolyte</span></tt></a><a class="headerlink" href="#module-sans.models.BEPolyelectrolyte" title="Permalink to this headline">¶</a></h2> 
    60 <p>Provide F(x) = K*1/(4*pi*Lb*(alpha)^(2))*(q^(2)+k2)/(1+(r02)^(2))*(q^(2)+k2)                       <a href="#id1"><span class="problematic" id="id2">*</span></a>(q^(2)-(12*h*C/b^(2))) 
     61<div class="section" id="sans-models-bepolyelectrolyte"> 
     62<h2><a class="reference internal" href="#module-sans.models.BEPolyelectrolyte" title="sans.models.BEPolyelectrolyte"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.BEPolyelectrolyte</span></tt></a><a class="headerlink" href="#sans-models-bepolyelectrolyte" title="Permalink to this headline">¶</a></h2> 
     63<span class="target" id="module-sans.models.BEPolyelectrolyte"></span><p>Provide F(x) = K*1/(4*pi*Lb*(alpha)^(2))*(q^(2)+k2)/(1+(r02)^(2))*(q^(2)+k2)                       <a href="#id1"><span class="problematic" id="id2">*</span></a>(q^(2)-(12*h*C/b^(2))) 
    6164BEPolyelectrolyte as a BaseComponent model</p> 
    6265<dl class="class"> 
     
    7881</dl> 
    7982<dl class="method"> 
     83<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte._BEPoly"> 
     84<tt class="descname">_BEPoly</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte._BEPoly" title="Permalink to this definition">¶</a></dt> 
     85<dd><p>Evaluate   
     86F(x) = K*1/(4*pi*Lb*(alpha)^(2))*(q^(2)+k2)/(1+(r02)^(2))</p> 
     87<blockquote> 
     88<div><a href="#id5"><span class="problematic" id="id6">*</span></a>(q^(2)+k2)*(q^(2)-(12*h*C/b^(2)))</div></blockquote> 
     89<dl class="docutils"> 
     90<dt>has 3 internal parameters :</dt> 
     91<dd>The inverse Debye Length: K2 = 4*pi*Lb*(2*Cs+alpha*C) 
     92r02 =1/alpha/Ca^(0.5)*(B/(48*pi*Lb)^(0.5)) 
     93Ca = C*6.022136e-4</dd> 
     94</dl> 
     95</dd></dl> 
     96 
     97<dl class="method"> 
     98<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.__add__"> 
     99<tt class="descname">__add__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.__add__" title="Permalink to this definition">¶</a></dt> 
     100<dd></dd></dl> 
     101 
     102<dl class="method"> 
     103<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.__div__"> 
     104<tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.__div__" title="Permalink to this definition">¶</a></dt> 
     105<dd></dd></dl> 
     106 
     107<dl class="method"> 
     108<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.__init__"> 
     109<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.__init__" title="Permalink to this definition">¶</a></dt> 
     110<dd><p>Initialization</p> 
     111</dd></dl> 
     112 
     113<dl class="attribute"> 
     114<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.__module__"> 
     115<tt class="descname">__module__</tt><em class="property"> = 'sans.models.BEPolyelectrolyte'</em><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.__module__" title="Permalink to this definition">¶</a></dt> 
     116<dd></dd></dl> 
     117 
     118<dl class="method"> 
     119<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.__mul__"> 
     120<tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.__mul__" title="Permalink to this definition">¶</a></dt> 
     121<dd></dd></dl> 
     122 
     123<dl class="method"> 
     124<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.__str__"> 
     125<tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.__str__" title="Permalink to this definition">¶</a></dt> 
     126<dd><table class="docutils field-list" frame="void" rules="none"> 
     127<col class="field-name" /> 
     128<col class="field-body" /> 
     129<tbody valign="top"> 
     130<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">string representatio</td> 
     131</tr> 
     132</tbody> 
     133</table> 
     134</dd></dl> 
     135 
     136<dl class="method"> 
     137<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.__sub__"> 
     138<tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.__sub__" title="Permalink to this definition">¶</a></dt> 
     139<dd></dd></dl> 
     140 
     141<dl class="method"> 
     142<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte._clone"> 
     143<tt class="descname">_clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte._clone" title="Permalink to this definition">¶</a></dt> 
     144<dd><p>Internal utility function to copy the internal 
     145data members to a fresh copy.</p> 
     146</dd></dl> 
     147 
     148<dl class="method"> 
    80149<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.calculate_ER"> 
    81150<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.calculate_ER" title="Permalink to this definition">¶</a></dt> 
     
    90159<dl class="method"> 
    91160<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.evalDistribution"> 
    92 <tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.evalDistribution" title="Permalink to this definition">¶</a></dt> 
     161<tt class="descname">evalDistribution</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.evalDistribution" title="Permalink to this definition">¶</a></dt> 
    93162<dd><p>Evaluate a distribution of q-values.</p> 
    94163<ul> 
     
    115184<col class="field-body" /> 
    116185<tbody valign="top"> 
    117 <tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering  
     186<tr class="field-odd field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering  
    118187is supported for python models, thus C-models should have</p> 
    119188<blockquote class="last"> 
     
    131200<col class="field-body" /> 
    132201<tbody valign="top"> 
    133 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy]  
     202<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy]  
    134203where qx,qy are 1D ndarrays</td> 
    135204</tr> 
     
    146215<dl class="method"> 
    147216<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParam"> 
    148 <tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParam" title="Permalink to this definition">¶</a></dt> 
     217<tt class="descname">getParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParam" title="Permalink to this definition">¶</a></dt> 
    149218<dd><p>Set the value of a model parameter</p> 
    150219<table class="docutils field-list" frame="void" rules="none"> 
     
    152221<col class="field-body" /> 
    153222<tbody valign="top"> 
    154 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td> 
     223<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td> 
    155224</tr> 
    156225</tbody> 
     
    166235<dl class="method"> 
    167236<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParamListWithToken"> 
    168 <tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParamListWithToken" title="Permalink to this definition">¶</a></dt> 
     237<tt class="descname">getParamListWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParamListWithToken" title="Permalink to this definition">¶</a></dt> 
    169238<dd></dd></dl> 
    170239 
    171240<dl class="method"> 
    172241<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParamWithToken"> 
    173 <tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParamWithToken" title="Permalink to this definition">¶</a></dt> 
     242<tt class="descname">getParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParamWithToken" title="Permalink to this definition">¶</a></dt> 
    174243<dd></dd></dl> 
    175244 
    176245<dl class="method"> 
    177246<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.is_fittable"> 
    178 <tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.is_fittable" title="Permalink to this definition">¶</a></dt> 
     247<tt class="descname">is_fittable</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.is_fittable" title="Permalink to this definition">¶</a></dt> 
    179248<dd><p>Check if a given parameter is fittable or not</p> 
    180249<table class="docutils field-list" frame="void" rules="none"> 
     
    182251<col class="field-body" /> 
    183252<tbody valign="top"> 
    184 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td> 
     253<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td> 
    185254</tr> 
    186255</tbody> 
     
    190259<dl class="method"> 
    191260<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.run"> 
    192 <tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.run" title="Permalink to this definition">¶</a></dt> 
     261<tt class="descname">run</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.run" title="Permalink to this definition">¶</a></dt> 
    193262<dd><p>Evaluate the model 
    194263&#64;param x: input q-value (float or [float, float] as [r, theta]) 
     
    198267<dl class="method"> 
    199268<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.runXY"> 
    200 <tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.runXY" title="Permalink to this definition">¶</a></dt> 
     269<tt class="descname">runXY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.runXY" title="Permalink to this definition">¶</a></dt> 
    201270<dd><p>Evaluate the model 
    202271&#64;param x: input q-value (float or [float, float] as [qx, qy]) 
     
    206275<dl class="method"> 
    207276<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.setParam"> 
    208 <tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.setParam" title="Permalink to this definition">¶</a></dt> 
     277<tt class="descname">setParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.setParam" title="Permalink to this definition">¶</a></dt> 
    209278<dd><p>Set the value of a model parameter</p> 
    210279<table class="docutils field-list" frame="void" rules="none"> 
     
    212281<col class="field-body" /> 
    213282<tbody valign="top"> 
    214 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 
     283<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 
    215284<li><strong>name</strong> &#8211; name of the parameter</li> 
    216285<li><strong>value</strong> &#8211; value of the parameter</li> 
     
    224293<dl class="method"> 
    225294<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.setParamWithToken"> 
    226 <tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.setParamWithToken" title="Permalink to this definition">¶</a></dt> 
     295<tt class="descname">setParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.setParamWithToken" title="Permalink to this definition">¶</a></dt> 
    227296<dd></dd></dl> 
    228297 
     
    241310  <ul> 
    242311<li><a class="reference internal" href="#">BEPolyelectrolyte</a><ul> 
    243 <li><a class="reference internal" href="#module-sans.models.BEPolyelectrolyte"><tt class="docutils literal"><span class="pre">sans.models.BEPolyelectrolyte</span></tt></a></li> 
     312<li><a class="reference internal" href="#sans-models-bepolyelectrolyte"><tt class="docutils literal"><span class="pre">sans.models.BEPolyelectrolyte</span></tt></a></li> 
    244313</ul> 
    245314</li> 
     
    260329  <h3>Quick search</h3> 
    261330    <form class="search" action="../search.html" method="get"> 
    262       <input type="text" name="q" size="18" /> 
     331      <input type="text" name="q" /> 
    263332      <input type="submit" value="Go" /> 
    264333      <input type="hidden" name="check_keywords" value="yes" /> 
     
    289358          <a href="BCCrystalModel.html" title="BCCrystalModel" 
    290359             >previous</a> |</li> 
    291         <li><a href="../index.html">sansmodels v0.1.0 documentation</a> &raquo;</li> 
     360        <li><a href="../index.html">sansmodels 0.1.0 documentation</a> &raquo;</li> 
    292361          <li><a href="index.html" >Reference</a> &raquo;</li>  
    293362      </ul> 
     
    295364    <div class="footer"> 
    296365        &copy; Copyright 2010, sans group. 
    297       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7. 
     366      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. 
    298367    </div> 
    299368  </body> 
Note: See TracChangeset for help on using the changeset viewer.