code: def staggered_positions(n_channels):
      
      i = np.arange(n_channels - 1)
      x, y = (-1) ** i * (5 + i), 10 * (i + 1)
      pos = np.flipud(np.r_[np.zeros((1, 2)), np.c_[x, y]])
      return pos
docs: Generate channel positions for a staggered probe.