code: def interpolate(x, y, z, interp_type='linear', hres=50000,
                  minimum_neighbors=3, gamma=0.25, kappa_star=5.052,
                  search_radius=None, rbf_func='linear', rbf_smooth=0,
                  boundary_coords=None):
      
      return interpolate_to_grid(x, y, z, interp_type=interp_type, hres=hres,
                                 minimum_neighbors=minimum_neighbors, gamma=gamma,
                                 kappa_star=kappa_star, search_radius=search_radius,
                                 rbf_func=rbf_func, rbf_smooth=rbf_smooth,
                                 boundary_coords=boundary_coords)
docs: Wrap interpolate_to_grid for deprecated interpolate function.