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

Remove pixel interpolation functions #751

Merged
merged 5 commits into from
Dec 18, 2024
Merged

Remove pixel interpolation functions #751

merged 5 commits into from
Dec 18, 2024

Conversation

jeremykubica
Copy link
Contributor

We do not use (most) of the interpolation functions. They were originally used for one specific type of visualization. The only function that was being used was interpolated_add() in the fake data creation, but this can be replaced with a manual add.

This PR removes a lot of unused code including:

  • RawImage.add() - Not used anywhere
  • RawImage.interpolate() - Not used anywhere anymore.
  • RawImage.get_interp_neighbors_and_weights() - Used only for interpolated_add
  • RawImage.interpolated_add() - Used only in the fake data creation, where they can easily be replaced.
  • manhattan_neighbors - Used only for RawImage's interpolate functions.

@jeremykubica jeremykubica merged commit f5c0148 into main Dec 18, 2024
2 checks passed
@jeremykubica jeremykubica deleted the remove_interp branch December 18, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants