load_irf_grid
- lstchain.high_level.interpolate.load_irf_grid(irfs, extname, interp_col, gadf_irf=True)
From a given list of IRFs, load the list of IRF data values that can be interpolated. For GH_CUTS which is not GADF approved, the HDU is stored differently and so requires a different way of loading the data.
- Parameters:
- irfs: List of IRFs to use to interpolate
List
- extname: Name of the IRF to be extracted
Str
- interp_col: Name of the column whose values are to be interpolated
Str
- gadf_irf: IRF being as per GADF standard or custom
Bool
- Returns:
- irf_list: List of columns of the IRF from each file
‘numpy.stack’