Outcome#

class uvex_transients.phase_space.sampling.base.Outcome(k: int, n: int, extras: Mapping[str, ~typing.Any]=<factory>)[source]#

The result of sampling one point: k successes of n tries, and whatever else was worth recording.

Raises:

ValueError – If the counts do not satisfy 0 <= k <= n with n >= 1.

Methods

Attributes

fraction

The observed success fraction, k / n.

k

The number of successes.

n

The number of tries, at least 1.

extras

Other entries of the point, by name, which become columns of the table of points.