Function to find root of. Described in Appendix A, Stewart (2009).
Model amplitude.
ndarray
Count image slice, where model is defined.
Background image slice, where model is defined.
Source template (multiplied with exposure).