astro py:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- Astropy v5.2.1 »
- Astropy Core Package Utilities (`astropy.utils`) »
- Masked Values (`astropy.utils.masked`) »
- interp

# interp

astropy.utils.masked.function_helpers.interp(x, xp, fp, *args, **kwargs)

  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.