def METHOD_NAME(vector):
  xs = flex.double()
  ys = flex.double()
  axis2 = vector.rotate_2d(angle=90.,deg=True)
  #print vector.elems,axis2.elems
  for a in range(-15,16,1):
    ax = 0.1 * a
    xs.append(ax)
    sumx = 0.0
    for b in range(-15,16,1):
      bx = 0.1 * b
      #convert these rotating-frame coords to stationary frame
      stat = ax*vector + bx*axis2
      #print stat.elems
      sumx += line_spread_response_1d(stat[0]) * line_spread_response_1d(stat[1])
    ys.append(sumx)
  ys /= flex.sum(ys)
  return xs,ys