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

Refactor TablePSF class #2022

Merged
merged 5 commits into from Feb 6, 2019
Merged

Conversation

adonath
Copy link
Member

@adonath adonath commented Feb 5, 2019

This is a follow-up PR to #2019 and introduces the following changes:

  • Re-factor the TablePSFclass and remove the UnivariateSpline interpolation by replacing it with the ScaledRegularGridInterpolator from gammapy.utils.
  • Add bi-linear interpolation to EnergyDepdendentMultiGaussPSF
  • Fix the containment computation in TablePSF and EnergyDepdendentTablePSF, which was introduced incorrectly in Simplify PSF stacking and containment radius computation #2019.

@adonath adonath self-assigned this Feb 5, 2019
@adonath adonath added this to the 0.11 milestone Feb 5, 2019
@adonath adonath merged commit 77b276d into gammapy:master Feb 6, 2019
@adonath adonath changed the title Re-factor TablePSF class Refactor TablePSF class Mar 26, 2019
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.

None yet

1 participant