Skip to content

Releases: cta-observatory/pyirf

v0.5.0

11 May 12:36
57409c7

Choose a tag to compare

Summary

  • Released May 6th, 2021
  • 4 Contributors

Contributors

  • Julian Sitarek
  • Maximilian Nöthe
  • Michele Peresano
  • Abelardo Moralejo Olaizola

Description

Main new feature in this release are functions to interpolate grids of IRFs
to, e.g. for different pointing directions, to new IRFs.
Supported at the moment are effective area and energy dispersion.

We also added a function to compute energy bias and resolution from the
energy dispersion IRF and a new spectrum for cosmic rays: the DAMPE combined
proton and helium spectrum.

The other pull requests are mainly maintenance and a small bugfix.

Merged Pull Requests

  • #149 Interpolation docs
  • #141 Interpolate IRFs
  • #144 Add function to compute bias and resolution from energy dispersion
  • #145 Proton+Helium spectrum from DAMPE 2019 ICRC proceeding
  • #148 Use setuptools_scm for versioning
  • #147 Fix benchmark functions for events outside given bins
  • #138 Fix name of deploy build
  • #143 Fix zenodo json
  • #139 Fix how theta cut is calculated in EventDisplay comparison
  • #140 uproot4 -> uproot

v0.4.1

22 Mar 08:32
e802382

Choose a tag to compare

  • Add functions to convert pyirf results to the corresponding gammapy clases (#135 ) @maxnoe
  • Add example notebook for calculating point-like IRFs from the FACT open data (#137) @maxnoe

v0.4.0

09 Nov 14:35
1f86a67

Choose a tag to compare

v0.3.0.post1

12 Oct 09:32
0159bfe

Choose a tag to compare

v0.3.0.post1

  • Require astropy 4.0.2 for fixing the writing of binnings that only have a single bin (e.g. a single fov offset bin)

v0.3.0

06 Oct 09:22
0c077bb

Choose a tag to compare

v0.3.0 2020-10-05

Summary

  • Released October 5th, 2020
  • 5 Contributors

Contributors

  • Maximilian Nöthe
  • Michele Peresano
  • Noah Biederbeck
  • Lukas Nickel
  • Gaia Verna

Description

This release is the result of the IRF sprint week in September 2020.
Many bug fixes and improvements were made to the code.

As the target for the sprint week was to reproduce the approach of EventDisplay and
the resulting IRFs, one scheme of cut optimization is implemented.
The examples/calculate_eventdisplay_irfs.py should follow the approach
of EventDisplay closely and shows what is currently implemented in pyirf.
In the central and upper energy range, pyirf now reproduces the EventDisplay sensitivity
exactly, the lower energy bins still show some disagreement.
The cut optimization seems not yet to be the same as EventDisplay's and will be further investigated.
This example could be used as a starting point if you also want to do cut optimization for best sensitivity.

At least one version of each IRF is now implemented and can be stored in the GADF format.
Computation of full-enclosure IRFs should be possible but is as of now not yet tested
on a reference dataset.

Merged Pull Requests

  • #97 Store correct signal amount, store information on which checks failed for sensitivity bins (Maximilian Nöthe)
  • #96 Add integration test (Michele Peresano)
  • #98 Remove option point_like for psf (Maximilian Nöthe)
  • #95 Cut updates (Maximilian Nöthe)
  • #91 Fix conditions to take relative sensitivity into account, fixes #90 (Maximilian Nöthe)
  • #89 Fix brentq returning the lower bound of 0 for flat li ma function (Maximilian Nöthe)
  • #85 Improve comparison to EventDisplay (Maximilian Nöthe)
  • #75 Add a function to check a table for required cols / units (Maximilian Nöthe)
  • #86 Fix Li & Ma significance for n_off = 0 (Maximilian Nöthe)
  • #76 Feature resample histogram (Noah Biederbeck, Lukas Nickel)
  • #79 Fix integration of power law pdf in simulations.py (Gaia Verna)
  • #80 Estimate unique runs taking pointing pos into account (Maximilian Nöthe)
  • #71 Background estimation (Maximilian Nöthe)
  • #78 Change argument order in create_rad_max_hdu (Lukas Nickel)
  • #77 Calculate optimized cut on only the events surviving gh separation (Maximilian Nöthe)
  • #68 Effective area 2d (Maximilian Nöthe)
  • #67 Add method integrating sim. events in FOV bins (Maximilian Nöthe)
  • #63 Verify hdus using ogadf-schema (Maximilian Nöthe)
  • #58 Implement Background2d (Maximilian Nöthe)
  • #52 Add sections about tests, coverage and building docs to docs (Maximilian Nöthe)
  • #46 Add PyPI deploy and metadata (Maximilian Nöthe)

v0.2.0

28 Sep 09:27
a3cec78

Choose a tag to compare

v0.2.0

Rewrite most parts of pyirf to simplify the API and clean up the code.

  • Dependency on gammapy removed
  • Sets of small functions taking astropy tables and numpy arrays as input instead of the class based approach

Detailed changelog to come

v0.1.0

25 Sep 10:43
12afef5

Choose a tag to compare

v0.1.0 Pre-release
Pre-release

v0.1.0

Tagged version before the large refactoring in preparation of the 1st CTA IRF Sprint

v0.1.0-alpha

27 May 12:24

Choose a tag to compare

v0.1.0-alpha Pre-release
Pre-release

Alpha release