diff options
| author | Edoardo Pasca <edo.paskino@gmail.com> | 2019-04-16 07:27:27 -0400 | 
|---|---|---|
| committer | Edoardo Pasca <edo.paskino@gmail.com> | 2019-04-16 07:27:27 -0400 | 
| commit | e61ec15dfd3d5082e2c29194165b48245a6ac8a2 (patch) | |
| tree | bdabfcd7059908dc781a9778bde4af77a37584ff | |
| parent | 8150daa22398fb0f6308c5a39a06ec116c4c2532 (diff) | |
| download | framework-e61ec15dfd3d5082e2c29194165b48245a6ac8a2.tar.gz framework-e61ec15dfd3d5082e2c29194165b48245a6ac8a2.tar.bz2 framework-e61ec15dfd3d5082e2c29194165b48245a6ac8a2.tar.xz framework-e61ec15dfd3d5082e2c29194165b48245a6ac8a2.zip  | |
removed TV2D
| -rwxr-xr-x | Wrappers/Python/ccpi/optimisation/funcs.py | 7 | 
1 files changed, 0 insertions, 7 deletions
diff --git a/Wrappers/Python/ccpi/optimisation/funcs.py b/Wrappers/Python/ccpi/optimisation/funcs.py index efc465c..b2b9791 100755 --- a/Wrappers/Python/ccpi/optimisation/funcs.py +++ b/Wrappers/Python/ccpi/optimisation/funcs.py @@ -17,7 +17,6 @@  #   See the License for the specific language governing permissions and  #   limitations under the License. -from ccpi.optimisation.ops import Identity, FiniteDiff2D  import numpy  from ccpi.framework import DataContainer  import warnings @@ -99,12 +98,6 @@ class Norm2(Function):                  raise ValueError ('Wrong size: x{0} out{1}'.format(x.shape,out.shape) ) -class TV2D(Norm2): -     -    def __init__(self, gamma): -        super(TV2D,self).__init__(gamma, 0) -        self.op = FiniteDiff2D() -        self.L = self.op.get_max_sing_val()  # Define a class for squared 2-norm  | 
