f4enix.output.cdgs.kernels.InterpolationKernel#
- class f4enix.output.cdgs.kernels.InterpolationKernel#
Bases:
ABCMethods
__init__()get_neighbours(source_coords, dest_coords, ...)Given a KDTree of the source coordinates and
- abstract get_neighbours(source_coords: ndarray, dest_coords: ndarray, **kwargs) ndarray#
Given a KDTree of the source coordinates and
- Parameters:
source_coords (np.ndarray) – cloud point coordinates of the source activity
dest_coords (np.ndarray) – coordinates of the destination points
- Returns:
matrix of indices of the neighbors for each source coordinate in the cloud point
- Return type:
np.ndarray