Giter VIP home page Giter VIP logo

gammapy-data's Introduction

Licence http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat Latest release

PyPI - Downloads

https://img.shields.io/conda/dn/conda-forge/gammapy?label=downloads%20%7C%20conda&logo=Conda-Forge https://img.shields.io/badge/launch-binder-579aca.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFkAAABZCAMAAABi1XidAAAB8lBMVEX///9XmsrmZYH1olJXmsr1olJXmsrmZYH1olJXmsr1olJXmsrmZYH1olL1olJXmsr1olJXmsrmZYH1olL1olJXmsrmZYH1olJXmsr1olL1olJXmsrmZYH1olL1olJXmsrmZYH1olL1olL0nFf1olJXmsrmZYH1olJXmsq8dZb1olJXmsrmZYH1olJXmspXmspXmsr1olL1olJXmsrmZYH1olJXmsr1olL1olJXmsrmZYH1olL1olLeaIVXmsrmZYH1olL1olL1olJXmsrmZYH1olLna31Xmsr1olJXmsr1olJXmsrmZYH1olLqoVr1olJXmsr1olJXmsrmZYH1olL1olKkfaPobXvviGabgadXmsqThKuofKHmZ4Dobnr1olJXmsr1olJXmspXmsr1olJXmsrfZ4TuhWn1olL1olJXmsqBi7X1olJXmspZmslbmMhbmsdemsVfl8ZgmsNim8Jpk8F0m7R4m7F5nLB6jbh7jbiDirOEibOGnKaMhq+PnaCVg6qWg6qegKaff6WhnpKofKGtnomxeZy3noG6dZi+n3vCcpPDcpPGn3bLb4/Mb47UbIrVa4rYoGjdaIbeaIXhoWHmZYHobXvpcHjqdHXreHLroVrsfG/uhGnuh2bwj2Hxk17yl1vzmljzm1j0nlX1olL3AJXWAAAAbXRSTlMAEBAQHx8gICAuLjAwMDw9PUBAQEpQUFBXV1hgYGBkcHBwcXl8gICAgoiIkJCQlJicnJ2goKCmqK+wsLC4usDAwMjP0NDQ1NbW3Nzg4ODi5+3v8PDw8/T09PX29vb39/f5+fr7+/z8/Pz9/v7+zczCxgAABC5JREFUeAHN1ul3k0UUBvCb1CTVpmpaitAGSLSpSuKCLWpb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CZopv0OkNOyWCCg9XMVAi7ARJzQdM2QUh0gmBozjc3Skg6dSBRqDGYSUOu66Zg+I2fNZs/M3/f/Grl/XnyF1Gw3VKCez0PN5IUfFLqvgUN4C0qNqYs5YhPL+aVZYDE4IpUk57oSFnJm4FyCqqOE0jhY2SMyLFoo56zyo6becOS5UVDdj7Vih0zp+tcMhwRpBeLyqtIjlJKAIZSbI8SGSF3k0pA3mR5tHuwPFoa7N7reoq2bqCsAk1HqCu5uvI1n6JuRXI+S1Mco54YmYTwcn6Aeic+kssXi8XpXC4V3t7/ADuTNKaQJdScAAAAAElFTkSuQmCC https://zenodo.org/badge/DOI/10.5281/zenodo.4701488.svg?style=flat https://archive.softwareheritage.org/badge/origin/https://github.com/gammapy/gammapy/

Gammapy

A Python Package for Gamma-ray Astronomy.

Gammapy is an open-source Python package for gamma-ray astronomy built on Numpy, Scipy and Astropy. It is used as core library for the Science Analysis tools of the Cherenkov Telescope Array (CTA), recommended by the H.E.S.S. collaboration to be used for Science publications, and is already widely used in the analysis of existing gamma-ray instruments, such as MAGIC, VERITAS and HAWC.

Contributing Code, Documentation, or Feedback

The Gammapy Project is made both by and for its users, so we welcome and encourage contributions of many kinds. Our goal is to keep this a positive, inclusive, successful, and growing community by abiding with the Gammapy Community Code of Conduct.

The Gammapy project uses a mechanism known as a Developer Certificate of Origin (DCO). The DCO is a binding statement that asserts that you are the creator of your contribution, and that you wish to allow Gammapy to use your work to cite you as contributor. More detailed information on contributing to the project or submitting feedback can be found on the Contributing page.

Licence

Gammapy is licensed under a 3-clause BSD style license - see the LICENSE.rst file.

