firecrown.likelihood.gaussian

Provides GaussFamily concrete types.

Classes

ConstGaussian

A Gaussian log-likelihood with a constant covariance matrix.

Module Contents

class firecrown.likelihood.gaussian.ConstGaussian(statistics)[source]

Bases: firecrown.likelihood.gaussfamily.GaussFamily

Inheritance diagram of firecrown.likelihood.gaussian.ConstGaussian

A Gaussian log-likelihood with a constant covariance matrix.

Parameters:

statistics (collections.abc.Sequence[firecrown.likelihood.statistic.Statistic])

compute_loglike(tools)[source]

Compute the log-likelihood.

Params tools:

The modeling tools used to compute the likelihood.

Returns:

The log-likelihood.

Parameters:

tools (firecrown.modeling_tools.ModelingTools)

Return type:

float

make_realization_vector()[source]

Create a new (randomized) realization of the model.

Returns:

A new realization of the model

Return type:

numpy.ndarray