parameters: (self, index)
return_statement: return params
docstring: Get the keyword arguments to be provided to an algorithm. This will
          merge the global settings and the row specific settings in a single
          dictionnary. It will also remove all the empty parameters.
  
          Args:
              sample (int): sample index
  
          Returns:
              dict(str, any): key, value pairs of parameters. Value can be str,
                              int, float, bool
docstring_summary: Get the keyword arguments to be provided to an algorithm. This will
          merge the global settings and the row specific settings in a single
          dictionnary. It will also remove all the empty parameters.
docstring_tokens: Get the keyword arguments to be provided to an algorithm . This will merge the global settings and the row specific settings in a single dictionnary . It will also remove all the empty parameters .
function: def getProcessingParameters(self, index):
          """
          Get the keyword arguments to be provided to an algorithm. This will
          merge the global settings and the row specific settings in a single
          dictionnary. It will also remove all the empty parameters.
  
          Args:
              sample (int): sample index
  
          Returns:
              dict(str, any): key, value pairs of parameters. Value can be str,
                              int, float, bool
          """
          params = dict()
          if self.acquisitionMode in RundexSettings.FLAGS:
              params.update(RundexSettings.FLAGS[self.acquisitionMode])
          for p in self._parameters:
              params[p.getName()] = p.getValue()
  
          sample = self._samples[index]
          # search for master sample
          group = sample.getGroup()
          if group:
              masterSample = group.getMaster()
              if masterSample:
                  params.update(masterSample.getParameterValues())
  
          params.update(sample.getParameterValues())
          # remove empty params
          for (k, v) in list(params.items()):
              if v is None or v == "DEFAULT":
                  del params[k]
          # add the output workspace param
          if "OutputWorkspace" not in params or params["OutputWorkspace"] == "":
              params["OutputWorkspace"] = "sample_" + str(index + 1)
          sample.setOutputName(params["OutputWorkspace"])
          return params
function_tokens: def getProcessingParameters ( self , index ) : params = dict ( ) if self . acquisitionMode in RundexSettings . FLAGS : params . update ( RundexSettings . FLAGS [ self . acquisitionMode ] ) for p in self . _parameters : params [ p . getName ( ) ] = p . getValue ( ) sample = self . _samples [ index ] # search for master sample group = sample . getGroup ( ) if group : masterSample = group . getMaster ( ) if masterSample : params . update ( masterSample . getParameterValues ( ) ) params . update ( sample . getParameterValues ( ) ) # remove empty params for ( k , v ) in list ( params . items ( ) ) : if v is None or v == "DEFAULT" : del params [ k ] # add the output workspace param if "OutputWorkspace" not in params or params [ "OutputWorkspace" ] == "" : params [ "OutputWorkspace" ] = "sample_" + str ( index + 1 ) sample . setOutputName ( params [ "OutputWorkspace" ] ) return params