From eaeab258d92f05fb555e4e9897e8e6ff92d186b9 Mon Sep 17 00:00:00 2001 From: theos <theo.steininger@ultimanet.de> Date: Fri, 30 Sep 2016 12:06:00 +0200 Subject: [PATCH] Changed naming from SmoothOperator to SmoothingOperator --- nifty/operators/__init__.py | 2 +- nifty/operators/smooth_operator/__init__.py | 1 - nifty/operators/smoothing_operator/__init__.py | 1 + .../smoothing_operator.py} | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 nifty/operators/smooth_operator/__init__.py create mode 100644 nifty/operators/smoothing_operator/__init__.py rename nifty/operators/{smooth_operator/smooth_operator.py => smoothing_operator/smoothing_operator.py} (98%) diff --git a/nifty/operators/__init__.py b/nifty/operators/__init__.py index 7406201f0..1026adea3 100644 --- a/nifty/operators/__init__.py +++ b/nifty/operators/__init__.py @@ -27,7 +27,7 @@ from diagonal_operator import DiagonalOperator from endomorphic_operator import EndomorphicOperator -from smooth_operator import SmoothOperator +from smoothing_operator import SmoothingOperator from fft_operator import * diff --git a/nifty/operators/smooth_operator/__init__.py b/nifty/operators/smooth_operator/__init__.py deleted file mode 100644 index ea6c6b66b..000000000 --- a/nifty/operators/smooth_operator/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from smooth_operator import SmoothOperator diff --git a/nifty/operators/smoothing_operator/__init__.py b/nifty/operators/smoothing_operator/__init__.py new file mode 100644 index 000000000..9ffc9daef --- /dev/null +++ b/nifty/operators/smoothing_operator/__init__.py @@ -0,0 +1 @@ +from smoothing_operator import SmoothingOperator diff --git a/nifty/operators/smooth_operator/smooth_operator.py b/nifty/operators/smoothing_operator/smoothing_operator.py similarity index 98% rename from nifty/operators/smooth_operator/smooth_operator.py rename to nifty/operators/smoothing_operator/smoothing_operator.py index d708721e0..4f5e5b663 100644 --- a/nifty/operators/smooth_operator/smooth_operator.py +++ b/nifty/operators/smoothing_operator/smoothing_operator.py @@ -7,7 +7,7 @@ from nifty.operators.endomorphic_operator import EndomorphicOperator from nifty.operators.fft_operator import FFTOperator -class SmoothOperator(EndomorphicOperator): +class SmoothingOperator(EndomorphicOperator): # ---Overwritten properties and methods--- def __init__(self, domain=(), field_type=(), sigma=None): -- GitLab