def METHOD_NAME(self):
    size = (self.size, self.size)
    self.float_data, self.uint16_data, self.uint8_data, self.uint16_lut, self.uint8_lut = self._create_data(
        size, np
    )
    if numba is not None:
        # ensure JIT compilation
        pg.setConfigOption("useNumba", True)
        prime_numba()
        pg.setConfigOption("useNumba", False)
    if cp:
        _d1, _d2, _d3, self.cupy_uint16_lut, self.cupy_uint8_lut = self._create_data(size, cp)
        renderQImage(cp.asarray(self.uint16_data["data"]))  # prime the gpu