-
Hi all, (still with gammapy 0.20.1) I have a
The data (i.e., the cut applied in each of the 20 bins) is:
But, if I try to use evaluate, I get this:
... mostly fine, except the element [6] changes from 1.2017647 to 0 !! Checking further:
In short, I did not expect Of course, this only happens because I have So, is it possible to change the behaviour of This would avoid unstable behaviour due to rounding errors... Good Luck, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Thanks @mdpunch! What happens if you use nearest neighbor interpolation instead: rad_max.evaluate(offset=18*u.deg, method="nearest") |
Beta Was this translation helpful? Give feedback.
Thanks @mdpunch! What happens if you use nearest neighbor interpolation instead: