cogwheel.likelihood.likelihoodΒΆ

Compute likelihood of GW events.

A class CBCLikelihood is defined. This can be used to compute likelihoods without resorting to the relative binning algorithm (slow) and is subclassed by BaseRelativeBinning.

Functions

check_bounds

Decorator that adds parameter bound checks to a lnlike function.

hole_edges

Return nholes x 2 array with edges of holes (holes extend from [left_edge : right_edge]).

std_from_median

Estimator of the standard deviation of an array based on the median absolute deviation for robustness to outliers.

Classes

CBCLikelihood

Class that accesses the event data and waveform generator.