Supporting the project

The Gammapy project is not sponsored and the development is made by the staff of the institutes supporting the project over their research time. Any contribution is then encouraged, as punctual or regular contributor.

Status shields

(mostly useful for developers)

  • Codacy
  • GitHub actions CI
  • https://codecov.io/gh/gammapy/gammapy/branch/main/graph/badge.svg?style=flat

gammapy-data's People

Contributors

adonath avatar astro-kirsty avatar atreyees avatar bkhelifi avatar bultako avatar cosimonigro avatar dimitripapadopoulos avatar fabiopintore avatar lauraolivera avatar maxnoe avatar mregeard avatar qremy avatar registerrier avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gammapy-data's Issues

Cleanup of Gammapy-data

This lists some proposals for cleanup of gammapy data. There are some confusing/unreadable files that might be better to remove.

  1. estimators/pks2155_hess_lc/pks2155_hess_lc.fits updated to have (at least) 2 bins in energy
  2. Background files in tests/irf/ lack energy units. leads to UnitConversionError. There is in fact a TODO in /gammapy/makers/tests/test_map.py:520 to create a better example file.
  3. Remove model.xml in tests/models/light_curve
  4. Remove xml files in tests/models. Also remove the gc fits files in same location. These files are not used, and relevant files already exist
  5. Inconsistency between column & header names in 1es0229_hess_spectrum tests/spectrum/flux_points. The README says these files were downloaded from the GADF, but the referenced GADF link does not exist any more. Remove files.
  6. The stat_scan values in tests/spectrum/flux_points/binlike.fits are not compatible with the results. Remove? This is used in the docstring for FluxPoints.recompute_ul but can be replaced by the examples in estimators
  7. The data available in tests/unbundled/tev_spectra can be useful. The are presently unused, but it may be useful to document this somewhere (in gammapy.astro maybe). Or, we can remove it...

This is separate from the issue of the catalogs we can provide (ie, all fermi catalogs or only the latest one, etc)

If this sounds okay, I can do the cleanup. Opinions @registerrier @QRemy @bkhelifi @MRegeard @Astro-Kirsty @adonath

Add the licence `CC BY-NC 4.0' into the folder with Gammapy data (only)

Hi all,

Following the issue #38 and based on the latest discussions, I would like to make a proposal of licence for the sub-folders with `Gammapy' data only. For the other sub-folders, I will ask to the producer of data what they would like. I have several questions:

  1. The proposal here concerns the subfolders: estimators, fermi-3fgl-crab (as these data are MapDataset), figures, gravitational_waves, joint-crab/spectra, . Do you confirm?

  2. I have an issue with fermi-3fgl-gc, because it contains both Fermi data and Gammapy data. What do you? Ideally, one should 1/ create 2 sub-folders replacing this one or 2/ include a folder into it with only the Fermi-LAT data (then I can place the correct licence - and modifying the make.py). The folder fermi_3fhl will follow the same logic. @QRemy, what do you think?

  3. I propose the licence CC BY-NC 4.0. Do you have any other objection or any other proposal?

  4. Technically, I propose this implementation, and not only for the gammapy data, for all the gamma-data repository. In the concerned folder, I will

  • add the licence term in full text into a file `LICENCE' (if the chosen licence is the one proposed just before for our data, the text will be https://creativecommons.org/licenses/by-nc/4.0/legalcode.txt)
  • add in the readme file a licence section that will contain the summary information of the licence as given by this Common-Creative page. The needed information are these ones:
    image
    And I propose respectively as entries: Gammapy data, Gammapy Coordination Committee, https://gammapy.org/, None, ??? No idea what to put as date... I might need to search for the history of each sub-folder. Do you agree with that?
    The output will look like:
    `Gammapy data © 2015 by Gammapy Coordination Committee is licensed under CC BY-NC 4.0'
    I will add a link towards the file containing the licence term

I ask for your feedback and after converging I will make the PR.

Add some OGIP files for SED / LC estimation tests (joint-crab OGIP outdated)

I wanted to make a quick snippet to share with the devs to illustrate a possible problem I found with LC estimation.

I realised that the only OGIP files that we have here are those in the joint-crab/spectra subdirectory.
These work fine for spectra estimation, but don't work with the LightCurveEstimator as they don't have a GTI HDU, as other OGIP files produced with more recent versions of Gammapy.

Should we add newer versions of OGIP files for these types of tests?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.