pyrtid.utils.random_field.get_log_normalized_mean_from_normal_params#
- pyrtid.utils.random_field.get_log_normalized_mean_from_normal_params(mean: float, std: float) float[source]#
Get the mean of the log-normalized normal distribution.
Let $Z$ be normally distributed. Denote $mu_{Z}$ and $sigma_{Z}$ as the mean and standard deviation of $Z$. The mean $mu$ of $e_{Z}$ is given by:
\[\mu = e^{\mu_{Z} + \tfrac{1}{2}\sigma_{Z}^2}\]See: https://en.wikipedia.org/wiki/Log-normal_distribution#Arithmetic_moments