Recent Releases of pyirf
pyirf - pyirf v0.13.0 – 2025-05-22
What's Changed since v0.12.0
See the changelog in the docs and the list of merged pull requests below.
- Render changelog for 0.13 (#303) @maxnoe
- Allow astropy 7.0, move all options to pyproject.toml (#302) @maxnoe
- optimization of multiplicity, theta and gh cut (#204) @maxnoe
- Add sphinx.configuration key for ReadTheDocs (#296) @HealthyPear
Contributors
@HealthyPear, @JBernete and @maxnoe
- Python
Published by github-actions[bot] 10 months ago
pyirf - v0.12.0 – 2024-11-15
For the changelog, see https://pyirf.readthedocs.io/en/stable/changelog.html#pyirf-v0-12-0-2024-11-15
Find the list of merged PRs below.
What's Changed since v0.11.0
- Prepare changelog for 0.12.0 (#291) @maxnoe
- Update energydispersionto_migration to account for fix in energy dispersion normalization (#273) @HealthyPear
- Effective Area 3D (#281) @luca-dib
- Multiple quantiles for angular_resolution (#290) @LukasBeiske
- Update .mailmap (#287) @HealthyPear
- Add compatibility with numpy 2.0 and replace deprecated logging.warn() (#289) @LukasBeiske
Contributors
@HealthyPear, @LukasBeiske, @luca-dib and @maxnoe
- Python
Published by github-actions[bot] over 1 year ago
pyirf - v0.11.0 – 2024-05-14
See the rendered changelog in the docs: https://pyirf.readthedocs.io/en/latest/changelog.html#pyirf-v0-11-0-2024-05-14
For the list of merged pull requests and contributors, see below:
What's Changed since v0.10.1
- Render changelog for 0.11 (#286) @maxnoe
- Improve Handling of Fill-Values in RAD_MAX Estimator (#282) @RuneDominik
- Add 2023 ICRC paper to README (#284) @RuneDominik
- Remove compatibility pins (#283) @maxnoe
- Add Extrapolator Utilizing Visible Edges Blending (#253) @RuneDominik
- Fix scipy to <1.12 (#279) @RuneDominik
- Fix docs build (#277) @maxnoe
- Add cref (#275) @jsitarek
- Update dependencies, support astropy 6.0 (#271) @maxnoe
- Pin astropy to >=5.3,<6 for gammapy (#274) @maxnoe
- Correct typos in docstrings (#269) @morcuended
- Some clarification of what functions do (#266) @Tobychev
- Fix energybiasresolutionfromenergy_dispersion (#268) @maxnoe
- Ignore warnings of possibly NaN bins in sensitivity (#264) @Tobychev
Contributors
@RuneDominik, @Tobychev, @jsitarek, @maxnoe and @morcuended
- Python
Published by github-actions[bot] almost 2 years ago
pyirf - v0.10.1 – 2023-09-15
What's Changed since v0.10.0
- Render changelog for 0.10.1 (#262) @maxnoe
- Extend and rework IRF interpolation docs (#255) @RuneDominik
- Fix PowerLaw.from_simulation for new SimulationInfo, add test (#258) @maxnoe
- Fix leftover config errors after renaming default branch to main (#254) @maxnoe
- Add estimatebackground to _all__ (#256) @maxnoe
Contributors
@RuneDominik and @maxnoe
- Python
Published by github-actions[bot] over 2 years ago
pyirf - v0.10.0 – 2023-08-23
What's Changed since v0.9.0
This fix contains an important bugfix for the computation of energy dispersion matrices. A script to fix existing DL3 files is attached to this release.
See the full changelog on readthedocs: https://pyirf.readthedocs.io/en/latest/changelog.html
Merged Pull Requests: * Render changelog for 0.10 (#252) @maxnoe * Allow setting which quantile to use for angular resolution (#234) @maxnoe * Add lower viewcone limit (#239) @maxnoe * Normalize edisp to integral of 1, not sum of 1 (#250) @maxnoe
Contributors
@maxnoe @RuneDominik
- Python
Published by github-actions[bot] over 2 years ago
pyirf - v0.9.0 – 2023-07-20
Below are the merged pull requests, for the more detailed changelog see:
https://pyirf.readthedocs.io/en/latest/changelog.html#pyirf-0-9-0-2023-07-20
What's Changed since v0.8.1
- master -> main (#248) @maxnoe
- Render changelog for 0.9 (#246) @maxnoe
- Remove nonsensical condition from relative_sensitivity (#241) @maxnoe
- Have ComponentEstimators sort input in increasing order for 1D-grids (#245) @RuneDominik
- MomentMorphNearestSimplexExtrapolator for Discretized PDF Components (#237) @RuneDominik
- Fix nearest simplex finding (#240) @RuneDominik
- Update author_email (#244) @maxnoe
- Update python to >= 3.9 (#243) @RuneDominik
- Update .github workflows (#242) @RuneDominik
- Extrapolator Structure and NearestSimplexExtrapolator for Parametrized Components (#236) @RuneDominik
- Correct GridDataInterpolator Testfile (#235) @RuneDominik
- Use importlib resources instead of deprecated pkg_resources (#233) @maxnoe
- Add Nearest Neighbor Searcher as Alternative for Inter-/Extrapolation (#232) @RuneDominik
- Fill nevents in angularresolution (#231) @maxnoe
- Add Moment Morph Interpolation (#229) @RuneDominik
- Refactor interpolation structure (#228) @RuneDominik
- Use nanmedian by default for energybiasresolution (#223) @maxnoe
- Update readthedocsconfig (#220) @maxnoe
Contributors
@RuneDominik and @maxnoe
- Python
Published by release-drafter[bot] over 2 years ago
pyirf - v0.8.1 – 2023-03-16
Below are the merged pull requests, for the more detailed changelog see:
https://pyirf.readthedocs.io/en/latest/changelog.html#pyirf-0-8-1-2023-03-16
What's Changed since v0.8.0
- Prepare changelog for 0.8.1 release (#219) @maxnoe
- Use prod5 irf fixture in AEFF interpolation test (#214) @RuneDominik
- Update .zenodo.json (#218) @RuneDominik
- Update mailmap (#217) @maxnoe
- Rewrite interpolation structure to utilize extendible class structure (#210) @RuneDominik
- Parse zenith angle of irfs (#213) @RuneDominik
- Use float64 in limasignificance (#212) @RuneDominik
- Add fixture containing some prod5 irfs from zenodo (#211) @RuneDominik
- Delete wrongfully entered newsfragments (#209) @RuneDominik
- Move setuptools-scm to devdeps (#206) @maxnoe
- Move towncrier to own config (#208) @RuneDominik
- Implement towncrier (#207) @RuneDominik
Contributors
@RuneDominik and @maxnoe
- Python
Published by release-drafter[bot] almost 3 years ago
pyirf - v0.8.0 – 2022-11-25
What's Changed since v0.7.0
- Update gammapy requirement to 1.x (#202) @maxnoe
- Interpolate RAD_MAX tables (#180) @RuneDominik
- Improve under/overflow and nan handling in binning related functions (#199) @maxnoe
- Fix unit handling of powerlaw (#200) @maxnoe
- Improvements for calculating sensitivity on diffuse gammas (#197) @maxnoe
- Fix ang res unit handling, fixes #192 (#193) @maxnoe
- Ignore under/overflow events in table operations (#189) @maxnoe
- Include endpoint in createbinsper_decade if it matches the regular spacing, fixes #187 (#188) @maxnoe
Contributors
@RuneDominik and @maxnoe
- Python
Published by release-drafter[bot] over 3 years ago
pyirf - v0.7.0 – 2022-04-19
What's Changed since v0.6.0
- Add rst-lint step in CI and fix README (#179) @maxnoe
- Changelog for 0.7 (#178) @maxnoe
- Add interpolatepsftable to all (#177) @maxnoe
- Adapted quantile interpolation (#174) @RuneDominik
- Allow and test astropy=5 (#175) @maxnoe
Contributors
@RuneDominik and @maxnoe
- Python
Published by release-drafter[bot] almost 4 years ago
pyirf - v0.6.0 – 2022-01-10
What's Changed since v0.5.0
- Add changelog for 0.6.0 (#173) @maxnoe
- Enable intersphinx, use to link to gammapy docs (#168) @maxnoe
- Add release-drafter action (#171) @maxnoe
- Replace outdated link to redmine by xwiki link (#172) @GernotMaier
- Update DOIs in README and documentation (#169) @HealthyPear
- Fix package name in environment.yml (#167) @maxnoe
- Update gammapy to 0.19 (#164) @mdpunch
- Do not require private DL2 event display output anymore for unit tests (#165) @maxnoe
- Refactor hist normalization, remove assert from library code (#162) @maxnoe
- Add missing docs pages (#160) @maxnoe
- Interpolate psf (#156) @jsitarek
- gadf url corrections (#159) @GernotMaier
- Fill energy and/or angular resolution tables with NaNs if input events table is empty (#154) @HealthyPear
Contributors
@GernotMaier, @HealthyPear, @jsitarek, @maxnoe and @mdpunch
- Python
Published by release-drafter[bot] about 4 years ago
pyirf - v0.5.0
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
- Python
Published by maxnoe almost 5 years ago
pyirf - v0.3.0.post1
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)
- Python
Published by maxnoe over 5 years ago
pyirf - v0.3.0
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 createradmax_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)
- Python
Published by maxnoe over 5 years ago
pyirf - v0.2.0
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
- Python
Published by maxnoe over 5 years ago