You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -411,10 +414,62 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Link to this headi
411
414
<sectionid="module-atomdb.datasets.numeric.run">
412
415
<spanid="atomdb-datasets-numeric-run-module"></span><h2>atomdb.datasets.numeric.run module<aclass="headerlink" href="#module-atomdb.datasets.numeric.run" title="Link to this heading">#</a></h2>
<spanclass="sig-prename descclassname"><spanclass="pre">atomdb.datasets.numeric.run.</span></span><spanclass="sig-name descname"><spanclass="pre">eval_radial_dd_density</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">gradient</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">laplacian</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">points</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">err</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'ignore'</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">tol</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">1e-10</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink" href="#atomdb.datasets.numeric.run.eval_radial_dd_density" title="Link to this definition">#</a></dt>
420
+
<dd><p>Helper function to compute the radial second derivative of the density.</p>
421
+
<blockquote>
422
+
<div><p>From a set of radial points <spanclass="math notranslate nohighlight">\(r\)</span>, the gradient of the density, <spanclass="math notranslate nohighlight">\(df/dr\)</span>, and the
423
+
Laplacian of the density, :math:<ahref="#id1"><spanclass="problematic" id="id2">`</span></a></p>
424
+
</div></blockquote>
425
+
<dl>
426
+
<dt>abla^2 f`, the radial second derivative of the density is</dt><dd><p>computed as:</p>
427
+
<divclass="math notranslate nohighlight">
428
+
\[d/dr (df/dr) = \]</div>
429
+
</dd>
430
+
</dl>
431
+
<p>abla^2 f - 2/r * df/dr</p>
432
+
<blockquote>
433
+
<div><dlclass="simple">
434
+
<dt>gradient<spanclass="classifier">np.ndarray</span></dt><dd><p>Gradient of the density.</p>
435
+
</dd>
436
+
<dt>laplacian<spanclass="classifier">np.ndarray</span></dt><dd><p>Laplacian of the density.</p>
437
+
</dd>
438
+
<dt>points<spanclass="classifier">np.ndarray</span></dt><dd><p>Radial points where the density gradient and Laplacian are evaluated.</p>
439
+
</dd>
440
+
<dt>err<spanclass="classifier">str, optional</span></dt><dd><p>Error handling for division by zero.</p>
441
+
</dd>
442
+
<dt>tol<spanclass="classifier">float, optional</span></dt><dd><p>Tolerance for the points close to zero.</p>
443
+
</dd>
444
+
</dl>
445
+
<dlclass="simple">
446
+
<dt>d2dens<spanclass="classifier">np.ndarray</span></dt><dd><p>Radial second derivative of the density.</p>
447
+
</dd>
448
+
</dl>
449
+
<p>When the points are close to zero, the radial second derivative of the density tends to infinity.
<spanclass="sig-prename descclassname"><spanclass="pre">atomdb.datasets.numeric.run.</span></span><spanclass="sig-name descname"><spanclass="pre">load_numerical_hf_data</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#atomdb.datasets.numeric.run.load_numerical_hf_data" title="Link to this definition">#</a></dt>
456
+
<spanclass="sig-prename descclassname"><spanclass="pre">atomdb.datasets.numeric.run.</span></span><spanclass="sig-name descname"><spanclass="pre">load_numerical_hf_data</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data_path</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink" href="#atomdb.datasets.numeric.run.load_numerical_hf_data" title="Link to this definition">#</a></dt>
417
457
<dd><p>Load data from desnity.out file into a <cite>SpeciesTable</cite>.</p>
458
+
<sectionid="parameters">
459
+
<h3>Parameters<aclass="headerlink" href="#parameters" title="Link to this heading">#</a></h3>
460
+
<dlclass="simple">
461
+
<dt>data_path<spanclass="classifier">str</span></dt><dd><p>Path to the directory containing a folder named <cite>raw</cite> where the desnity.out file is stored.</p>
462
+
</dd>
463
+
</dl>
464
+
</section>
465
+
<sectionid="returns">
466
+
<h3>Returns<aclass="headerlink" href="#returns" title="Link to this heading">#</a></h3>
467
+
<dlclass="simple">
468
+
<dt>species<spanclass="classifier">dict</span></dt><dd><p>Dictionary of atomic species containing the information from the numeric Hartree-Fock calculation.
469
+
This is energy components, grid, density, gradient, and laplacian values.</p>
470
+
</dd>
471
+
</dl>
472
+
</section>
418
473
</dd></dl>
419
474
420
475
<dlclass="py function">
@@ -493,6 +548,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Link to this headi
0 commit comments