parameters: (self, states, use_optimizations=True, output_mode=OutputMode.PUBLISH_TO_ADS, plot_results = False,
                   output_graph='', save_can=False)
return_statement: return self._execute(states, use_optimizations, output_mode, plot_results, output_graph, save_can=save_can)
docstring: This is the start of any reduction.
  
          :param states: This is a list of sans states. Each state in the list corresponds to a single reduction.
          :param use_optimizations: if True then the optimizations for file reloading are used.
          :param output_mode: The output mode defines how the reduced data should be published. This can be
                              1. PublishToADS
                              2. SaveToFile
                              3. Both
docstring_summary: This is the start of any reduction.
docstring_tokens: This is the start of any reduction .
function: def __call__(self, states, use_optimizations=True, output_mode=OutputMode.PUBLISH_TO_ADS, plot_results = False,
                   output_graph='', save_can=False):
          """
          This is the start of any reduction.
  
          :param states: This is a list of sans states. Each state in the list corresponds to a single reduction.
          :param use_optimizations: if True then the optimizations for file reloading are used.
          :param output_mode: The output mode defines how the reduced data should be published. This can be
                              1. PublishToADS
                              2. SaveToFile
                              3. Both
          """
          self.validate_inputs(states, use_optimizations, output_mode, plot_results, output_graph)
  
          return self._execute(states, use_optimizations, output_mode, plot_results, output_graph, save_can=save_can)
function_tokens: def __call__ ( self , states , use_optimizations = True , output_mode = OutputMode . PUBLISH_TO_ADS , plot_results = False , output_graph = '' , save_can = False ) : self . validate_inputs ( states , use_optimizations , output_mode , plot_results , output_graph ) return self . _execute ( states , use_optimizations , output_mode , plot_results , output_graph , save_can = save_can )