add function to plot detector sensitivity