parameters: (exp_number, scan_number, pt_number_list)
return_statement: return ws_name
docstring: Form the name of the peak workspace
      :param exp_number:
      :param scan_number:
      :param pt_number_list:
      :return:
docstring_summary: Form the name of the peak workspace
      :param exp_number:
      :param scan_number:
      :param pt_number_list:
      :return:
docstring_tokens: Form the name of the peak workspace : param exp_number : : param scan_number : : param pt_number_list : : return :
function: def get_peak_ws_name(exp_number, scan_number, pt_number_list):
      """
      Form the name of the peak workspace
      :param exp_number:
      :param scan_number:
      :param pt_number_list:
      :return:
      """
      # check
      assert isinstance(exp_number, int) and isinstance(scan_number, int)
      assert isinstance(pt_number_list, list) and len(pt_number_list) > 0
  
      ws_name = 'Peak_Exp%d_Scan%d_Pt%d_%d' % (exp_number, scan_number,
                                               pt_number_list[0],
                                               pt_number_list[-1])
  
      return ws_name
function_tokens: def get_peak_ws_name ( exp_number , scan_number , pt_number_list ) : # check assert isinstance ( exp_number , int ) and isinstance ( scan_number , int ) assert isinstance ( pt_number_list , list ) and len ( pt_number_list ) > 0 ws_name = 'Peak_Exp%d_Scan%d_Pt%d_%d' % ( exp_number , scan_number , pt_number_list [ 0 ] , pt_number_list [ - 1 ] ) return ws_name