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

Add Nearest Neighbor Searcher as Alternative for Inter-/Extrapolation #232

Merged
merged 9 commits into from Jul 4, 2023

Conversation

RuneDominik
Copy link
Member

This PR adds an NearestNeighborSearcher Inter-/Extrapolation class for convenience. The name was chosen to reflect that this does not do any Inter-/Extrapolation at all.

@codecov
Copy link

codecov bot commented Jul 3, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.41 🎉

Comparison is base (b3839f1) 93.53% compared to head (83ea9aa) 93.94%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #232      +/-   ##
==========================================
+ Coverage   93.53%   93.94%   +0.41%     
==========================================
  Files          52       54       +2     
  Lines        2429     2544     +115     
==========================================
+ Hits         2272     2390     +118     
+ Misses        157      154       -3     
Impacted Files Coverage Δ
pyirf/interpolation/base_interpolators.py 96.29% <ø> (ø)
pyirf/interpolation/__init__.py 100.00% <100.00%> (ø)
pyirf/interpolation/component_estimators.py 100.00% <100.00%> (+1.66%) ⬆️
pyirf/interpolation/nearest_neighbor_searcher.py 100.00% <100.00%> (ø)
...irf/interpolation/tests/test_base_interpolators.py 100.00% <100.00%> (ø)
...ion/tests/test_component_estimator_base_classes.py 97.24% <100.00%> (+1.20%) ⬆️
...erpolation/tests/test_nearest_neighbor_searcher.py 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@maxnoe maxnoe merged commit 5c0d8ac into main Jul 4, 2023
7 checks passed
@maxnoe maxnoe deleted the NearestNeighborSearcher branch July 4, 2023 13:10
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.

None yet

2 participants