calculate_sensitivity

lstchain.mc.sensitivity.calculate_sensitivity(n_excesses, n_background, alpha)

Sensitivity calculation using n_excesses/sqrt(n_background)

Parameters:
n_excesses: `numpy.ndarray` number of excess events in the signal region
n_background: `numpy.ndarray` number of events in the background region
alpha: `numpy.ndarray` inverse of the number of off positions
Returns:
sensitivity: numpy.ndarray in percentage of Crab units