|
6 | 6 | <meta charset="utf-8" /> |
7 | 7 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> |
8 | 8 |
|
9 | | - <title>esa API Documentation — ESA 1.2.6 documentation</title> |
| 9 | + <title>esa API Documentation — ESA 1.2.7 documentation</title> |
10 | 10 | <link rel="stylesheet" type="text/css" href="_static/pygments.css" /> |
11 | 11 | <link rel="stylesheet" type="text/css" href="_static/alabaster.css" /> |
12 | 12 | <script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script> |
|
1288 | 1288 |
|
1289 | 1289 | <dl class="py method"> |
1290 | 1290 | <dt class="sig sig-object py" id="esa.saw.SAW.get_lodf_matrix"> |
1291 | | -<span class="sig-name descname"><span class="pre">get_lodf_matrix</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esa.saw.SAW.get_lodf_matrix" title="Permalink to this definition">¶</a></dt> |
1292 | | -<dd><p>Obtain LODF matrix in numpy array format. |
1293 | | -By default, it obtains the lodf matrix directly from PW.</p> |
| 1291 | +<span class="sig-name descname"><span class="pre">get_lodf_matrix</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">precision</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">3</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#esa.saw.SAW.get_lodf_matrix" title="Permalink to this definition">¶</a></dt> |
| 1292 | +<dd><p>Obtain LODF matrix in numpy array or scipy sparse matrix. |
| 1293 | +By default, it obtains the lodf matrix directly from PW. If size |
| 1294 | +is larger than 1000, then precision will be applied to filter out |
| 1295 | +small values and the result will be returned in scipy sparse matrix.</p> |
1294 | 1296 | <dl class="field-list simple"> |
1295 | | -<dt class="field-odd">Returns</dt> |
1296 | | -<dd class="field-odd"><p>LODF matrix</p> |
| 1297 | +<dt class="field-odd">Parameters</dt> |
| 1298 | +<dd class="field-odd"><p><strong>precision</strong> – number of decimal to keep.</p> |
| 1299 | +</dd> |
| 1300 | +<dt class="field-even">Returns</dt> |
| 1301 | +<dd class="field-even"><p>LODF matrix</p> |
1297 | 1302 | </dd> |
1298 | 1303 | </dl> |
1299 | 1304 | </dd></dl> |
|
0 commit comments