rxmc.covariance.TermContext#
- class rxmc.covariance.TermContext(x: ndarray, y: ndarray, ym: ndarray | None, support: ndarray)[source]#
Bases:
objectA term’s local view of the stack on its own support.
xare the coordinates on the support —ctx.x[support]passed through the term’scoordstransform (soxmay be 2-D);yandymare the observed data and model prediction on the support (ymisNonewhen a constant covariance is assembled without a model prediction), andsupportthe stacked indices this view corresponds to.len(c)is the number of points.Methods
__init__(x, y, ym, support)Attributes