Mean#
- class tinygp.means.Mean(value: tinygp.helpers.JAXArray | Callable[[tinygp.helpers.JAXArray], tinygp.helpers.JAXArray])[source]#
Bases:
object
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.