parameters: (self)
docstring: Declare properties
docstring_summary: Declare properties
docstring_tokens: Declare properties
function: def PyInit(self):
          """
          Declare properties
          """
          self.declareProperty(MatrixWorkspaceProperty("InputWorkspace", "",
                                                       direction=Direction.Input),
                               doc="Input workspace. The units are assumed to be distance")
          functions = [Gr, GKr, gr]
          self.declareProperty("From", Gr, StringListValidator(functions),
                               "Function type in the input workspace")
          self.declareProperty("To", Gr, StringListValidator(functions),
                               "Function type in the output workspace")
          self.declareProperty(WorkspaceProperty('OutputWorkspace', '',
                                                 direction=Direction.Output),
                               doc='Output workspace')
function_tokens: def PyInit ( self ) : self . declareProperty ( MatrixWorkspaceProperty ( "InputWorkspace" , "" , direction = Direction . Input ) , doc = "Input workspace. The units are assumed to be distance" ) functions = [ Gr , GKr , gr ] self . declareProperty ( "From" , Gr , StringListValidator ( functions ) , "Function type in the input workspace" ) self . declareProperty ( "To" , Gr , StringListValidator ( functions ) , "Function type in the output workspace" ) self . declareProperty ( WorkspaceProperty ( 'OutputWorkspace' , '' , direction = Direction . Output ) , doc = 'Output workspace' )