Exemplo n.º 1
0
Arquivo: app.py Projeto: jtamir/sigpy
 def min_img_ker():
     self.A_img_ker = linop.ConvSense(self.img_ker.shape,
                                      self.mps_ker,
                                      coord=self.coord,
                                      weights=self.weights)
     sp.app.LinearLeastSquares(self.A_img_ker,
                               self.y,
                               self.img_ker,
                               lamda=self.lamda,
                               max_iter=self.max_inner_iter).run()
Exemplo n.º 2
0
 def min_img_ker():
     self.A_img_ker = linop.ConvSense(self.img_ker.shape,
                                      self.mps_ker,
                                      coord=self.coord,
                                      weights=self.weights,
                                      comm=self.comm)
     sp.app.LinearLeastSquares(self.A_img_ker,
                               self.y,
                               self.img_ker,
                               lamda=self.lamda,
                               max_iter=self.max_inner_iter,
                               show_pbar=self.show_pbar,
                               leave_pbar=False).run()