gstools.random.dist_gen
- gstools.random.dist_gen(pdf_in=None, cdf_in=None, ppf_in=None, **kwargs)[source]
Distribution Factory.
- Parameters:
pdf_in (
callableorNone, optional) – Probability distribution function of the given distribution, that takes a single argument Default:Nonecdf_in (
callableorNone, optional) – Cumulative distribution function of the given distribution, that takes a single argument Default:Noneppf_in (
callableorNone, optional) – Percent point function of the given distribution, that takes a single argument Default:None**kwargs – Keyword-arguments forwarded to
scipy.stats.rv_continuous.
- Returns:
dist – The constructed distribution.
- Return type:
Notes
At least pdf or cdf needs to be given.