<jupyter_start><jupyter_text>Check pyirf file<jupyter_code>pyirf_file = '../build/pyirf.fits.gz' 

with fits.open(pyirf_file) as hdul:
    hdul.info()
theta_cuts = QTable.read(pyirf_file, hdu='THETA_CUTS_OPT')
gh_cuts = QTable.read(pyirf_file, hdu='GH_CUTS')<jupyter_output><empty_output><jupyter_text>Check DL3 files<jupyter_code>file_2934 = '../build/2934.fits.gz' 

with fits.open(file_2934) as hdul:
    print(hdul.info())
    #print(hdul[1].header)
    
events = QTable.read(file_2934, hdu='EVENTS')
events[events['THETA_ON'] < (np.sqrt(0.03) * u.deg)]
file_obs = '../build/obs-index.fits.gz' 

with fits.open(file_obs) as hdul:
    print(hdul.info())
    #print(hdul[1].header)
    
obs = QTable.read(file_obs, hdu='OBS_INDEX')
obs
file_hdu = '../build/hdu-index.fits.gz' 

with fits.open(file_hdu) as hdul:
    print(hdul.info())
    #print(hdul[1].header)
    
hdu = QTable.read(file_hdu, hdu='HDU_INDEX')
hdu<jupyter_output>Filename: ../build/hdu-index.fits.gz
No.    Name      Ver    Type      Cards   Dimensions   Format
  0  PRIMARY       1 PrimaryHDU       4   ()      
  1  HDU_INDEX     1 BinTableHDU     27   222R x 6C   [K, 6A, 9A, 1A, 13A, 17A]   
None
{'fraction_non_alphanumeric': 0.152991452991453, 'fraction_numerical': 0.03504273504273504, 'mean_word_length': 3.5212355212355213, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '574459', 'license': 'MIT', 'n_tokens_mistral': 547, 'n_tokens_neox': 511, 'n_words': 82, 'path': 'notebooks/check_fits-files.ipynb', 'repo_name': 'tudo-astroparticlephysics/LST_mono_analysis', 'size': '1170'}