uvex_transients.phase_space.map.PhaseSpaceMap.add#

PhaseSpaceMap.add(x: ArrayLike, k: int, n: int, **extras) → None[source]#

Add a measured point.

The model is not refitted until it is next used.

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

  • k (int) – The successes and the tries at the point.

  • n (int) – The successes and the tries at the point.

  • **extras – Any other entries of the point, which become columns of table.

Raises:

ValueError – If the point is not of the space, or the counts do not satisfy 0 <= k <= n.