energy_results
- lstchain.visualization.plot_dl2.energy_results(dl2_data, points_outfile=None, plot_outfile=None)
Plot energy resolution, energy bias and energy migration matrix in the same figure
- Parameters:
- dl2_data: `pandas.DataFrame`
dl2 MC gamma data - must include the columns mc_energy and reco_energy
- points_outfile: None or str
if specified, save the resolution and bias in hdf5 format
- plot_outfile: None or str
if specified, save the figure
- Returns:
- fig, axes: matplotlib.pyplot.figure, matplotlib.pyplot.axes