-
Notifications
You must be signed in to change notification settings - Fork 204
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
radially asymmetric IRFs #4952
Comments
Thanks @mizorafa ! Support for asymmetric IRFs is planned, but this needs a defined format for such IRFs first. A corresponding issue is open in the GADF for long open-gamma-ray-astro/gamma-astro-data-formats#73 |
It's a bit more complicated than that... I will try to summarize a bit. The strongest case for the non-symmetric IRFs are high-zenith observations and divergent pointing, so I expect some work on IRFs by the groups pushing for these kinds of observations in the context of ASWG / CTAC or the existing experiments. I also strongly disagree on the part of "once it is finalized, it can be implemented" This has to go hand-in-hand. There are multiple different ways of lifting the restriction of the radial symmetry assumption and one has to implement the computation of the IRFs (e.g. in pyirf or the magic DL3 converter or the HESS software or ...) and implement the application in Gammapy in parallel to make studies and comparisons to find out what works best. This can and I think needs to be done before we finalize a proposal for a new standardized data format. So thus far, there were so many inter-connected tasks that no-one seems to have even tried... It would be really great if there was some kind of tutorial what would be needed to implement a new IRF component parametrization in Gammapy. So long story short: this is a long-standing issue. The corresponding discussion in GADF is over 7 years old, without resolution: open-gamma-ray-astro/gamma-astro-data-formats#73 I am happy to give support for the computation of the IRFs side. Somebody else, from the Gammapy team, should be able to advise what is needed on the Gammapy side. This is also not a task for just one person I think, and I heard from multiple places that it gets more urgent for specific analyses in LST, MAGIC and I guess also HESS. I have a new master student in Dortmund who will look into part of this on CTA simulated data and we can start looking into more complex parametrizations of effective area.
A side comment: please, please don't just call then D. Be more concrete, as we could have different parametrizations with the same number of dimensions. E.g. a cartesian-like system as in the current BackgroundModel3D vs a polar-like system are both 3D, but one is (fov_lon, fov_lat, energy) while the other would be (fov_theta, fov_phi, energy). Also, the PSF is more complex, since it is not only asymmetric in the field of view but also relative to the true source position. We recently had a bachelor thesis looking into this, and the low-energy PSF is much better described by superposition of three 2d assymetric gaussian than by either the PSF table or the existing 3-gauss formula. In all these cases, the sample size of our current simulations get very limiting pretty fast. |
Thanks for bringing this up. I think there is a discussion #4725 started by @maxnoe to which we have not been very responsive so far. I think we could probably continue the discussion there. Or point to this one there.
I tend to agree here. It is very difficult to define a priori a format without any experience on the object. Most of our formats for DL4 and DL5 products are ad-hoc formats. And they will need adaptation to make them perennial.
I agree here as well. There are no specific API tutorial on gammapy.irf . We could add one. Recipes could be an option (but they are still broken).
On the gammapy side, I think we need to adapt various elements:
|
The current (v1.1) gammapy IRF classes provide functions only for radially symmetric IRFs (in the energy-offset axes) except for Background3D. However, asymmetric response evaluation will be more important and necessary for the analysis of data from large-zenith-angle and/or stereoscopic observations, thus requesting something like
EffectiveAreaTable3D
,EnergyDispersion3D
,PSF4D
in addition toEffectiveAreaTable2D
,EnergyDispersion2D
,PSF3D
. Accordingly,gammapy.makers.utils
needs to be updated, I guess.The text was updated successfully, but these errors were encountered: