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/CoreMultiShellModel.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>CoreMultiShellModel &mdash; sansmodels v0.1.0 documentation</title> 
     11    <title>CoreMultiShellModel &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="CoreShellCylinderModel" href="CoreShellCylinderModel.html" /> 
     
    4447          <a href="CoreFourShellModel.html" title="CoreFourShellModel" 
    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="coremultishellmodel"> 
    5760<h1>CoreMultiShellModel<a class="headerlink" href="#coremultishellmodel" title="Permalink to this headline">¶</a></h1> 
    58 <div class="section" id="module-sans.models.CoreMultiShellModel"> 
    59 <span id="sans-models-coremultishellmodel"></span><h2><a class="reference internal" href="#module-sans.models.CoreMultiShellModel" title="sans.models.CoreMultiShellModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.CoreMultiShellModel</span></tt></a><a class="headerlink" href="#module-sans.models.CoreMultiShellModel" title="Permalink to this headline">¶</a></h2> 
    60 <dl class="class"> 
     61<div class="section" id="sans-models-coremultishellmodel"> 
     62<h2><a class="reference internal" href="#module-sans.models.CoreMultiShellModel" title="sans.models.CoreMultiShellModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.CoreMultiShellModel</span></tt></a><a class="headerlink" href="#sans-models-coremultishellmodel" title="Permalink to this headline">¶</a></h2> 
     63<span class="target" id="module-sans.models.CoreMultiShellModel"></span><dl class="class"> 
    6164<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel"> 
    62 <em class="property">class </em><tt class="descclassname">sans.models.CoreMultiShellModel.</tt><tt class="descname">CoreMultiShellModel</tt><big>(</big><em>multfactor=1</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel" title="Permalink to this definition">¶</a></dt> 
     65<em class="property">class </em><tt class="descclassname">sans.models.CoreMultiShellModel.</tt><tt class="descname">CoreMultiShellModel</tt><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel" title="Permalink to this definition">¶</a></dt> 
    6366<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p> 
    6467<p>This multi-model is based on CoreFourShellModel and provides the capability 
    6568of changing the number of shells between 1 and 4.</p> 
    6669<dl class="method"> 
     70<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.__add__"> 
     71<tt class="descname">__add__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.__add__" title="Permalink to this definition">¶</a></dt> 
     72<dd></dd></dl> 
     73 
     74<dl class="method"> 
     75<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.__div__"> 
     76<tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.__div__" title="Permalink to this definition">¶</a></dt> 
     77<dd></dd></dl> 
     78 
     79<dl class="method"> 
     80<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.__init__"> 
     81<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.__init__" title="Permalink to this definition">¶</a></dt> 
     82<dd></dd></dl> 
     83 
     84<dl class="attribute"> 
     85<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.__module__"> 
     86<tt class="descname">__module__</tt><em class="property"> = 'sans.models.CoreMultiShellModel'</em><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.__module__" title="Permalink to this definition">¶</a></dt> 
     87<dd></dd></dl> 
     88 
     89<dl class="method"> 
     90<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.__mul__"> 
     91<tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.__mul__" title="Permalink to this definition">¶</a></dt> 
     92<dd></dd></dl> 
     93 
     94<dl class="method"> 
     95<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.__str__"> 
     96<tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.__str__" title="Permalink to this definition">¶</a></dt> 
     97<dd><table class="docutils field-list" frame="void" rules="none"> 
     98<col class="field-name" /> 
     99<col class="field-body" /> 
     100<tbody valign="top"> 
     101<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">string representatio</td> 
     102</tr> 
     103</tbody> 
     104</table> 
     105</dd></dl> 
     106 
     107<dl class="method"> 
     108<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.__sub__"> 
     109<tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.__sub__" title="Permalink to this definition">¶</a></dt> 
     110<dd></dd></dl> 
     111 
     112<dl class="method"> 
     113<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel._clone"> 
     114<tt class="descname">_clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel._clone" title="Permalink to this definition">¶</a></dt> 
     115<dd><p>Internal utility function to copy the internal 
     116data members to a fresh copy.</p> 
     117</dd></dl> 
     118 
     119<dl class="method"> 
     120<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel._setParamHelper"> 
     121<tt class="descname">_setParamHelper</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel._setParamHelper" title="Permalink to this definition">¶</a></dt> 
     122<dd><p>Helper function to setParam</p> 
     123</dd></dl> 
     124 
     125<dl class="method"> 
     126<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel._set_details"> 
     127<tt class="descname">_set_details</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel._set_details" title="Permalink to this definition">¶</a></dt> 
     128<dd><p>Concatenate details of the original model to create 
     129this model details</p> 
     130</dd></dl> 
     131 
     132<dl class="method"> 
     133<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel._set_dispersion"> 
     134<tt class="descname">_set_dispersion</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel._set_dispersion" title="Permalink to this definition">¶</a></dt> 
     135<dd><p>model dispersions 
     136Polydispersion should not be applied to s_model</p> 
     137</dd></dl> 
     138 
     139<dl class="method"> 
     140<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel._set_fixed_params"> 
     141<tt class="descname">_set_fixed_params</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel._set_fixed_params" title="Permalink to this definition">¶</a></dt> 
     142<dd><p>Fill the self.fixed list with the model fixed list</p> 
     143</dd></dl> 
     144 
     145<dl class="method"> 
     146<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel._set_params"> 
     147<tt class="descname">_set_params</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel._set_params" title="Permalink to this definition">¶</a></dt> 
     148<dd><p>Concatenate the parameters of the model to create 
     149this model parameters</p> 
     150</dd></dl> 
     151 
     152<dl class="method"> 
     153<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel._set_xtra_model_param"> 
     154<tt class="descname">_set_xtra_model_param</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel._set_xtra_model_param" title="Permalink to this definition">¶</a></dt> 
     155<dd><p>Set params of original model that are hidden from this model</p> 
     156</dd></dl> 
     157 
     158<dl class="method"> 
    67159<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.calculate_ER"> 
    68160<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.calculate_ER" title="Permalink to this definition">¶</a></dt> 
     
    77169<dl class="method"> 
    78170<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.evalDistribution"> 
    79 <tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.evalDistribution" title="Permalink to this definition">¶</a></dt> 
     171<tt class="descname">evalDistribution</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.evalDistribution" title="Permalink to this definition">¶</a></dt> 
    80172<dd><p>Evaluate the model in cartesian coordinates</p> 
    81173<p>: param x: input q[], or [qx[], qy[]] 
     
    91183<dl class="method"> 
    92184<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.getParam"> 
    93 <tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.getParam" title="Permalink to this definition">¶</a></dt> 
     185<tt class="descname">getParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.getParam" title="Permalink to this definition">¶</a></dt> 
    94186<dd><p>Set the value of a model parameter</p> 
    95187<table class="docutils field-list" frame="void" rules="none"> 
     
    97189<col class="field-body" /> 
    98190<tbody valign="top"> 
    99 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td> 
     191<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td> 
    100192</tr> 
    101193</tbody> 
     
    111203<dl class="method"> 
    112204<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.getParamListWithToken"> 
    113 <tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.getParamListWithToken" title="Permalink to this definition">¶</a></dt> 
     205<tt class="descname">getParamListWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.getParamListWithToken" title="Permalink to this definition">¶</a></dt> 
    114206<dd></dd></dl> 
    115207 
    116208<dl class="method"> 
    117209<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.getParamWithToken"> 
    118 <tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.getParamWithToken" title="Permalink to this definition">¶</a></dt> 
     210<tt class="descname">getParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.getParamWithToken" title="Permalink to this definition">¶</a></dt> 
    119211<dd></dd></dl> 
    120212 
     
    132224<dl class="method"> 
    133225<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.is_fittable"> 
    134 <tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.is_fittable" title="Permalink to this definition">¶</a></dt> 
     226<tt class="descname">is_fittable</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.is_fittable" title="Permalink to this definition">¶</a></dt> 
    135227<dd><p>Check if a given parameter is fittable or not</p> 
    136228<table class="docutils field-list" frame="void" rules="none"> 
     
    138230<col class="field-body" /> 
    139231<tbody valign="top"> 
    140 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td> 
     232<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> 
    141233</tr> 
    142234</tbody> 
     
    146238<dl class="method"> 
    147239<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.run"> 
    148 <tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.run" title="Permalink to this definition">¶</a></dt> 
     240<tt class="descname">run</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.run" title="Permalink to this definition">¶</a></dt> 
    149241<dd><p>Evaluate the model</p> 
    150242<p>: param x: input q-value (float or [float, float] as [r, theta]) 
     
    154246<dl class="method"> 
    155247<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.runXY"> 
    156 <tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.runXY" title="Permalink to this definition">¶</a></dt> 
     248<tt class="descname">runXY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.runXY" title="Permalink to this definition">¶</a></dt> 
    157249<dd><p>Evaluate the model</p> 
    158250<p>: param x: input q-value (float or [float, float] as [qx, qy]) 
     
    162254<dl class="method"> 
    163255<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.setParam"> 
    164 <tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.setParam" title="Permalink to this definition">¶</a></dt> 
     256<tt class="descname">setParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.setParam" title="Permalink to this definition">¶</a></dt> 
    165257<dd><p>Set the value of a model parameter</p> 
    166258<p>: param name: name of the parameter 
     
    170262<dl class="method"> 
    171263<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.setParamWithToken"> 
    172 <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.CoreMultiShellModel.CoreMultiShellModel.setParamWithToken" title="Permalink to this definition">¶</a></dt> 
     264<tt class="descname">setParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.setParamWithToken" title="Permalink to this definition">¶</a></dt> 
    173265<dd></dd></dl> 
    174266 
    175267<dl class="method"> 
    176268<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.set_dispersion"> 
    177 <tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.set_dispersion" title="Permalink to this definition">¶</a></dt> 
     269<tt class="descname">set_dispersion</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.set_dispersion" title="Permalink to this definition">¶</a></dt> 
    178270<dd><p>Set the dispersion object for a model parameter</p> 
    179271<p>: param parameter: name of the parameter [string] 
     
    195287  <ul> 
    196288<li><a class="reference internal" href="#">CoreMultiShellModel</a><ul> 
    197 <li><a class="reference internal" href="#module-sans.models.CoreMultiShellModel"><tt class="docutils literal"><span class="pre">sans.models.CoreMultiShellModel</span></tt></a></li> 
     289<li><a class="reference internal" href="#sans-models-coremultishellmodel"><tt class="docutils literal"><span class="pre">sans.models.CoreMultiShellModel</span></tt></a></li> 
    198290</ul> 
    199291</li> 
     
    214306  <h3>Quick search</h3> 
    215307    <form class="search" action="../search.html" method="get"> 
    216       <input type="text" name="q" size="18" /> 
     308      <input type="text" name="q" /> 
    217309      <input type="submit" value="Go" /> 
    218310      <input type="hidden" name="check_keywords" value="yes" /> 
     
    243335          <a href="CoreFourShellModel.html" title="CoreFourShellModel" 
    244336             >previous</a> |</li> 
    245         <li><a href="../index.html">sansmodels v0.1.0 documentation</a> &raquo;</li> 
     337        <li><a href="../index.html">sansmodels 0.1.0 documentation</a> &raquo;</li> 
    246338          <li><a href="index.html" >Reference</a> &raquo;</li>  
    247339      </ul> 
     
    249341    <div class="footer"> 
    250342        &copy; Copyright 2010, sans group. 
    251       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7. 
     343      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. 
    252344    </div> 
    253345  </body> 
Note: See TracChangeset for help on using the changeset viewer.