gstools.random.dist_gen¶
-
gstools.random.
dist_gen
(pdf_in=None, cdf_in=None, ppf_in=None, **kwargs)[source]¶ Distribution Factory.
- Parameters
pdf_in (
callable
orNone
, optional) – Proprobability distribution function of the given distribution, that takes a single argument Default:None
cdf_in (
callable
orNone
, optional) – Cumulative distribution function of the given distribution, that takes a single argument Default:None
ppf_in (
callable
orNone
, 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.