def METHOD_NAME(self, n, data, i):
    """
    return (int): mean of the data
    """
    # We only care about the CCD data
    if n < len(self.streams) - 1:
        return super(SEMCLCCDStream, self).METHOD_NAME(n, data, i)
    # Computing the sum or the mean is theoretically equivalent, but the sum
    # provides gigantic values while the mean gives values in the same order
    # as in the original data. Note that we cannot use the original dtype
    # because if it's an integer it will likely cause quantisation (as a
    # large part of the image received is identical for all the e-beam
    # positions scanned).
    return data.mean()