parameters: (self, arguments, reducer)
docstring: Parses a line of the form BACK/TRANS to set the background for region of interest (ROI) data
              @param arguments: the contents of the line after the first keyword
              @param reducer: the object that contains all the settings
              @return any errors encountered or ''
docstring_summary: Parses a line of the form BACK/TRANS to set the background for region of interest (ROI) data
docstring_tokens: Parses a line of the form BACK / TRANS to set the background for region of interest ( ROI ) data
function: def _read_back_trans_roi(self, arguments, reducer):
          """
              Parses a line of the form BACK/TRANS to set the background for region of interest (ROI) data
              @param arguments: the contents of the line after the first keyword
              @param reducer: the object that contains all the settings
              @return any errors encountered or ''
          """
          try:
              # Get everything after TRANS. This should be two numbers essentially (start and end time)
              arguments.strip()
              times = arguments.split()
              times = [t.strip() for t in times]
              if len(times) == 2:
                  reducer.inst.set_TOFs_for_ROI(int(times[0]), int(times[1]))
                  return ''
              raise ValueError('Expected two times for BACK/TRANS')
          except ValueError as reason:
              # return a description of any problems and then continue to read the next line
              return str(reason) + ' on line: '
function_tokens: def _read_back_trans_roi ( self , arguments , reducer ) : try : # Get everything after TRANS. This should be two numbers essentially (start and end time) arguments . strip ( ) times = arguments . split ( ) times = [ t . strip ( ) for t in times ] if len ( times ) == 2 : reducer . inst . set_TOFs_for_ROI ( int ( times [ 0 ] ) , int ( times [ 1 ] ) ) return '' raise ValueError ( 'Expected two times for BACK/TRANS' ) except ValueError as reason : # return a description of any problems and then continue to read the next line return str ( reason ) + ' on line: '