code: def inverse(self):
          
          op = self
  
          class ShearlabOperatorInverse(odl.Operator):
  
              """Inverse of the shearlet transform.
  
              See Also
              --------
              odl.contrib.shearlab.ShearlabOperator
              """
  
              def __init__(self):
                  """Initialize a new instance."""
                  self.mutex = op.mutex
                  self.shearlet_system = op.shearlet_system
                  super(ShearlabOperatorInverse, self).__init__(
                      op.range, op.domain, True)
  
              def _call(self, x):
                  """``self(x)``."""
                  with op.mutex:
                      x = np.moveaxis(x, 0, -1)
                      return shearrec2D(x, op.shearlet_system)
  
              @property
              def adjoint(self):
                  """The inverse operator."""
                  op = self
  
                  class ShearlabOperatorInverseAdjoint(odl.Operator):
  
                      """
                      Adjoint of the inverse/Inverse of the adjoint
                      of shearlet transform.
  
                      See Also
                      --------
                      odl.contrib.shearlab.ShearlabOperator
                      """
  
                      def __init__(self):
                          """Initialize a new instance."""
  
                          self.mutex = op.mutex
                          self.shearlet_system = op.shearlet_system
                          super(ShearlabOperatorInverseAdjoint, self).__init__(
                              op.range, op.domain, True)
  
                      def _call(self, x):
                          """``self(x)``."""
                          with op.mutex:
                              result = shearrecadjoint2D(x, op.shearlet_system)
                              return np.moveaxis(result, -1, 0)
  
                      @property
                      def adjoint(self):
                          """The adjoint operator."""
                          return op
  
                      @property
                      def inverse(self):
                          """The inverse operator."""
                          return op.inverse.adjoint
  
                  return ShearlabOperatorInverseAdjoint()
  
              @property
              def inverse(self):
                  """The inverse operator."""
                  return op
  
          return ShearlabOperatorInverse()
docs: The inverse operator.