lognormal (pmrf.lognormal)
- pmrf.lognormal(loc: Array | ndarray | bool | number | bool | int | float | complex, sigma: Array | ndarray | bool | number | bool | int | float | complex, *, constraint: AbstractConstraint | None = None, value: Array | ndarray | bool | number | bool | int | float | complex | None = None, fixed: bool = False, name: str | None = None, scale: float | None = None, metadata: Any | None = None) Param
Create a random parameter with a log-normal prior in declared space.
loc and sigma are the distribution’s log-space parameters, not the mean and standard deviation of the parameter value. scale sets the parameter’s units.
- Parameters:
loc (ArrayLike) – Location and standard deviation of the underlying normal distribution in log space.
sigma (ArrayLike) – Location and standard deviation of the underlying normal distribution in log space.
constraint (AbstractConstraint, optional) – An additional range for the parameter. Unsupported prior truncation raises.
value (ArrayLike, optional) – Initial declared value; defaults to the prior mean.
fixed (bool, optional) – Whether the parameter is fixed.
name (str, optional) – Parameter name.
scale (float, optional) – Units multiplier from declared to physical space.
metadata (Any, optional) – Arbitrary metadata.
- Returns:
The random parameter.
- Return type: