uvex_transients.phase_space.map.PhaseSpaceMap.recovery#
- PhaseSpaceMap.recovery(x: ArrayLike, *, n_sigma: float = 1.0) dict[str, NDArray][source]#
Predict the success fraction, with an interval, at points of the space.
- Parameters:
x (
array-like) – Points in the coordinates of the space, shape(m, ndim).n_sigma (
float, optional) – Half-width of the interval, in posterior standard deviations of the logit. The default is 1.
- Returns:
"p"(the posterior median),"p_lo","p_hi"(the interval) and"sigma_logit"(the posterior standard deviation of the logit), each of shape(m,).- Return type: