interp#

astropy.utils.masked.function_helpers.interp(x, xp, fp, *args, **kwargs)[source]#

One-dimensional linear interpolation.

Like numpy.interp, but any masked points in xp and fp are ignored. Any masked values in x will still be evaluated, but masked on output.