uvex_transients.phase_space.map.PhaseSpaceMap.predict#

PhaseSpaceMap.predict(x: ArrayLike, *, cov: bool = False)[source]#

Predict the logit of the success fraction at points of the space.

Parameters:
  • x (array-like) – Points in the coordinates of the space, shape (m, ndim).

  • cov (bool, optional) – If True, return the full posterior covariance instead of the standard deviation.

Returns:

  • mean (numpy.ndarray) – Posterior mean of the logit, shape (m,).

  • spread (numpy.ndarray) – Posterior standard deviation of the logit, shape (m,), or its covariance, (m, m).