app = QtGui.QApplication([])
win = QtGui.QMainWindow()
win.resize(800,800)
imv = pg.ImageView()
win.setCentralWidget(imv)
win.show()
imv.setImage( m.signals.chan_5.data)
def setImage(self, img, autoRange=True, autoLevels=True, levels=None, axes=None, xvals=None, pos=None, scale=None, transform=None, autoHistogramRange=True):
* Can this parameter be used to invert the Y-Axis? I found no documentation on the transformation possibilities.
* Whats the best practice?
All pointers welcome
Volker
view = win.addViewBox(lockAspect=True)
view.invertY(True)
Otherwise you can try it this way:
imv.setImage(your_2Darray[:,::-1])
#in original question
imv.setImage( m.signals.chan_5.data)
imv.view.invertY(False)