Skip to content

Deprecation of interp2d #383

Closed as not planned
Closed as not planned
@JannisNe

Description

@JannisNe

Lately seeing this deprecation warning:

DeprecationWarning: interp2d is deprecated in SciPy 1.10 and will be removed in SciPy 1.14.0.

For legacy code, nearly bug-for-bug compatible replacements are
RectBivariateSpline on regular grids, and bisplrep/bisplev for
scattered 2D data.

In new code, for regular grids use RegularGridInterpolator instead.
For scattered data, prefer LinearNDInterpolator or
CloughTocher2DInterpolator.

For more details see
https://scipy.github.io/devdocs/notebooks/interp_transition_guide.html

This affects StandardLLH.create_acceptance_function(). SHould be replaced as suggested in the warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency filewarning

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions