Skip to content

Commit 3b607ca

Browse files
author
claresinger
committed
use Gaussian aerosol mode, not LogNormal
1 parent 4135c22 commit 3b607ca

File tree

2 files changed

+32
-6298
lines changed

2 files changed

+32
-6298
lines changed

examples/PySDM_examples/expansion_chamber/aerosol.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,10 @@ def __init__(
3838
mass_fractions=mode1,
3939
water_molar_volume=water_molar_volume,
4040
),
41-
"spectrum": spectra.Lognormal(
41+
"spectrum": spectra.Gaussian(
4242
norm_factor=N,
43-
m_mode=158 * si.nm,
44-
s_geom=2,
43+
loc=316 / 2 * si.nm,
44+
scale=257 / 2 * si.nm,
4545
),
4646
},
4747
)
48-
# mean diameter 316nm, standard deviation 257nm
49-
# not sure how to interpret the standard deviation given in the paper
50-
# because it looks like it's a lognormal distribution in Fig 2

0 commit comments

Comments
 (0)