plot_positions_survived_events
- lstchain.mc.plot_utils.plot_positions_survived_events(df_gammas, df_protons, gammaness_g, gammaness_p, theta2_g, p_contained, sensitivity, energy, n_bins_energy, gammaness_bins, theta2_bins, save_figure=False)
Plot positions of surviving events after cuts
- Parameters:
- df_gammas: `pandas.DataFrame` gammas dl2 parameters
- df_protons: `pandas.DataFrame` protons dl2 parameters
- gammaness_g: `numpy.ndarray` gammaness array of gamma events
- gammaness_p: `numpy.ndarray` gammaness array of proton events
- theta2_g: `numpy.ndarray` theta2 array of gamma events
- p_contained: `numpy.ndarray` containment of proton events inside
the ring established in camera coordinates
- sensitivity: `numpy.ndarray` array with sensitivity values in energy bins
- energy: `numpy.ndarray` energy edge bins (size n_bins_energy + 1)
- n_bins_energy: `int` number of bins in energy
- gammaness_bins: `numpy.ndarray` gammaness bins
- theta2_bins: `numpy.ndarray` theta2 bins