aspcol.kernelinterpolation.kernel_directional_3d_slow

aspcol.kernelinterpolation.kernel_directional_3d_slow(points1, points2, wave_num, angle, beta)

Identical to kernel_directional_3d, but is not JIT compiled by numba. This is faster if the kernel is only evaluated once, but slower if it is evaluated many times

In addition, this only allows for a single angle to be evaluated at a time.

Parameters:
  • points1 (ndarray of shape (num_points1, 3))

  • points2 (ndarray of shape (num_points2, 3))

  • wave_num (ndarray of shape (num_freqs,))

  • angle (tuple (theta, phi) defined as in util.spherical2cart)

  • beta (sets the strength of the directional weighting)

Return type:

ndarray of shape (num_freqs, num_points1, num_points2)