Commit 2fbc72e7 authored by Martin Glatzle's avatar Martin Glatzle
Browse files

BUG: fix log normal dist.

parent 40d9dc1a
...@@ -186,7 +186,7 @@ class LogNormal(SizeDist): ...@@ -186,7 +186,7 @@ class LogNormal(SizeDist):
nominator = (3 * _np.exp(-4.5 * sgma**2) * bc * m_C) nominator = (3 * _np.exp(-4.5 * sgma**2) * bc * m_C)
denominator = ( denominator = (
(2*_np.pi**2)**1.5 * rho * a0**3 * sgma * (2*_np.pi)**1.5 * rho * a0**3 * sgma *
(1 + (1 +
_erf((3 * sgma/_np.sqrt(2)) + _erf((3 * sgma/_np.sqrt(2)) +
(_np.log(a0/3.5/_u.angstrom) / (_np.log(a0/3.5/_u.angstrom) /
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment