def plotSVD(self): mach, lat = self.getCurrentMachLattice() if not lat.ormdata: QMessageBox.critical(self, "ORM SVD", "machine '%s' ORM data is not available" % \ mach, QMessageBox.Ok) return m, brec, trec = lat.ormdata.getMatrix(None, None, full=False, ignore=self.getDeadElements()) U, s, V = np.linalg.svd(m, full_matrices=True) #print np.shape(s), s self.sp = ApSvdPlot(s) self.sp.show()