MixtureFunction#
- class sdm.prior.MixtureFunction(functions: Sequence[RandomFunction | tuple[RandomFunction, float]], correlated: bool = True)#
Bases:
RandomFunction,Mixture[RandomFunction]Pick one random function per call from a weighted pool.
- Parameters:
functions (Sequence[RandomFunction | tuple[RandomFunction, float]]) – Functions or
(function, weight)pairs. Bare functions have weight one.correlated (bool) – Share selection probabilities within a
CorrelatedContext.