Skip to content

interp2d deprecated #33

@d-v-t

Description

@d-v-t

Per https://scipy.github.io/devdocs/tutorial/interpolate/interp_transition_guide.html, interp2d is deprecated. This shows up on ionization_balance_class.py line 15.

It seems this code is attempting to interpolate logged_gcr across a logarithmically regular grid of temperature and density. So, if I'm not mistaken, the switch is to simply replace interp2d with RectBivariateSpline.

I'll create a pull request with this update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions