calculate_RMS_around_1#

protopipe.benchmarks.calculate_RMS_around_1(values, weights)[source]#

Root Mean Square around 1 as proposed from comparison with CTA-MARS.

The input values are vertical slices of the 2D histogram showing the bias-corrected charge resolution.

Parameters
values1D array

Values in reconstructed / true photoelectrons corrected for average bias.

weights1D array

Counts in a cell from the weigthed histogram.

Returns
rmsfloat

Root Mean Square of around 1 for a vertical slice.