integration_correction(reference_pulse_shape, reference_pulse_sample_width_ns, sample_width_ns, window_width, window_shift)[source]¶
Obtain the correction for the integration window specified.
For any integration window applied to a noise-less unit pulse, the correction (returned by this function) multiplied by the integration result should equal 1.
This correction therefore corrects for the Cherenkov signal that may be outside the integration window, and removes any dependence of the resulting image on the window_width and window_shift parameters. However, the width and shift of the window should still be optimised for the pulse finding and to minimise the noise included in the integration.
Numpy array containing the pulse shape for each gain channel
The width of the reference pulse sample time bin in ns
The width of the waveform sample time bin in ns
Width of the integration window (in units of n_samples)
Shift to before the peak for the start of the integration window (in units of n_samples)
Value of the integration correction for each gain channel