fc_construct_acceptance_intervals_pdfs

gammapy.stats.fc_construct_acceptance_intervals_pdfs(matrix, alpha)[source]

Numerically choose bins a la Feldman Cousins ordering principle.

For more information see documentation.

Parameters:
matrix : array-like

A list of x PDFs for increasing values of mue.

alpha : float

Desired confidence level

Returns:
distributions_scaled : ndarray

Acceptance intervals (1 means inside, 0 means outside)