kwant.plotter.
mask_interpolate
(coords, values, a=None, method='nearest', oversampling=3)¶Interpolate a scalar function in vicinity of given points.
Create a masked array corresponding to interpolated values of the function at points lying not further than a certain distance from the original data points provided.
Parameters:  coords : np.ndarray
values : np.ndarray
a : float, optional
method : string, optional
oversampling : integer, optional


Returns:  array : 2d NumPy array
min, max : vectors

Notes
1
. Then, each site will
correspond to exactly one pixel in the resulting array.