Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start refactoring pyIRF #36

Merged
merged 110 commits into from Sep 27, 2020
Merged

Start refactoring pyIRF #36

merged 110 commits into from Sep 27, 2020

Commits on Sep 21, 2020

  1. Start rewriting pyIRF

    Implemented in this commit:
    
    * reading of EventDisplay DL2 fits files
    * Calculating event weights
    * Functions for binning events
    * Li&Ma Significance
    
    Definition of the internal data format, for now astropy.table.QTables
    with several columns expected for DL2 event lists.
    
    Co-authored-by: Michele Peresano <michele.peresano@cea.fr>
    Co-authored-by: Lukas Nickel <lukas.nickel@tu-dortmund.de>
    3 people committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    64abee5 View commit details
    Browse the repository at this point in the history
  2. Fix docs and include new pages in it

    Co-authored-by: Michele Peresano <michele.peresano@cea.fr>
    Co-authored-by: Lukas Nickel <lukas.nickel@tu-dortmund.de>
    3 people committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    194f768 View commit details
    Browse the repository at this point in the history
  3. Remove test for old io

    maxnoe committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    b5e1630 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    af007e1 View commit details
    Browse the repository at this point in the history
  5. Fix electron spectrum

    maxnoe committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    8def2e2 View commit details
    Browse the repository at this point in the history
  6. Fix docstring of lima

    maxnoe committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    55ce33a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8e0240f View commit details
    Browse the repository at this point in the history
  8. Add readthedocs config

    maxnoe committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    30bd560 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c13edb3 View commit details
    Browse the repository at this point in the history
  10. Add test requirements

    maxnoe committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    21ad595 View commit details
    Browse the repository at this point in the history
  11. Add calculating sensitivity for a fixed set of cuts

    Co-authored-by: Michele Peresano <michele.peresano@cea.fr>
    Co-authored-by: Lukas Nickel <lukas.nickel@tu-dortmund.de>
    3 people committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    4eb556a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7f931d3 View commit details
    Browse the repository at this point in the history
  13. Add bin center, improve check

    maxnoe committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    1ed76c7 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b6a5252 View commit details
    Browse the repository at this point in the history
  15. Add flux sensitivity

    maxnoe committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    cc58e66 View commit details
    Browse the repository at this point in the history
  16. Add electrons

    maxnoe committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    56de703 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    8c709ca View commit details
    Browse the repository at this point in the history
  18. Fix typo

    maxnoe committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    81e1aa9 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2020

  1. Configuration menu
    Copy the full SHA
    2e50c0f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d6cfe3 View commit details
    Browse the repository at this point in the history
  3. Calculate number of showers from run header info

    The hEMC contains events weighted to a spectrum of -2.5,
    not the number of simulated CORSIKA showers.
    
    We now compute this information from the guesstimated number
    of runs (number of unique obs ids from the events table) and the
    run header information.
    maxnoe committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    87ca45b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0288711 View commit details
    Browse the repository at this point in the history
  5. Optmize gh cut

    maxnoe committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    380a083 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1f03df7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eeaddde View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cbf3d6a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7dd600d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    170a06c View commit details
    Browse the repository at this point in the history
  11. Add repr to LogParabola

    maxnoe committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    34691fd View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2020

  1. Configuration menu
    Copy the full SHA
    35d0ca2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8141796 View commit details
    Browse the repository at this point in the history
  3. Add calculate_theta function

    maxnoe committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    9fb4956 View commit details
    Browse the repository at this point in the history
  4. Calculate Effective Area

    Co-authored-by: Michele Peresano <michele.peresano@cea.fr>
    maxnoe and Michele Peresano committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    b66ea82 View commit details
    Browse the repository at this point in the history
  5. Calculate energy dispersion

    Co-authored-by: Michele Peresano <michele.peresano@cea.fr>
    Co-authored-by: Lukas Nickel <lukas.nickel@tu-dortmund.de>
    3 people committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    c0e15b4 View commit details
    Browse the repository at this point in the history
  6. Calculate energy bias / resolution

    Co-authored-by: Michele Peresano <michele.peresano@cea.fr>
    Co-authored-by: Lukas Nickel <lukas.nickel@tu-dortmund.de>
    3 people committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    d259b51 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    92d7823 View commit details
    Browse the repository at this point in the history
  8. Add curl options

    maxnoe committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    01d31df View commit details
    Browse the repository at this point in the history
  9. Add psf and angular resolution

    Co-authored-by: Lukas Nickel <lukas.nickel@tu-dortmund.de>
    maxnoe and LukasNickel committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    4d5b931 View commit details
    Browse the repository at this point in the history
  10. Update notebook

    maxnoe committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    5713c22 View commit details
    Browse the repository at this point in the history
  11. Execute notebook on travis

    maxnoe committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    07ec860 View commit details
    Browse the repository at this point in the history
  12. Remove savefigs from notebook

    maxnoe committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    693fbde View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2020

  1. Fix psf normalization

    maxnoe committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    9ba7201 View commit details
    Browse the repository at this point in the history
  2. Fix test, remove unused code

    maxnoe committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    786072e View commit details
    Browse the repository at this point in the history
  3. Add test for psf

    maxnoe committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    36a18ac View commit details
    Browse the repository at this point in the history
  4. Update notebook and docs

    Michele Peresano committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    d53440d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    03948c2 View commit details
    Browse the repository at this point in the history
  6. Build docs on travis

    maxnoe committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    4c50171 View commit details
    Browse the repository at this point in the history
  7. Remove material from first version.

    Michele Peresano committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    2fa0a5a View commit details
    Browse the repository at this point in the history
  8. Merge branch 'rewrite' of https://github.com/cta-observatory/pyirf in…

    …to rewrite
    Michele Peresano committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    25f02db View commit details
    Browse the repository at this point in the history
  9. Simplify function return values and add io for GADF format

    * pyirf functions now return psf, aeff, edisp as simple quantities
    * add functions to create the gadf hdus
    * adapt plotting and tests
    * adapt example
    
    Co-authored-by: Lukas Nickel <lukas.nickel@tu-dortmund.de>
    Co-authored-by: Michele Peresano <michele.peresano@cea.fr>
    3 people committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    62a8cfd View commit details
    Browse the repository at this point in the history
  10. Start updating the docs

    maxnoe committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    52fee6b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    275617e View commit details
    Browse the repository at this point in the history
  12. Bump version to 0.2

    maxnoe committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    0fbf9a3 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    4e696d5 View commit details
    Browse the repository at this point in the history
  14. Add some docstrings

    maxnoe committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    03ba047 View commit details
    Browse the repository at this point in the history
  15. Add effective area unit test

    maxnoe committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    3ff5546 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2020

  1. Configuration menu
    Copy the full SHA
    1ef961f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc820e2 View commit details
    Browse the repository at this point in the history
  3. Start updating the docs

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    80b3583 View commit details
    Browse the repository at this point in the history
  4. Fix duplicated changelog entry

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    1ecef0e View commit details
    Browse the repository at this point in the history
  5. Add IRF description document

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    df591b2 View commit details
    Browse the repository at this point in the history
  6. Clear up install docs

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    7d168e6 View commit details
    Browse the repository at this point in the history
  7. Remove leftover file

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    9135dc0 View commit details
    Browse the repository at this point in the history
  8. Cleanup dependencies

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    7f76cee View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    60e8bda View commit details
    Browse the repository at this point in the history
  10. Fix duplicated reference

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    8c60726 View commit details
    Browse the repository at this point in the history
  11. Store radmax table

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    4179fe2 View commit details
    Browse the repository at this point in the history
  12. Add download_test_data

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    8c7816b View commit details
    Browse the repository at this point in the history
  13. Use correct gadf link

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    0cca496 View commit details
    Browse the repository at this point in the history
  14. Remove zip after unpacking

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    bb3affd View commit details
    Browse the repository at this point in the history
  15. Fix links in introduction

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    f3afad8 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    7b6e8fb View commit details
    Browse the repository at this point in the history
  17. Add missing docstrings in pyirf/utils.py

    Michele Peresano committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    537b821 View commit details
    Browse the repository at this point in the history
  18. Merge branch 'rewrite' of https://github.com/cta-observatory/pyirf in…

    …to rewrite
    Michele Peresano committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    e65e236 View commit details
    Browse the repository at this point in the history
  19. Add __all__ magic variable

    Michele Peresano committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    c947509 View commit details
    Browse the repository at this point in the history
  20. Added utils section of API documentation.

    Michele Peresano committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    fba1cf9 View commit details
    Browse the repository at this point in the history
  21. Update main index

    Michele Peresano committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    0253289 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    583a446 View commit details
    Browse the repository at this point in the history
  23. More docstrings

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    569b8bc View commit details
    Browse the repository at this point in the history
  24. Fix typo in main index

    Michele Peresano committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    d403011 View commit details
    Browse the repository at this point in the history
  25. Remove old API section for resources

    Michele Peresano committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    847fe5a View commit details
    Browse the repository at this point in the history
  26. Update authors copyright

    Michele Peresano committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    2a7194b View commit details
    Browse the repository at this point in the history
  27. Merge branch 'rewrite' of https://github.com/cta-observatory/pyirf in…

    …to rewrite
    Michele Peresano committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    0acf043 View commit details
    Browse the repository at this point in the history
  28. Fix headings in IRF index API docs

    Michele Peresano committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    8ea3d52 View commit details
    Browse the repository at this point in the history
  29. Fix creation time

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    062ed35 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    4438b67 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    c2edc37 View commit details
    Browse the repository at this point in the history
  32. Fix typo in angular_resolution docstring

    Michele Peresano committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    dc3b651 View commit details
    Browse the repository at this point in the history
  33. Add docstring to pyirf.binning.create_histogram_table

    Michele Peresano committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    ea5d950 View commit details
    Browse the repository at this point in the history
  34. More docs

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    fb8d8c6 View commit details
    Browse the repository at this point in the history
  35. Add energy dispersion unit test

    LukasNickel authored and maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    228e3d1 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    09bf11a View commit details
    Browse the repository at this point in the history
  37. Set seed in test, increase N

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    007e291 View commit details
    Browse the repository at this point in the history
  38. Improve plots in notebook

    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    bde866f View commit details
    Browse the repository at this point in the history
  39. Merge pull request #41 from cta-observatory/rewrite_unit_tests

    Add energy dispersion unit test
    maxnoe committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    8482796 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2020

  1. Update README.rst

    maxnoe committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    38ed511 View commit details
    Browse the repository at this point in the history
  2. fix some nomenclature in test dispersion

    Michele Peresano committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    48be1d7 View commit details
    Browse the repository at this point in the history
  3. Global formatting compliant with PEP8 via black.

    Michele Peresano committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    f6765d8 View commit details
    Browse the repository at this point in the history
  4. Fix bug in plot spectra example

    Michele Peresano committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    645b8a0 View commit details
    Browse the repository at this point in the history
  5. Add examples section to docs

    maxnoe committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    420ae42 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    166e920 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7375753 View commit details
    Browse the repository at this point in the history
  8. Fix HDUDOC link for GADF

    maxnoe committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    7cf1f2d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2c12c54 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    42d88b3 View commit details
    Browse the repository at this point in the history
  11. Transpose irf arrays when writing to fits to match GADF order, add te…

    …st reading IRFs with gammapy
    maxnoe committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    aba7ed4 View commit details
    Browse the repository at this point in the history
  12. Add tests for benchmarks

    maxnoe committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    d66fc2f View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2020

  1. Update README

    Michele Peresano committed Sep 27, 2020
    Configuration menu
    Copy the full SHA
    4bd9d37 View commit details
    Browse the repository at this point in the history
  2. Add cython to installation test extras

    Michele Peresano committed Sep 27, 2020
    Configuration menu
    Copy the full SHA
    15beef2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7c802a5 View commit details
    Browse the repository at this point in the history