vice.singlezone.smoothing¶
Type : real number
Default : 0.0
The outflow smoothing timescale in Gyr (Johnson & Weinberg 2020 [1]).
This is the timescale on which the star formation rate is time-averaged
before determining the outflow rate via the mass loading factor
(attribute eta
). For an outflow rate \(\dot{M}_\text{out}\)
and a star formation rate \(\dot{M}_\star\) with a smoothing time
\(\tau_\text{s}\):
\[\dot{M}_\text{out} =
\eta(t) \langle\dot{M}_\star\rangle_{\tau_\text{s}}\]
The traditional relationship of \(\dot{M}_\text{out} = \eta \dot{M}_\star\) is recovered when the user specifies a smoothing time that is smaller than the timestep size.
Note
While this parameter time-averages the star formation rate, it does NOT time-average the mass-loading factor.
Example Code¶
>>> import vice
>>> sz = vice.singlezone(name = "example")
>>> sz.smoothing = 0.0
>>> sz.smoothing = 0.5
>>> sz.smoothing = 1.0