f_cash_root_cython#

gammapy.stats.f_cash_root_cython(x, counts, background, model)#

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).