[512573a] | 1 | |
---|
| 2 | |
---|
| 3 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
| 4 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 5 | |
---|
[c0d873f] | 6 | |
---|
[512573a] | 7 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
| 8 | <head> |
---|
| 9 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
| 10 | |
---|
[c0d873f] | 11 | <title>ModelAdaptor — sansmodels 0.1.0 documentation</title> |
---|
| 12 | |
---|
[512573a] | 13 | <link rel="stylesheet" href="../_static/default.css" type="text/css" /> |
---|
| 14 | <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> |
---|
[c0d873f] | 15 | |
---|
[512573a] | 16 | <script type="text/javascript"> |
---|
| 17 | var DOCUMENTATION_OPTIONS = { |
---|
| 18 | URL_ROOT: '../', |
---|
| 19 | VERSION: '0.1.0', |
---|
| 20 | COLLAPSE_INDEX: false, |
---|
| 21 | FILE_SUFFIX: '.html', |
---|
| 22 | HAS_SOURCE: true |
---|
| 23 | }; |
---|
| 24 | </script> |
---|
| 25 | <script type="text/javascript" src="../_static/jquery.js"></script> |
---|
| 26 | <script type="text/javascript" src="../_static/underscore.js"></script> |
---|
| 27 | <script type="text/javascript" src="../_static/doctools.js"></script> |
---|
[c0d873f] | 28 | <link rel="top" title="sansmodels 0.1.0 documentation" href="../index.html" /> |
---|
[512573a] | 29 | <link rel="up" title="Reference" href="index.html" /> |
---|
| 30 | <link rel="next" title="ModelFactory" href="ModelFactory.html" /> |
---|
| 31 | <link rel="prev" title="LorentzModel" href="LorentzModel.html" /> |
---|
| 32 | </head> |
---|
| 33 | <body> |
---|
| 34 | <div class="related"> |
---|
| 35 | <h3>Navigation</h3> |
---|
| 36 | <ul> |
---|
| 37 | <li class="right" style="margin-right: 10px"> |
---|
| 38 | <a href="../genindex.html" title="General Index" |
---|
| 39 | accesskey="I">index</a></li> |
---|
| 40 | <li class="right" > |
---|
| 41 | <a href="../py-modindex.html" title="Python Module Index" |
---|
| 42 | >modules</a> |</li> |
---|
| 43 | <li class="right" > |
---|
| 44 | <a href="ModelFactory.html" title="ModelFactory" |
---|
| 45 | accesskey="N">next</a> |</li> |
---|
| 46 | <li class="right" > |
---|
| 47 | <a href="LorentzModel.html" title="LorentzModel" |
---|
| 48 | accesskey="P">previous</a> |</li> |
---|
[c0d873f] | 49 | <li><a href="../index.html">sansmodels 0.1.0 documentation</a> »</li> |
---|
[512573a] | 50 | <li><a href="index.html" accesskey="U">Reference</a> »</li> |
---|
| 51 | </ul> |
---|
| 52 | </div> |
---|
| 53 | |
---|
| 54 | <div class="document"> |
---|
| 55 | <div class="documentwrapper"> |
---|
| 56 | <div class="bodywrapper"> |
---|
| 57 | <div class="body"> |
---|
| 58 | |
---|
| 59 | <div class="section" id="modeladaptor"> |
---|
| 60 | <h1>ModelAdaptor<a class="headerlink" href="#modeladaptor" title="Permalink to this headline">¶</a></h1> |
---|
[c0d873f] | 61 | <div class="section" id="sans-models-modeladaptor"> |
---|
| 62 | <h2><a class="reference internal" href="#module-sans.models.ModelAdaptor" title="sans.models.ModelAdaptor"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.ModelAdaptor</span></tt></a><a class="headerlink" href="#sans-models-modeladaptor" title="Permalink to this headline">¶</a></h2> |
---|
| 63 | <span class="target" id="module-sans.models.ModelAdaptor"></span><p>This software was developed by the University of Tennessee as part of the |
---|
[512573a] | 64 | Distributed Data Analysis of Neutron Scattering Experiments (DANSE) |
---|
| 65 | project funded by the US National Science Foundation.</p> |
---|
| 66 | <p>If you use DANSE applications to do scientific research that leads to |
---|
| 67 | publication, we ask that you acknowledge the use of the software with the |
---|
| 68 | following sentence:</p> |
---|
| 69 | <p>“This work benefited from DANSE software developed under NSF award DMR-0520547.”</p> |
---|
| 70 | <p>copyright 2008, University of Tennessee</p> |
---|
| 71 | <dl class="class"> |
---|
| 72 | <dt id="sans.models.ModelAdaptor.ModelAdaptor"> |
---|
| 73 | <em class="property">class </em><tt class="descclassname">sans.models.ModelAdaptor.</tt><tt class="descname">ModelAdaptor</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor" title="Permalink to this definition">¶</a></dt> |
---|
| 74 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p> |
---|
| 75 | <p>Model adaptor to provide old-style model functionality</p> |
---|
| 76 | <dl class="method"> |
---|
[c0d873f] | 77 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__add__"> |
---|
| 78 | <tt class="descname">__add__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__add__" title="Permalink to this definition">¶</a></dt> |
---|
| 79 | <dd></dd></dl> |
---|
| 80 | |
---|
| 81 | <dl class="attribute"> |
---|
| 82 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__class__"> |
---|
| 83 | <tt class="descname">__class__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__class__" title="Permalink to this definition">¶</a></dt> |
---|
| 84 | <dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p> |
---|
| 85 | </dd></dl> |
---|
| 86 | |
---|
| 87 | <dl class="attribute"> |
---|
| 88 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__delattr__"> |
---|
| 89 | <tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__delattr__" title="Permalink to this definition">¶</a></dt> |
---|
| 90 | <dd><p>x.__delattr__(‘name’) <==> del x.name</p> |
---|
| 91 | </dd></dl> |
---|
| 92 | |
---|
| 93 | <dl class="attribute"> |
---|
| 94 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__dict__"> |
---|
| 95 | <tt class="descname">__dict__</tt><em class="property"> = <dictproxy object at 0x01B548F0></em><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__dict__" title="Permalink to this definition">¶</a></dt> |
---|
| 96 | <dd></dd></dl> |
---|
| 97 | |
---|
| 98 | <dl class="method"> |
---|
| 99 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__div__"> |
---|
| 100 | <tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__div__" title="Permalink to this definition">¶</a></dt> |
---|
| 101 | <dd></dd></dl> |
---|
| 102 | |
---|
| 103 | <dl class="attribute"> |
---|
| 104 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__getattribute__"> |
---|
| 105 | <tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__getattribute__" title="Permalink to this definition">¶</a></dt> |
---|
| 106 | <dd><p>x.__getattribute__(‘name’) <==> x.name</p> |
---|
| 107 | </dd></dl> |
---|
| 108 | |
---|
| 109 | <dl class="attribute"> |
---|
| 110 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__hash__"> |
---|
| 111 | <tt class="descname">__hash__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__hash__" title="Permalink to this definition">¶</a></dt> |
---|
| 112 | <dd><p>x.__hash__() <==> hash(x)</p> |
---|
| 113 | </dd></dl> |
---|
| 114 | |
---|
| 115 | <dl class="method"> |
---|
| 116 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__init__"> |
---|
| 117 | <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__init__" title="Permalink to this definition">¶</a></dt> |
---|
| 118 | <dd><p>Initialization</p> |
---|
| 119 | </dd></dl> |
---|
| 120 | |
---|
| 121 | <dl class="attribute"> |
---|
| 122 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__module__"> |
---|
| 123 | <tt class="descname">__module__</tt><em class="property"> = 'sans.models.ModelAdaptor'</em><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__module__" title="Permalink to this definition">¶</a></dt> |
---|
| 124 | <dd></dd></dl> |
---|
| 125 | |
---|
| 126 | <dl class="method"> |
---|
| 127 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__mul__"> |
---|
| 128 | <tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__mul__" title="Permalink to this definition">¶</a></dt> |
---|
| 129 | <dd></dd></dl> |
---|
| 130 | |
---|
| 131 | <dl class="staticmethod"> |
---|
| 132 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__new__"> |
---|
| 133 | <em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> → a new object with type S, a subtype of T<a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__new__" title="Permalink to this definition">¶</a></dt> |
---|
| 134 | <dd></dd></dl> |
---|
| 135 | |
---|
| 136 | <dl class="method"> |
---|
| 137 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__reduce__"> |
---|
| 138 | <tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__reduce__" title="Permalink to this definition">¶</a></dt> |
---|
| 139 | <dd><p>helper for pickle</p> |
---|
| 140 | </dd></dl> |
---|
| 141 | |
---|
| 142 | <dl class="method"> |
---|
| 143 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__reduce_ex__"> |
---|
| 144 | <tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__reduce_ex__" title="Permalink to this definition">¶</a></dt> |
---|
| 145 | <dd><p>helper for pickle</p> |
---|
| 146 | </dd></dl> |
---|
| 147 | |
---|
| 148 | <dl class="attribute"> |
---|
| 149 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__repr__"> |
---|
| 150 | <tt class="descname">__repr__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__repr__" title="Permalink to this definition">¶</a></dt> |
---|
| 151 | <dd><p>x.__repr__() <==> repr(x)</p> |
---|
| 152 | </dd></dl> |
---|
| 153 | |
---|
| 154 | <dl class="attribute"> |
---|
| 155 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__setattr__"> |
---|
| 156 | <tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__setattr__" title="Permalink to this definition">¶</a></dt> |
---|
| 157 | <dd><p>x.__setattr__(‘name’, value) <==> x.name = value</p> |
---|
| 158 | </dd></dl> |
---|
| 159 | |
---|
| 160 | <dl class="attribute"> |
---|
| 161 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__str__"> |
---|
| 162 | <tt class="descname">__str__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__str__" title="Permalink to this definition">¶</a></dt> |
---|
| 163 | <dd><p>x.__str__() <==> str(x)</p> |
---|
| 164 | </dd></dl> |
---|
| 165 | |
---|
| 166 | <dl class="method"> |
---|
| 167 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__sub__"> |
---|
| 168 | <tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__sub__" title="Permalink to this definition">¶</a></dt> |
---|
| 169 | <dd></dd></dl> |
---|
| 170 | |
---|
| 171 | <dl class="attribute"> |
---|
| 172 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.__weakref__"> |
---|
| 173 | <tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.__weakref__" title="Permalink to this definition">¶</a></dt> |
---|
| 174 | <dd><p>list of weak references to the object (if defined)</p> |
---|
| 175 | </dd></dl> |
---|
| 176 | |
---|
| 177 | <dl class="method"> |
---|
[512573a] | 178 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.getParamListWithToken"> |
---|
[c0d873f] | 179 | <tt class="descname">getParamListWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.getParamListWithToken" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 180 | <dd></dd></dl> |
---|
| 181 | |
---|
| 182 | <dl class="method"> |
---|
| 183 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.getParamWithToken"> |
---|
[c0d873f] | 184 | <tt class="descname">getParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.getParamWithToken" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 185 | <dd></dd></dl> |
---|
| 186 | |
---|
| 187 | <dl class="method"> |
---|
| 188 | <dt id="sans.models.ModelAdaptor.ModelAdaptor.setParamWithToken"> |
---|
[c0d873f] | 189 | <tt class="descname">setParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.setParamWithToken" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 190 | <dd></dd></dl> |
---|
| 191 | |
---|
| 192 | </dd></dl> |
---|
| 193 | |
---|
| 194 | <dl class="class"> |
---|
| 195 | <dt id="sans.models.ModelAdaptor.ParameterDict"> |
---|
[c0d873f] | 196 | <em class="property">class </em><tt class="descclassname">sans.models.ModelAdaptor.</tt><tt class="descname">ParameterDict</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 197 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt></p> |
---|
| 198 | <p>Parameter dictionary used for backward |
---|
| 199 | compatibility between the old-style ‘params’ |
---|
| 200 | dictionary and the new-style ‘parameters’ |
---|
| 201 | dictionary.</p> |
---|
| 202 | <dl class="attribute"> |
---|
[c0d873f] | 203 | <dt id="sans.models.ModelAdaptor.ParameterDict.__class__"> |
---|
| 204 | <tt class="descname">__class__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__class__" title="Permalink to this definition">¶</a></dt> |
---|
| 205 | <dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p> |
---|
[512573a] | 206 | </dd></dl> |
---|
| 207 | |
---|
| 208 | <dl class="attribute"> |
---|
[c0d873f] | 209 | <dt id="sans.models.ModelAdaptor.ParameterDict.__cmp__"> |
---|
| 210 | <tt class="descname">__cmp__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__cmp__" title="Permalink to this definition">¶</a></dt> |
---|
| 211 | <dd><p>x.__cmp__(y) <==> cmp(x,y)</p> |
---|
[512573a] | 212 | </dd></dl> |
---|
| 213 | |
---|
[c0d873f] | 214 | <dl class="method"> |
---|
| 215 | <dt id="sans.models.ModelAdaptor.ParameterDict.__contains__"> |
---|
| 216 | <tt class="descname">__contains__</tt><big>(</big><em>k</em><big>)</big> → True if D has a key k, else False<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__contains__" title="Permalink to this definition">¶</a></dt> |
---|
| 217 | <dd></dd></dl> |
---|
| 218 | |
---|
| 219 | <dl class="attribute"> |
---|
| 220 | <dt id="sans.models.ModelAdaptor.ParameterDict.__delattr__"> |
---|
| 221 | <tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__delattr__" title="Permalink to this definition">¶</a></dt> |
---|
| 222 | <dd><p>x.__delattr__(‘name’) <==> del x.name</p> |
---|
[512573a] | 223 | </dd></dl> |
---|
| 224 | |
---|
| 225 | <dl class="attribute"> |
---|
[c0d873f] | 226 | <dt id="sans.models.ModelAdaptor.ParameterDict.__delitem__"> |
---|
| 227 | <tt class="descname">__delitem__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__delitem__" title="Permalink to this definition">¶</a></dt> |
---|
| 228 | <dd><p>x.__delitem__(y) <==> del x[y]</p> |
---|
[512573a] | 229 | </dd></dl> |
---|
| 230 | |
---|
| 231 | <dl class="attribute"> |
---|
[c0d873f] | 232 | <dt id="sans.models.ModelAdaptor.ParameterDict.__dict__"> |
---|
| 233 | <tt class="descname">__dict__</tt><em class="property"> = <dictproxy object at 0x0223D470></em><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__dict__" title="Permalink to this definition">¶</a></dt> |
---|
| 234 | <dd></dd></dl> |
---|
| 235 | |
---|
| 236 | <dl class="attribute"> |
---|
| 237 | <dt id="sans.models.ModelAdaptor.ParameterDict.__eq__"> |
---|
| 238 | <tt class="descname">__eq__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__eq__" title="Permalink to this definition">¶</a></dt> |
---|
| 239 | <dd><p>x.__eq__(y) <==> x==y</p> |
---|
[512573a] | 240 | </dd></dl> |
---|
| 241 | |
---|
| 242 | <dl class="attribute"> |
---|
[c0d873f] | 243 | <dt id="sans.models.ModelAdaptor.ParameterDict.__ge__"> |
---|
| 244 | <tt class="descname">__ge__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__ge__" title="Permalink to this definition">¶</a></dt> |
---|
| 245 | <dd><p>x.__ge__(y) <==> x>=y</p> |
---|
[512573a] | 246 | </dd></dl> |
---|
| 247 | |
---|
| 248 | <dl class="attribute"> |
---|
[c0d873f] | 249 | <dt id="sans.models.ModelAdaptor.ParameterDict.__getattribute__"> |
---|
| 250 | <tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__getattribute__" title="Permalink to this definition">¶</a></dt> |
---|
| 251 | <dd><p>x.__getattribute__(‘name’) <==> x.name</p> |
---|
[512573a] | 252 | </dd></dl> |
---|
| 253 | |
---|
[c0d873f] | 254 | <dl class="method"> |
---|
| 255 | <dt id="sans.models.ModelAdaptor.ParameterDict.__getitem__"> |
---|
| 256 | <tt class="descname">__getitem__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__getitem__" title="Permalink to this definition">¶</a></dt> |
---|
| 257 | <dd></dd></dl> |
---|
| 258 | |
---|
[512573a] | 259 | <dl class="attribute"> |
---|
[c0d873f] | 260 | <dt id="sans.models.ModelAdaptor.ParameterDict.__gt__"> |
---|
| 261 | <tt class="descname">__gt__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__gt__" title="Permalink to this definition">¶</a></dt> |
---|
| 262 | <dd><p>x.__gt__(y) <==> x>y</p> |
---|
[512573a] | 263 | </dd></dl> |
---|
| 264 | |
---|
| 265 | <dl class="attribute"> |
---|
[c0d873f] | 266 | <dt id="sans.models.ModelAdaptor.ParameterDict.__hash__"> |
---|
| 267 | <tt class="descname">__hash__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__hash__" title="Permalink to this definition">¶</a></dt> |
---|
| 268 | <dd><p>x.__hash__() <==> hash(x)</p> |
---|
| 269 | </dd></dl> |
---|
| 270 | |
---|
| 271 | <dl class="method"> |
---|
| 272 | <dt id="sans.models.ModelAdaptor.ParameterDict.__init__"> |
---|
| 273 | <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__init__" title="Permalink to this definition">¶</a></dt> |
---|
| 274 | <dd><p>Initialization |
---|
| 275 | @param parameters: new-style ‘parameters’ dictionary</p> |
---|
[512573a] | 276 | </dd></dl> |
---|
| 277 | |
---|
| 278 | <dl class="attribute"> |
---|
[c0d873f] | 279 | <dt id="sans.models.ModelAdaptor.ParameterDict.__iter__"> |
---|
| 280 | <tt class="descname">__iter__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__iter__" title="Permalink to this definition">¶</a></dt> |
---|
| 281 | <dd><p>x.__iter__() <==> iter(x)</p> |
---|
[512573a] | 282 | </dd></dl> |
---|
| 283 | |
---|
| 284 | <dl class="attribute"> |
---|
[c0d873f] | 285 | <dt id="sans.models.ModelAdaptor.ParameterDict.__le__"> |
---|
| 286 | <tt class="descname">__le__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__le__" title="Permalink to this definition">¶</a></dt> |
---|
| 287 | <dd><p>x.__le__(y) <==> x<=y</p> |
---|
[512573a] | 288 | </dd></dl> |
---|
| 289 | |
---|
| 290 | <dl class="attribute"> |
---|
[c0d873f] | 291 | <dt id="sans.models.ModelAdaptor.ParameterDict.__len__"> |
---|
| 292 | <tt class="descname">__len__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__len__" title="Permalink to this definition">¶</a></dt> |
---|
| 293 | <dd><p>x.__len__() <==> len(x)</p> |
---|
[512573a] | 294 | </dd></dl> |
---|
| 295 | |
---|
| 296 | <dl class="attribute"> |
---|
[c0d873f] | 297 | <dt id="sans.models.ModelAdaptor.ParameterDict.__lt__"> |
---|
| 298 | <tt class="descname">__lt__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__lt__" title="Permalink to this definition">¶</a></dt> |
---|
| 299 | <dd><p>x.__lt__(y) <==> x<y</p> |
---|
[512573a] | 300 | </dd></dl> |
---|
| 301 | |
---|
| 302 | <dl class="attribute"> |
---|
[c0d873f] | 303 | <dt id="sans.models.ModelAdaptor.ParameterDict.__module__"> |
---|
| 304 | <tt class="descname">__module__</tt><em class="property"> = 'sans.models.ModelAdaptor'</em><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__module__" title="Permalink to this definition">¶</a></dt> |
---|
| 305 | <dd></dd></dl> |
---|
| 306 | |
---|
| 307 | <dl class="attribute"> |
---|
| 308 | <dt id="sans.models.ModelAdaptor.ParameterDict.__ne__"> |
---|
| 309 | <tt class="descname">__ne__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__ne__" title="Permalink to this definition">¶</a></dt> |
---|
| 310 | <dd><p>x.__ne__(y) <==> x!=y</p> |
---|
| 311 | </dd></dl> |
---|
| 312 | |
---|
| 313 | <dl class="staticmethod"> |
---|
| 314 | <dt id="sans.models.ModelAdaptor.ParameterDict.__new__"> |
---|
| 315 | <em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> → a new object with type S, a subtype of T<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__new__" title="Permalink to this definition">¶</a></dt> |
---|
| 316 | <dd></dd></dl> |
---|
| 317 | |
---|
| 318 | <dl class="method"> |
---|
| 319 | <dt id="sans.models.ModelAdaptor.ParameterDict.__reduce__"> |
---|
| 320 | <tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__reduce__" title="Permalink to this definition">¶</a></dt> |
---|
| 321 | <dd><p>helper for pickle</p> |
---|
| 322 | </dd></dl> |
---|
| 323 | |
---|
| 324 | <dl class="method"> |
---|
| 325 | <dt id="sans.models.ModelAdaptor.ParameterDict.__reduce_ex__"> |
---|
| 326 | <tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__reduce_ex__" title="Permalink to this definition">¶</a></dt> |
---|
| 327 | <dd><p>helper for pickle</p> |
---|
[512573a] | 328 | </dd></dl> |
---|
| 329 | |
---|
| 330 | <dl class="attribute"> |
---|
[c0d873f] | 331 | <dt id="sans.models.ModelAdaptor.ParameterDict.__repr__"> |
---|
| 332 | <tt class="descname">__repr__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__repr__" title="Permalink to this definition">¶</a></dt> |
---|
| 333 | <dd><p>x.__repr__() <==> repr(x)</p> |
---|
| 334 | </dd></dl> |
---|
| 335 | |
---|
| 336 | <dl class="attribute"> |
---|
| 337 | <dt id="sans.models.ModelAdaptor.ParameterDict.__setattr__"> |
---|
| 338 | <tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__setattr__" title="Permalink to this definition">¶</a></dt> |
---|
| 339 | <dd><p>x.__setattr__(‘name’, value) <==> x.name = value</p> |
---|
| 340 | </dd></dl> |
---|
| 341 | |
---|
| 342 | <dl class="method"> |
---|
| 343 | <dt id="sans.models.ModelAdaptor.ParameterDict.__setitem__"> |
---|
| 344 | <tt class="descname">__setitem__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__setitem__" title="Permalink to this definition">¶</a></dt> |
---|
| 345 | <dd></dd></dl> |
---|
| 346 | |
---|
| 347 | <dl class="attribute"> |
---|
| 348 | <dt id="sans.models.ModelAdaptor.ParameterDict.__str__"> |
---|
| 349 | <tt class="descname">__str__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__str__" title="Permalink to this definition">¶</a></dt> |
---|
| 350 | <dd><p>x.__str__() <==> str(x)</p> |
---|
[512573a] | 351 | </dd></dl> |
---|
| 352 | |
---|
[c0d873f] | 353 | <dl class="attribute"> |
---|
| 354 | <dt id="sans.models.ModelAdaptor.ParameterDict.__weakref__"> |
---|
| 355 | <tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.__weakref__" title="Permalink to this definition">¶</a></dt> |
---|
| 356 | <dd><p>list of weak references to the object (if defined)</p> |
---|
| 357 | </dd></dl> |
---|
| 358 | |
---|
| 359 | <dl class="method"> |
---|
| 360 | <dt id="sans.models.ModelAdaptor.ParameterDict.clear"> |
---|
| 361 | <tt class="descname">clear</tt><big>(</big><big>)</big> → None. Remove all items from D.<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.clear" title="Permalink to this definition">¶</a></dt> |
---|
| 362 | <dd></dd></dl> |
---|
| 363 | |
---|
| 364 | <dl class="method"> |
---|
| 365 | <dt id="sans.models.ModelAdaptor.ParameterDict.copy"> |
---|
| 366 | <tt class="descname">copy</tt><big>(</big><big>)</big> → a shallow copy of D<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.copy" title="Permalink to this definition">¶</a></dt> |
---|
| 367 | <dd></dd></dl> |
---|
| 368 | |
---|
| 369 | <dl class="staticmethod"> |
---|
| 370 | <dt id="sans.models.ModelAdaptor.ParameterDict.fromkeys"> |
---|
| 371 | <em class="property">static </em><tt class="descname">fromkeys</tt><big>(</big><em>S</em><span class="optional">[</span>, <em>v</em><span class="optional">]</span><big>)</big> → New dict with keys from S and values equal to v.<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.fromkeys" title="Permalink to this definition">¶</a></dt> |
---|
| 372 | <dd><p>v defaults to None.</p> |
---|
| 373 | </dd></dl> |
---|
| 374 | |
---|
| 375 | <dl class="method"> |
---|
| 376 | <dt id="sans.models.ModelAdaptor.ParameterDict.get"> |
---|
| 377 | <tt class="descname">get</tt><big>(</big><em>k</em><span class="optional">[</span>, <em>d</em><span class="optional">]</span><big>)</big> → D[k] if k in D, else d. d defaults to None.<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.get" title="Permalink to this definition">¶</a></dt> |
---|
| 378 | <dd></dd></dl> |
---|
| 379 | |
---|
| 380 | <dl class="method"> |
---|
| 381 | <dt id="sans.models.ModelAdaptor.ParameterDict.has_key"> |
---|
| 382 | <tt class="descname">has_key</tt><big>(</big><em>k</em><big>)</big> → True if D has a key k, else False<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.has_key" title="Permalink to this definition">¶</a></dt> |
---|
| 383 | <dd></dd></dl> |
---|
| 384 | |
---|
| 385 | <dl class="method"> |
---|
| 386 | <dt id="sans.models.ModelAdaptor.ParameterDict.items"> |
---|
| 387 | <tt class="descname">items</tt><big>(</big><big>)</big> → list of D's (key, value) pairs, as 2-tuples<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.items" title="Permalink to this definition">¶</a></dt> |
---|
| 388 | <dd></dd></dl> |
---|
| 389 | |
---|
| 390 | <dl class="method"> |
---|
| 391 | <dt id="sans.models.ModelAdaptor.ParameterDict.iteritems"> |
---|
| 392 | <tt class="descname">iteritems</tt><big>(</big><big>)</big> → an iterator over the (key, value) items of D<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.iteritems" title="Permalink to this definition">¶</a></dt> |
---|
| 393 | <dd></dd></dl> |
---|
| 394 | |
---|
| 395 | <dl class="method"> |
---|
| 396 | <dt id="sans.models.ModelAdaptor.ParameterDict.iterkeys"> |
---|
| 397 | <tt class="descname">iterkeys</tt><big>(</big><big>)</big> → an iterator over the keys of D<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.iterkeys" title="Permalink to this definition">¶</a></dt> |
---|
| 398 | <dd></dd></dl> |
---|
| 399 | |
---|
| 400 | <dl class="method"> |
---|
| 401 | <dt id="sans.models.ModelAdaptor.ParameterDict.itervalues"> |
---|
| 402 | <tt class="descname">itervalues</tt><big>(</big><big>)</big> → an iterator over the values of D<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.itervalues" title="Permalink to this definition">¶</a></dt> |
---|
| 403 | <dd></dd></dl> |
---|
| 404 | |
---|
| 405 | <dl class="method"> |
---|
| 406 | <dt id="sans.models.ModelAdaptor.ParameterDict.keys"> |
---|
| 407 | <tt class="descname">keys</tt><big>(</big><big>)</big> → list of D's keys<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.keys" title="Permalink to this definition">¶</a></dt> |
---|
| 408 | <dd></dd></dl> |
---|
| 409 | |
---|
| 410 | <dl class="method"> |
---|
| 411 | <dt id="sans.models.ModelAdaptor.ParameterDict.pop"> |
---|
| 412 | <tt class="descname">pop</tt><big>(</big><em>k</em><span class="optional">[</span>, <em>d</em><span class="optional">]</span><big>)</big> → v, remove specified key and return the corresponding value<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.pop" title="Permalink to this definition">¶</a></dt> |
---|
| 413 | <dd><p>If key is not found, d is returned if given, otherwise KeyError is raised</p> |
---|
| 414 | </dd></dl> |
---|
| 415 | |
---|
| 416 | <dl class="method"> |
---|
| 417 | <dt id="sans.models.ModelAdaptor.ParameterDict.popitem"> |
---|
| 418 | <tt class="descname">popitem</tt><big>(</big><big>)</big> → (k, v), remove and return some (key, value) pair as a<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.popitem" title="Permalink to this definition">¶</a></dt> |
---|
| 419 | <dd><p>2-tuple; but raise KeyError if D is empty</p> |
---|
| 420 | </dd></dl> |
---|
| 421 | |
---|
| 422 | <dl class="method"> |
---|
| 423 | <dt id="sans.models.ModelAdaptor.ParameterDict.setdefault"> |
---|
| 424 | <tt class="descname">setdefault</tt><big>(</big><em>k</em><span class="optional">[</span>, <em>d</em><span class="optional">]</span><big>)</big> → D.get(k,d), also set D[k]=d if k not in D<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.setdefault" title="Permalink to this definition">¶</a></dt> |
---|
| 425 | <dd></dd></dl> |
---|
| 426 | |
---|
| 427 | <dl class="method"> |
---|
| 428 | <dt id="sans.models.ModelAdaptor.ParameterDict.update"> |
---|
| 429 | <tt class="descname">update</tt><big>(</big><em>E</em>, <em>**F</em><big>)</big> → None. Update D from E and F: for k in E: D[k] = E[k]<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.update" title="Permalink to this definition">¶</a></dt> |
---|
| 430 | <dd><p>(if E has keys else: for (k, v) in E: D[k] = v) then: for k in F: D[k] = F[k]</p> |
---|
| 431 | </dd></dl> |
---|
| 432 | |
---|
| 433 | <dl class="method"> |
---|
| 434 | <dt id="sans.models.ModelAdaptor.ParameterDict.values"> |
---|
| 435 | <tt class="descname">values</tt><big>(</big><big>)</big> → list of D's values<a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.values" title="Permalink to this definition">¶</a></dt> |
---|
| 436 | <dd></dd></dl> |
---|
| 437 | |
---|
[512573a] | 438 | </dd></dl> |
---|
| 439 | |
---|
| 440 | </div> |
---|
| 441 | </div> |
---|
| 442 | |
---|
| 443 | |
---|
| 444 | </div> |
---|
| 445 | </div> |
---|
| 446 | </div> |
---|
| 447 | <div class="sphinxsidebar"> |
---|
| 448 | <div class="sphinxsidebarwrapper"> |
---|
| 449 | <h3><a href="../index.html">Table Of Contents</a></h3> |
---|
| 450 | <ul> |
---|
| 451 | <li><a class="reference internal" href="#">ModelAdaptor</a><ul> |
---|
[c0d873f] | 452 | <li><a class="reference internal" href="#sans-models-modeladaptor"><tt class="docutils literal"><span class="pre">sans.models.ModelAdaptor</span></tt></a></li> |
---|
[512573a] | 453 | </ul> |
---|
| 454 | </li> |
---|
| 455 | </ul> |
---|
| 456 | |
---|
| 457 | <h4>Previous topic</h4> |
---|
| 458 | <p class="topless"><a href="LorentzModel.html" |
---|
| 459 | title="previous chapter">LorentzModel</a></p> |
---|
| 460 | <h4>Next topic</h4> |
---|
| 461 | <p class="topless"><a href="ModelFactory.html" |
---|
| 462 | title="next chapter">ModelFactory</a></p> |
---|
| 463 | <h3>This Page</h3> |
---|
| 464 | <ul class="this-page-menu"> |
---|
| 465 | <li><a href="../_sources/api/ModelAdaptor.txt" |
---|
| 466 | rel="nofollow">Show Source</a></li> |
---|
| 467 | </ul> |
---|
| 468 | <div id="searchbox" style="display: none"> |
---|
| 469 | <h3>Quick search</h3> |
---|
| 470 | <form class="search" action="../search.html" method="get"> |
---|
[c0d873f] | 471 | <input type="text" name="q" /> |
---|
[512573a] | 472 | <input type="submit" value="Go" /> |
---|
| 473 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
| 474 | <input type="hidden" name="area" value="default" /> |
---|
| 475 | </form> |
---|
| 476 | <p class="searchtip" style="font-size: 90%"> |
---|
| 477 | Enter search terms or a module, class or function name. |
---|
| 478 | </p> |
---|
| 479 | </div> |
---|
| 480 | <script type="text/javascript">$('#searchbox').show(0);</script> |
---|
| 481 | </div> |
---|
| 482 | </div> |
---|
| 483 | <div class="clearer"></div> |
---|
| 484 | </div> |
---|
| 485 | <div class="related"> |
---|
| 486 | <h3>Navigation</h3> |
---|
| 487 | <ul> |
---|
| 488 | <li class="right" style="margin-right: 10px"> |
---|
| 489 | <a href="../genindex.html" title="General Index" |
---|
| 490 | >index</a></li> |
---|
| 491 | <li class="right" > |
---|
| 492 | <a href="../py-modindex.html" title="Python Module Index" |
---|
| 493 | >modules</a> |</li> |
---|
| 494 | <li class="right" > |
---|
| 495 | <a href="ModelFactory.html" title="ModelFactory" |
---|
| 496 | >next</a> |</li> |
---|
| 497 | <li class="right" > |
---|
| 498 | <a href="LorentzModel.html" title="LorentzModel" |
---|
| 499 | >previous</a> |</li> |
---|
[c0d873f] | 500 | <li><a href="../index.html">sansmodels 0.1.0 documentation</a> »</li> |
---|
[512573a] | 501 | <li><a href="index.html" >Reference</a> »</li> |
---|
| 502 | </ul> |
---|
| 503 | </div> |
---|
| 504 | <div class="footer"> |
---|
| 505 | © Copyright 2010, sans group. |
---|
[c0d873f] | 506 | Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. |
---|
[512573a] | 507 | </div> |
---|
| 508 | </body> |
---|
| 509 | </html> |
---|