parameters: (self, show_period=True)
return_statement: return name
docstring: Returns name of the workspace that will be created by this reduction
              which is based on the settings passed to the chain
              @param show_period: if True (default) the period (entry) number of the run is included in the name after a p
              @return: the workspace name to create
docstring_summary: Returns name of the workspace that will be created by this reduction
              which is based on the settings passed to the chain
docstring_tokens: Returns name of the workspace that will be created by this reduction which is based on the settings passed to the chain
function: def get_out_ws_name(self, show_period=True):
          """
              Returns name of the workspace that will be created by this reduction
              which is based on the settings passed to the chain
              @param show_period: if True (default) the period (entry) number of the run is included in the name after a p
              @return: the workspace name to create
          """
          sample_obj = self.get_sample().loader
          name = str(sample_obj.shortrun_no)
          if show_period and (sample_obj.periods_in_file > 1 or sample_obj._period != -1):
              period = sample_obj.curr_period()
              name += 'p' + str(period)
  
          name += self.instrument.cur_detector().name('short')
          name += '_' + self.to_Q.output_type
          name += '_' + self.to_wavelen.get_range()
          name += self.mask.get_phi_limits_tag()
  
          if self.getNumSlices() > 0:
              limits = self.getCurrSliceLimit()
              if limits[0] != -1:
                  name += '_t%.2f' % limits[0]
              if limits[1] != -1:
                  name += '_T%.2f' % limits[1]
  
          return name
function_tokens: def get_out_ws_name ( self , show_period = True ) : sample_obj = self . get_sample ( ) . loader name = str ( sample_obj . shortrun_no ) if show_period and ( sample_obj . periods_in_file > 1 or sample_obj . _period != - 1 ) : period = sample_obj . curr_period ( ) name += 'p' + str ( period ) name += self . instrument . cur_detector ( ) . name ( 'short' ) name += '_' + self . to_Q . output_type name += '_' + self . to_wavelen . get_range ( ) name += self . mask . get_phi_limits_tag ( ) if self . getNumSlices ( ) > 0 : limits = self . getCurrSliceLimit ( ) if limits [ 0 ] != - 1 : name += '_t%.2f' % limits [ 0 ] if limits [ 1 ] != - 1 : name += '_T%.2f' % limits [ 1 ] return name