Note

You are not reading the stable version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

f_cash_root_cython

gammapy.stats.f_cash_root_cython()

Function to find root of. Described in Appendix A, Stewart (2009).

Parameters
xfloat

Model amplitude.

countsndarray

Count image slice, where model is defined.

backgroundndarray

Background image slice, where model is defined.

modelndarray

Source template (multiplied with exposure).