From b0de760df4eb86d803c2d6cb48e51ddc8f01ae08 Mon Sep 17 00:00:00 2001 From: Theo Steininger <theo.steininger@ultimanet.de> Date: Sat, 8 Jul 2017 11:31:45 +0200 Subject: [PATCH] Added projection_field property to ProjectionOperator. --- nifty/operators/projection_operator/projection_operator.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nifty/operators/projection_operator/projection_operator.py b/nifty/operators/projection_operator/projection_operator.py index 998110b06..18064950d 100644 --- a/nifty/operators/projection_operator/projection_operator.py +++ b/nifty/operators/projection_operator/projection_operator.py @@ -163,3 +163,9 @@ class ProjectionOperator(EndomorphicOperator): @property def self_adjoint(self): return True + + # ---Added properties and methods--- + + @property + def projection_field(self): + return self._projection_field -- GitLab