parameters: (self)
return_statement: return
docstring: Declare properties
docstring_summary: Declare properties
docstring_tokens: Declare properties
function: def PyInit(self):
          """ Declare properties
          """
          self.declareProperty(FileProperty("ReflectionsFile","", FileAction.OptionalLoad, ['.hkl']),
                               "Name of [http://www.ill.eu/sites/fullprof/ Fullprof] .hkl file that contains the peaks.")
  
          self.declareProperty(FileProperty("FullprofParameterFile", "", FileAction.Load, ['.irf']),
                               "Fullprof's .irf file containing the peak parameters.")
  
          self.declareProperty("GenerateBraggReflections", False,
                               "Generate Bragg reflections other than reading a Fullprof .irf file. ")
  
          arrvalidator = IntArrayBoundedValidator(lower=0)
          self.declareProperty(IntArrayProperty("MaxHKL", values=[12, 12, 12], validator=arrvalidator,
                                                direction=Direction.Input), "Maximum reflection (HKL) to generate")
  
          self.declareProperty("Bank", 1, "Bank ID for output if there are more than one bank in .irf file.")
  
          self.declareProperty("LatticeConstant", -0.0, validator=FloatBoundedValidator(lower=1.0E-9),
                               doc="Lattice constant for cubic crystal.")
  
          self.declareProperty(ITableWorkspaceProperty("InstrumentParameterWorkspace", "", Direction.Output),
                               "Name of Table Workspace Containing Peak Parameters From .irf File.")
  
          self.declareProperty(ITableWorkspaceProperty("BraggPeakParameterWorkspace", "", Direction.Output),
                               "Name of Table Workspace Containing Peaks' Miller Indices From .prf File.")
  
          return
function_tokens: def PyInit ( self ) : self . declareProperty ( FileProperty ( "ReflectionsFile" , "" , FileAction . OptionalLoad , [ '.hkl' ] ) , "Name of [http://www.ill.eu/sites/fullprof/ Fullprof] .hkl file that contains the peaks." ) self . declareProperty ( FileProperty ( "FullprofParameterFile" , "" , FileAction . Load , [ '.irf' ] ) , "Fullprof's .irf file containing the peak parameters." ) self . declareProperty ( "GenerateBraggReflections" , False , "Generate Bragg reflections other than reading a Fullprof .irf file. " ) arrvalidator = IntArrayBoundedValidator ( lower = 0 ) self . declareProperty ( IntArrayProperty ( "MaxHKL" , values = [ 12 , 12 , 12 ] , validator = arrvalidator , direction = Direction . Input ) , "Maximum reflection (HKL) to generate" ) self . declareProperty ( "Bank" , 1 , "Bank ID for output if there are more than one bank in .irf file." ) self . declareProperty ( "LatticeConstant" , - 0.0 , validator = FloatBoundedValidator ( lower = 1.0E-9 ) , doc = "Lattice constant for cubic crystal." ) self . declareProperty ( ITableWorkspaceProperty ( "InstrumentParameterWorkspace" , "" , Direction . Output ) , "Name of Table Workspace Containing Peak Parameters From .irf File." ) self . declareProperty ( ITableWorkspaceProperty ( "BraggPeakParameterWorkspace" , "" , Direction . Output ) , "Name of Table Workspace Containing Peaks' Miller Indices From .prf File." ) return