Note

You are not reading the stable version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

plot_theta_squared_table

gammapy.visualization.plot_theta_squared_table(table)[source]

Plot the theta2 distribution of ON, OFF counts, excess and signifiance in each theta2bin.

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