def test_tv(self):
     geom = Geometry(2)
     proj_vec = Rn(geom.proj_size).element(1)
     cp = ODLChambollePock(geom, proj_vec)
     cp.least_squares(3, L=131.0, non_negativiy_constraint=False,
                      tv_norm=1,
                      verbose=False)
 def test_least_squares_method(self):
     geom = Geometry(2)
     proj_vec = Rn(geom.proj_size).element(1)
     cp = ODLChambollePock(geom, proj_vec)
     num_iter = 3
     cp.least_squares(num_iter, verbose=False)