code: def get_one_dimensional_kernel(self, dim):
          
          oneDkernel = GridRBF(input_dim=1, variance=self.variance.copy(), originalDimensions=dim)
          return oneDkernel
docs: Specially intended for Grid regression.