uvex_transients.phase_space.map.PhaseSpaceMap.evaluate#

PhaseSpaceMap.evaluate(x: ArrayLike, products: Sequence[Product] = (), *, n_sigma: float = 1.0) → dict[str, NDArray[float64]][source]#

Evaluate the success fraction and derived quantities at points of the space.

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

  • products (sequence of Product, optional) – The derived quantities to make from the estimate and the points.

  • n_sigma (float, optional) – Half-width of the interval, in posterior standard deviations of the logit.

Returns:

f, f_lo and f_hi (the success fraction and its interval), sigma_log (see log_uncertainty()), and every column of every product, each of shape (...).

Return type:

dict of str to numpy.ndarray