Mean#
- class tinygp.means.Mean(value: JAXArray | Callable[[JAXArray], JAXArray])[source]#
Bases:
MeanBase
A wrapper for the GP mean which supports a constant value or a callable
In
tinygp
, a mean function can be any callable which takes as input a single coordinate and returns the scalar mean at that location.- Parameters:
value – Either a scalar constant, or a callable with the correct signature.