parameters: (self)
docstring: Gets algorithm properties.
docstring_summary: Gets algorithm properties.
docstring_tokens: Gets algorithm properties .
function: def _setup(self):
          """
          Gets algorithm properties.
          """
  
          # Get properties
          self._data_files = self.getProperty('InputFiles').value
          self._can_files = ''
          self._can_scale = 1.0
          self._calib_file = ''
          self._sum_files = False
          self._load_logs = self.getProperty('LoadLogFiles').value
  
          self._instrument_name = self.getPropertyValue('Instrument')
          self._mode = 'diffspec'
  
          self._spectra_range = self.getProperty('SpectraRange').value
          self._rebin_paras = ''
  
          self._grouping_method = 'All'
  
          self._sample_log_name = self.getPropertyValue('SampleEnvironmentLogName')
          self._sample_log_value = self.getPropertyValue('SampleEnvironmentLogValue')
  
          self._output_ws = self.getPropertyValue('OutputWorkspace')
  
          # Disable sum files if there is only one file
          if len(self._data_files) == 1:
              if self._sum_files:
                  logger.warning('SumFiles disabled when only one input file is provided.')
              self._sum_files = False
  
          # The list of workspaces being processed
          self._workspace_names = []
function_tokens: def _setup ( self ) : # Get properties self . _data_files = self . getProperty ( 'InputFiles' ) . value self . _can_files = '' self . _can_scale = 1.0 self . _calib_file = '' self . _sum_files = False self . _load_logs = self . getProperty ( 'LoadLogFiles' ) . value self . _instrument_name = self . getPropertyValue ( 'Instrument' ) self . _mode = 'diffspec' self . _spectra_range = self . getProperty ( 'SpectraRange' ) . value self . _rebin_paras = '' self . _grouping_method = 'All' self . _sample_log_name = self . getPropertyValue ( 'SampleEnvironmentLogName' ) self . _sample_log_value = self . getPropertyValue ( 'SampleEnvironmentLogValue' ) self . _output_ws = self . getPropertyValue ( 'OutputWorkspace' ) # Disable sum files if there is only one file if len ( self . _data_files ) == 1 : if self . _sum_files : logger . warning ( 'SumFiles disabled when only one input file is provided.' ) self . _sum_files = False # The list of workspaces being processed self . _workspace_names = [ ]