Fix mismatched boolean indices for events
Fix mismatched boolean indices for events

These produce VisibleDeprecationWarning messages in the latest NumPy.
The np.diff step results in boolean indices that are 1 shorter than
the original events, and therefore should not be used to index it
directly. Rather convert them to integer indices first via np.nonzero.

ska-sa/katdal