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
matrixarray-like

A list of x PDFs for increasing values of mue.

alphafloat

Desired confidence level

Returns
distributions_scaledndarray

Acceptance intervals (1 means inside, 0 means outside)