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/CorrLengthModel.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>CorrLengthModel &mdash; sansmodels v0.1.0 documentation</title> 
     11    <title>CorrLengthModel &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="Cos" href="Cos.html" /> 
     
    4447          <a href="CoreShellModel.html" title="CoreShellModel" 
    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="corrlengthmodel"> 
    5760<h1>CorrLengthModel<a class="headerlink" href="#corrlengthmodel" title="Permalink to this headline">¶</a></h1> 
    58 <div class="section" id="module-sans.models.CorrLengthModel"> 
    59 <span id="sans-models-corrlengthmodel"></span><h2><a class="reference internal" href="#module-sans.models.CorrLengthModel" title="sans.models.CorrLengthModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.CorrLengthModel</span></tt></a><a class="headerlink" href="#module-sans.models.CorrLengthModel" title="Permalink to this headline">¶</a></h2> 
    60 <p>CorrLengthModel function as a BaseComponent model</p> 
     61<div class="section" id="sans-models-corrlengthmodel"> 
     62<h2><a class="reference internal" href="#module-sans.models.CorrLengthModel" title="sans.models.CorrLengthModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.CorrLengthModel</span></tt></a><a class="headerlink" href="#sans-models-corrlengthmodel" title="Permalink to this headline">¶</a></h2> 
     63<span class="target" id="module-sans.models.CorrLengthModel"></span><p>CorrLengthModel function as a BaseComponent model</p> 
    6164<dl class="class"> 
    6265<dt id="sans.models.CorrLengthModel.CorrLengthModel"> 
     
    6770(1.0 + pow((q*length_l),exponent_l) )+ background</p> 
    6871<dl class="method"> 
     72<dt id="sans.models.CorrLengthModel.CorrLengthModel.__add__"> 
     73<tt class="descname">__add__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.__add__" title="Permalink to this definition">¶</a></dt> 
     74<dd></dd></dl> 
     75 
     76<dl class="method"> 
     77<dt id="sans.models.CorrLengthModel.CorrLengthModel.__div__"> 
     78<tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.__div__" title="Permalink to this definition">¶</a></dt> 
     79<dd></dd></dl> 
     80 
     81<dl class="method"> 
     82<dt id="sans.models.CorrLengthModel.CorrLengthModel.__init__"> 
     83<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.__init__" title="Permalink to this definition">¶</a></dt> 
     84<dd><p>Initialization</p> 
     85</dd></dl> 
     86 
     87<dl class="attribute"> 
     88<dt id="sans.models.CorrLengthModel.CorrLengthModel.__module__"> 
     89<tt class="descname">__module__</tt><em class="property"> = 'sans.models.CorrLengthModel'</em><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.__module__" title="Permalink to this definition">¶</a></dt> 
     90<dd></dd></dl> 
     91 
     92<dl class="method"> 
     93<dt id="sans.models.CorrLengthModel.CorrLengthModel.__mul__"> 
     94<tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.__mul__" title="Permalink to this definition">¶</a></dt> 
     95<dd></dd></dl> 
     96 
     97<dl class="method"> 
     98<dt id="sans.models.CorrLengthModel.CorrLengthModel.__str__"> 
     99<tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.__str__" title="Permalink to this definition">¶</a></dt> 
     100<dd><table class="docutils field-list" frame="void" rules="none"> 
     101<col class="field-name" /> 
     102<col class="field-body" /> 
     103<tbody valign="top"> 
     104<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">string representatio</td> 
     105</tr> 
     106</tbody> 
     107</table> 
     108</dd></dl> 
     109 
     110<dl class="method"> 
     111<dt id="sans.models.CorrLengthModel.CorrLengthModel.__sub__"> 
     112<tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.__sub__" title="Permalink to this definition">¶</a></dt> 
     113<dd></dd></dl> 
     114 
     115<dl class="method"> 
     116<dt id="sans.models.CorrLengthModel.CorrLengthModel._clone"> 
     117<tt class="descname">_clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel._clone" title="Permalink to this definition">¶</a></dt> 
     118<dd><p>Internal utility function to copy the internal 
     119data members to a fresh copy.</p> 
     120</dd></dl> 
     121 
     122<dl class="method"> 
     123<dt id="sans.models.CorrLengthModel.CorrLengthModel._corrlength"> 
     124<tt class="descname">_corrlength</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel._corrlength" title="Permalink to this definition">¶</a></dt> 
     125<dd><p>Model definition</p> 
     126</dd></dl> 
     127 
     128<dl class="method"> 
    69129<dt id="sans.models.CorrLengthModel.CorrLengthModel.calculate_ER"> 
    70130<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.calculate_ER" title="Permalink to this definition">¶</a></dt> 
     
    79139<dl class="method"> 
    80140<dt id="sans.models.CorrLengthModel.CorrLengthModel.evalDistribution"> 
    81 <tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.evalDistribution" title="Permalink to this definition">¶</a></dt> 
     141<tt class="descname">evalDistribution</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.evalDistribution" title="Permalink to this definition">¶</a></dt> 
    82142<dd><p>Evaluate a distribution of q-values.</p> 
    83143<ul> 
     
    104164<col class="field-body" /> 
    105165<tbody valign="top"> 
    106 <tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering  
     166<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  
    107167is supported for python models, thus C-models should have</p> 
    108168<blockquote class="last"> 
     
    120180<col class="field-body" /> 
    121181<tbody valign="top"> 
    122 <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]  
     182<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]  
    123183where qx,qy are 1D ndarrays</td> 
    124184</tr> 
     
    135195<dl class="method"> 
    136196<dt id="sans.models.CorrLengthModel.CorrLengthModel.getParam"> 
    137 <tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getParam" title="Permalink to this definition">¶</a></dt> 
     197<tt class="descname">getParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getParam" title="Permalink to this definition">¶</a></dt> 
    138198<dd><p>Set the value of a model parameter</p> 
    139199<table class="docutils field-list" frame="void" rules="none"> 
     
    141201<col class="field-body" /> 
    142202<tbody valign="top"> 
    143 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td> 
     203<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td> 
    144204</tr> 
    145205</tbody> 
     
    155215<dl class="method"> 
    156216<dt id="sans.models.CorrLengthModel.CorrLengthModel.getParamListWithToken"> 
    157 <tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getParamListWithToken" title="Permalink to this definition">¶</a></dt> 
     217<tt class="descname">getParamListWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getParamListWithToken" title="Permalink to this definition">¶</a></dt> 
    158218<dd></dd></dl> 
    159219 
    160220<dl class="method"> 
    161221<dt id="sans.models.CorrLengthModel.CorrLengthModel.getParamWithToken"> 
    162 <tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getParamWithToken" title="Permalink to this definition">¶</a></dt> 
     222<tt class="descname">getParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getParamWithToken" title="Permalink to this definition">¶</a></dt> 
    163223<dd></dd></dl> 
    164224 
    165225<dl class="method"> 
    166226<dt id="sans.models.CorrLengthModel.CorrLengthModel.is_fittable"> 
    167 <tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.is_fittable" title="Permalink to this definition">¶</a></dt> 
     227<tt class="descname">is_fittable</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.is_fittable" title="Permalink to this definition">¶</a></dt> 
    168228<dd><p>Check if a given parameter is fittable or not</p> 
    169229<table class="docutils field-list" frame="void" rules="none"> 
     
    171231<col class="field-body" /> 
    172232<tbody valign="top"> 
    173 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td> 
     233<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> 
    174234</tr> 
    175235</tbody> 
     
    179239<dl class="method"> 
    180240<dt id="sans.models.CorrLengthModel.CorrLengthModel.run"> 
    181 <tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.run" title="Permalink to this definition">¶</a></dt> 
     241<tt class="descname">run</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.run" title="Permalink to this definition">¶</a></dt> 
    182242<dd><p>Evaluate the model</p> 
    183243<p>param x: input q-value (float or [float, float] as [r, theta]) 
     
    187247<dl class="method"> 
    188248<dt id="sans.models.CorrLengthModel.CorrLengthModel.runXY"> 
    189 <tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.runXY" title="Permalink to this definition">¶</a></dt> 
     249<tt class="descname">runXY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.runXY" title="Permalink to this definition">¶</a></dt> 
    190250<dd><p>Evaluate the model</p> 
    191251<p>param x: input q-value (float or [float, float] as [qx, qy]) 
     
    195255<dl class="method"> 
    196256<dt id="sans.models.CorrLengthModel.CorrLengthModel.setParam"> 
    197 <tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.setParam" title="Permalink to this definition">¶</a></dt> 
     257<tt class="descname">setParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.setParam" title="Permalink to this definition">¶</a></dt> 
    198258<dd><p>Set the value of a model parameter</p> 
    199259<table class="docutils field-list" frame="void" rules="none"> 
     
    201261<col class="field-body" /> 
    202262<tbody valign="top"> 
    203 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 
     263<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 
    204264<li><strong>name</strong> &#8211; name of the parameter</li> 
    205265<li><strong>value</strong> &#8211; value of the parameter</li> 
     
    213273<dl class="method"> 
    214274<dt id="sans.models.CorrLengthModel.CorrLengthModel.setParamWithToken"> 
    215 <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.CorrLengthModel.CorrLengthModel.setParamWithToken" title="Permalink to this definition">¶</a></dt> 
     275<tt class="descname">setParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.setParamWithToken" title="Permalink to this definition">¶</a></dt> 
    216276<dd></dd></dl> 
    217277 
     
    230290  <ul> 
    231291<li><a class="reference internal" href="#">CorrLengthModel</a><ul> 
    232 <li><a class="reference internal" href="#module-sans.models.CorrLengthModel"><tt class="docutils literal"><span class="pre">sans.models.CorrLengthModel</span></tt></a></li> 
     292<li><a class="reference internal" href="#sans-models-corrlengthmodel"><tt class="docutils literal"><span class="pre">sans.models.CorrLengthModel</span></tt></a></li> 
    233293</ul> 
    234294</li> 
     
    249309  <h3>Quick search</h3> 
    250310    <form class="search" action="../search.html" method="get"> 
    251       <input type="text" name="q" size="18" /> 
     311      <input type="text" name="q" /> 
    252312      <input type="submit" value="Go" /> 
    253313      <input type="hidden" name="check_keywords" value="yes" /> 
     
    278338          <a href="CoreShellModel.html" title="CoreShellModel" 
    279339             >previous</a> |</li> 
    280         <li><a href="../index.html">sansmodels v0.1.0 documentation</a> &raquo;</li> 
     340        <li><a href="../index.html">sansmodels 0.1.0 documentation</a> &raquo;</li> 
    281341          <li><a href="index.html" >Reference</a> &raquo;</li>  
    282342      </ul> 
     
    284344    <div class="footer"> 
    285345        &copy; Copyright 2010, sans group. 
    286       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7. 
     346      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. 
    287347    </div> 
    288348  </body> 
Note: See TracChangeset for help on using the changeset viewer.