cogwheel.validation.analyze.get_credible_intervals

cogwheel.validation.analyze.get_credible_intervals(config, params=None, min_required_samples=30)

Compute credible interval at which the injected value is recovered for multiple parameters and injections.

Parameters:
configmodule

Output of load_config.

paramssequence of str, optional

Parameters for which to compute credible intervals. Defaults to all parameters available in both the injection json and samples.

min_required_samplesint

Minimum number of samples with ⟨ℎ∣ℎ⟩ > config.H_H_MIN to tolerate.

Returns:
credible_intervalspandas.DataFrame

Columns correspond to different source parameters and rows to different injections.