def METHOD_NAME(i):
    print(out + ": Frame:", i, "/", len(data))
    pg.viewer.mpl.setMappableData(gci, pg.abs(data[i]), 
                                 cMin=cMin, cMax=cMax,
                                 logScale=logScale)
    #plt.pause(0.001)