def METHOD_NAME(self, event=None):
    from PYME.Analysis import deTile
    from PYME.DSView import View3D
    x0 = self.image.mdh.getEntry('Positioning.x')
    xm = piecewiseMapping.GenerateBacklashCorrPMFromEventList(self.image.events, self.image.mdh,
                                                              self.image.mdh.getEntry('StartTime'), x0,
                                                              'ScannerXPos', 0, .0055)
    y0 = self.image.mdh.getEntry('Positioning.y')
    ym = piecewiseMapping.GenerateBacklashCorrPMFromEventList(self.image.events, self.image.mdh,
                                                              self.image.mdh.getEntry('StartTime'), y0,
                                                              'ScannerYPos', 0, .0035)
    #dark = deTile.genDark(self.vp.do.ds, self.image.mdh)
    dark = self.image.mdh.getEntry('Camera.ADOffset')
    #flat = deTile.guessFlat(self.image.data, self.image.mdh, dark)
    flat = None
    #flat = numpy.load('d:/dbad004/23_7_flat.npy')
    #flat = flat.reshape(list(flat.shape[:2]) + [1,])
    #print dark.shape, flat.shape
    split = False
    dt = deTile.tile_pyramid('/Users/david/pyramid/', self.image.data, xm, ym, self.image.mdh, split=split, skipMoveFrames=False, dark=dark,
                     flat=flat)#, mixmatrix = [[.3, .7], [.7, .3]])
    #mdh = MetaDataHandler.NestedClassMDHandler(self.image.mdh)
    #if dt.ndim > 2:
    #    View3D([dt[:, :, 0][:, :, None], dt[:, :, 1][:, :, None]], 'Tiled Image', mdh=mdh,
    #           parent=wx.GetTopLevelParent(self.dsviewer))
    #else:
    #    View3D(dt, 'Tiled Image', mdh=mdh, parent=wx.GetTopLevelParent(self.dsviewer))
    return dt