parameters: (self, run: str, group: str)
docstring: Returns the x range to use by default for the background corrections. It is the second half of the data.
docstring_summary: Returns the x range to use by default for the background corrections. It is the second half of the data.
docstring_tokens: Returns the x range to use by default for the background corrections . It is the second half of the data .
function: def default_x_range(self, run: str, group: str) -> tuple:
          """Returns the x range to use by default for the background corrections. It is the second half of the data."""
          run_list = run_string_to_list(run)
          last_good_data = self._context.last_good_data(run_list)
  
          if last_good_data != 0.0:
              return self._get_range_for_second_half_of_data(self._context.first_good_data(run_list), last_good_data)
          else:
              return self._get_x_range_from_counts_workspace(run, group)
function_tokens: def default_x_range ( self , run : str , group : str ) -> tuple : run_list = run_string_to_list ( run ) last_good_data = self . _context . last_good_data ( run_list ) if last_good_data != 0.0 : return self . _get_range_for_second_half_of_data ( self . _context . first_good_data ( run_list ) , last_good_data ) else : return self . _get_x_range_from_counts_workspace ( run , group )