cta-observatory / irf_builder

library and scripts to optimize cuts and build IRFs from event-lists

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

irf_builder

This is a stand-alone package to compute the instrument response functions (IRFs) for the Cherenkov Telescope Array (CTA) gamma observatory.

The package provides methods to generate event weights, do the event selection (based on minimising the sensitivity) and produces all kinds of distributions including different manifestations of a sensitivity.

TODO

  • doc-strings in many functions
    • __init__.py
    • plotting.py
    • event_selection.py
    • spectra.py
    • sensitivity/li_ma.py
    • sensitivity/__init__.py
    • sensitivity/discovery_flux_vs_time.py
    • sensitivity/differential_energy_point_source_sensitivity.py
    • sensitivity/significance_vs_time.py
    • weighting.py
    • meta_data_loader.py
    • writer.py
    • irfs/__init__.py
    • irfs/angular_resolution.py
    • irfs/event_rates.py
    • irfs/effective_areas.py
    • irfs/energy.py
    • irfs/classification.py
  • write out event tables including the selection flags
  • write out the produced IRFs in any format
  • write out the produced IRFs in an agreed upon format
  • add more plots concerning event discrimination
  • write out plots
  • add ability to plot requirement curves
  • unit test everything

About

library and scripts to optimize cuts and build IRFs from event-lists


Languages

Language:Python 96.7%Language:TeX 3.3%