L i@dZddlddlddlddlmZddlddlddlddl ddl ddl m Z m Z mZddlddlddlmZddlddlmZmZmZmZmZmZmZeDcgc]}|j;dr|c}Zdd lm Z e e!Z"[ e#Z$y cc}w) a ======================================== Interpolation (:mod:`scipy.interpolate`) ======================================== .. currentmodule:: scipy.interpolate Sub-package for functions and objects used in interpolation. See the :ref:`user guide ` for recommendations on choosing a routine, and other usage details. Univariate interpolation ======================== .. autosummary:: :toctree: generated/ make_interp_spline CubicSpline PchipInterpolator Akima1DInterpolator FloaterHormannInterpolator BarycentricInterpolator KroghInterpolator CubicHermiteSpline **Low-level data structures for univariate interpolation:** .. autosummary:: :toctree: generated/ PPoly BPoly BSpline Multivariate interpolation ========================== **Unstructured data** .. autosummary:: :toctree: generated/ LinearNDInterpolator NearestNDInterpolator CloughTocher2DInterpolator RBFInterpolator **For data on a grid:** .. autosummary:: :toctree: generated/ RegularGridInterpolator .. seealso:: `scipy.ndimage.map_coordinates`, :ref:`An example wrapper for map_coordinates ` **Low-level data structures for tensor product polynomials and splines:** .. autosummary:: :toctree: generated/ NdPPoly NdBSpline 1-D spline smoothing and approximation ====================================== .. autosummary:: :toctree: generated/ make_lsq_spline make_smoothing_spline make_splrep make_splprep generate_knots Rational Approximation ====================== .. autosummary:: :toctree: generated/ AAA Interfaces to FITPACK routines for 1D and 2D spline fitting =========================================================== This section lists wrappers for `FITPACK `__ functionality for 1D and 2D smoothing splines. In most cases, users are better off using higher-level routines listed in previous sections. 1D FITPACK splines ------------------ This package provides two sets of functionally equivalent wrappers: object-oriented and functional. **Functional FITPACK interface:** .. autosummary:: :toctree: generated/ splrep splprep splev splint sproot spalde splder splantider insert **Object-oriented FITPACK interface:** .. autosummary:: :toctree: generated/ UnivariateSpline InterpolatedUnivariateSpline LSQUnivariateSpline 2D FITPACK splines ------------------ **For data on a grid:** .. autosummary:: :toctree: generated/ RectBivariateSpline RectSphereBivariateSpline **For unstructured data (OOP interface):** .. autosummary:: :toctree: generated/ BivariateSpline SmoothBivariateSpline SmoothSphereBivariateSpline LSQBivariateSpline LSQSphereBivariateSpline **For unstructured data (functional interface):** .. autosummary:: :toctree: generated/ bisplrep bisplev Additional tools ================ .. autosummary:: :toctree: generated/ lagrange approximate_taylor_polynomial pade interpn griddata barycentric_interpolate krogh_interpolate pchip_interpolate Rbf interp1d interp2d .. seealso:: `scipy.ndimage.map_coordinates`, `scipy.ndimage.spline_filter`, )*)Rbf)generate_knots make_splrep make_splprep) NdBSpline)fitpackfitpack2 interpolate ndgriddatapolyintrbfinterpnd_) PytestTesterN)%__doc__ _interpolate _fitpack_py _fitpack2_rbfr _rbfinterp_polyint_cubic _ndgriddata _bsplines_fitpack_reprorrr_pade_rgi _ndbspliner_bary_rationalr r r r r rrdir startswith__all__scipy._lib._testutilsr__name__testPchipInterpolatorpchip)ss0`/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/scipy/interpolate/__init__.pyr-s~~EE!QPPe 51<<#41 5.H  6s +BB