Closed TarekHC closed 1 year ago
We checked current pyirf code, and it seems effective area and energy migration is already being computed for the following cuts:
masks = {
"": gammas["selected"],
"_NO_CUTS": slice(None),
"_ONLY_GH": gammas["selected_gh"],
"_ONLY_THETA": gammas["selected_theta"],
}
To test if these full-enclosure effective areas are consistent with the ones computed within ED, we could:
_ONLY_GH
effective area with a 1-deg gamma-cone file with pyirf.I think we can close this issue. Event-type-wise full-enclosure IRFs have already been tested with Gammapy.
After discussion between Orel, Victor, Juan and Tarek, we came up with the following recipe:
The key will at the testing stage: we need to define the event type thresholds taking into account the offset. At the testing stage we probably should:
[x] Bin test gamma-cone sample (not used in the training) in offset steps (requiring enough statistics to define event types across the energy, as we do now. These bins may be smaller than those offset bins we use for computing IRFs. This is an attempt to not produce FoV effects on different types.
[x] Once event types are defined properly taking into account the offset, it will just be a matter of defining broad off-axis bins (as done in ED) to compute the IRFs
[x] Modifications to
pyirf
are stil needed, as we want to compute full-enclosure IRFs (removing the angular cut from the optimization). It should be a simple change, specially if Max is operative.