firecrown.likelihood.gauss_family.statistic.statistic

firecrown.likelihood.gauss_family.statistic.statistic#

Gaussian Family Statistic Module.

The Statistic class describing objects that implement methods to compute the data and theory vectors for a GaussFamily subclass.

Functions

residuals

Return a bare np.ndarray with the difference between data and theory.

Classes

DataVector

This class wraps a np.ndarray that represents some observed data values.

GuardedStatistic

An internal class used to maintain state on statistics.

Statistic

The abstract base class for all physics-related statistics.

StatisticsResult

This is the type returned by the compute method of any Statistic.

TheoryVector

This class represents an observation predicted by some theory.

TrivialStatistic

A minimal statistic only to be used for testing Gaussian likelihoods.

Exceptions

StatisticUnreadError(stat)

Error raised when accessing an un-read statistic.