Improve CTA sensitivity estimator #1136
This is a follow-up PR to #1123. It includes the changes introduced in #1123, rebased on the current master. It was not possible to rebase without conflicts in
I would suggest, that we merge this PR as is and @bkhelifi can start a new branch from master to fix the tests.