plot_theta_squared_table#

gammapy.visualization.plot_theta_squared_table(table)[source]#

Plot the theta2 distribution of counts, excess and signifiance.

Take the table containing the ON counts, the OFF counts, the acceptance, the off acceptance and the alpha (normalisation between ON and OFF) for each theta2 bin.

Parameters
tableTable

Required columns: theta2_min, theta2_max, counts, counts_off and alpha