GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
This PR addresses #787. It changes LogEnergyAxis to use scipy's RegularGridInterpolator, which allows extrapolation of pixel and energy values. This is needed for extrapolation of SkyCube objects
@adonath - Thanks!
Does counts cube filling now work with arbitrary EBOUNDS?
Are energies below and above the energy range dropped?
Is there a simple test I can read that shows the answer to these two questions is "yes"?
Rewrite LogEnergyAxis to use RegularGridInterpolator
Adapt SkyCube to new LogEnergyAxis
Fix gammapy/cube/tests/test_exposure.py and test_images.py
Add additional assert to test_bin_events_in_cube()
@cdeil I added an additional assert (see here) to show, that it gives the same result as EventList.select_energy().
Add @requires_dependency(scipy) to tests using SkyCube