Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace interp2d in utils_findsat_mrt #210

Merged
merged 3 commits into from
Aug 27, 2024

Conversation

dvstark
Copy link
Contributor

@dvstark dvstark commented Aug 27, 2024

Description

This pull request replaces the old interpolation method in acstools.utils_findsat_mrt.create_mrt_line_kernel from scipy.interpolate.interp2d to scipy.interpolate.RegularGridInterpolator. This request was made by Alyssa Guzman on behalf of DMD because interp2d has been deprecated and they want all packages to be compatible with the latest versions of 3rd party packages. For this update, I used scipy 1.14.1. I have tested the new interpolation method and it returns the same output as the prior method, with some slight variations, but these are very small and acceptable.

Copy link
Collaborator

@pllim pllim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically, LGTM. Thanks!

Copy link
Contributor

@jryon jryon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to me

@jryon jryon merged commit 26ab8be into spacetelescope:master Aug 27, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants