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

Add licences for the remaining data #57

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions catalogs/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,23 @@ This means we don't rely on other websites and data sources to be stable.

The licences and references are:

- 1LHAASO:
- The first LHAASO catalog (1LHAASO):
- Reference: `Zhen Cao et al. 2024 ApJS 271 25 <https://iopscience.iop.org/article/10.3847/1538-4365/acfd29>`_
- Licence: The First LHAASO Catalog of Gamma-Ray Sources © 2023 by The LHAASO
Collaboration is licensed under `CC BY-NC-SA 4.0 <https://creativecommons.org/licenses/by-nc-sa/4.0/>`_.
- 2HWC:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am wondering if the main catalogs readme should also list the Fermi Catalogs

- 3HWC:
- HGPS:
- The Second HAWC Catalog of Very-high-energy Gamma-Ray Sources (2HWC):
- Reference: `A. U. Abeysekara et al., 2017, ApJ 843 40 <https://iopscience.iop.org/article/10.3847/1538-4357/aa7556>`_
- Licence: adapted and modified from the HAWC public datasets (see `this link <https://data.hawc-observatory.org/about.php>`_),
these data are licenced like the other Gammapy data, ie under
`CC BY-NC-SA 4.0 <https://creativecommons.org/licenses/by-nc-sa/4.0/>`_.
- The Third HAWC Catalog of Very-high-energy Gamma-Ray Sources (3HWC):
- Reference: `A. Albert et al., 2020, ApJ 905 76 <https://iopscience.iop.org/article/10.3847/1538-4357/abc2d8>`_
- Licence: adapted and modified from the HAWC public datasets (see `this link <https://data.hawc-observatory.org/about.php>`_),
AtreyeeS marked this conversation as resolved.
Show resolved Hide resolved
these data are licenced like the other Gammapy data, ie under
`CC BY-NC-SA 4.0 <https://creativecommons.org/licenses/by-nc-sa/4.0/>`_.
- The H.E.S.S. Galactic Plane catalogue (HGPS):
- Reference: `H.E.S.S. Coll, A&A 612, A1 (2018) <https://www.aanda.org/articles/aa/full_html/2018/04/aa32098-17/aa32098-17.html>`_
- Licence: H.E.S.S. Galactic Plane catalogue © 2018 by the H.E.S.S. Collaboration is licensed under `CC BY 4.0 <https://creativecommons.org/licenses/by/4.0/>`_.
- Licence: H.E.S.S. Galactic Plane catalogue © 2018 by the H.E.S.S. Collaboration is licensed under `CC BY 4.0 <https://creativecommons.org/licenses/by/4.0/>`_.
AtreyeeS marked this conversation as resolved.
Show resolved Hide resolved

This directory contains data from the Fermi-LAT detector, whom licence is given in
the associated directory.
121 changes: 121 additions & 0 deletions catalogs/fermi/LICENCE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
Creative Commons Legal Code

CC0 1.0 Universal

CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.

Statement of Purpose

The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").

Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.

For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.

1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:

i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.

2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.

3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.

4. Limitations and Disclaimers.

a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.
25 changes: 20 additions & 5 deletions catalogs/fermi/README.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
Fermi catalogs
==============

This is a copy of the Fermi-LAT catalogs.
This is a copy of the Fermi-LAT catalogs that are licenses under `CC0 <https://creativecommons.org/publicdomain/zero/1.0/>`_.
The Fermi Data policy can be found on `this page <https://fermi.gsfc.nasa.gov/ssc/data/policy/>`_.

We'd like to use those for tests and examples in Gammapy,
and had lots of timeouts downloading those from the FSSC server.
The available catalogues are:
- LAT Second Catalog of Gamma-ray Pulsars (2PC):
- Reference: `A. A. Abdo et al., 2013, ApJS 208 17 <https://iopscience.iop.org/article/10.1088/0067-0049/208/2/17>`_
- LAT Third Catalog of Gamma-ray Pulsars (3PC):
- Reference: `D. A. Smith et al., 2023, ApJ 958 191 <https://iopscience.iop.org/article/10.3847/1538-4357/acee67>`_

So while this is non-ideal, we're bundling a copy af the
FITS catalog files here to make this more reliable.
The gammapy team have used the following Fermi catalogues to create Fermi-LAT sources catalogues
after 8 , 12 and 14 years of observations:

- LAT 8-year Source Catalog (4FGL):
- Reference: `S. Abdollahi et al., 2020, ApJS 247 33 <https://iopscience.iop.org/article/10.3847/1538-4365/ab6bcb>`_
- LAT 12-year Source Catalog (4FGL-DR3):
- Reference: `S. Abdollahi et al., 2020, ApJS 247 33 <https://iopscience.iop.org/article/10.3847/1538-4365/ab6bcb>`_
AtreyeeS marked this conversation as resolved.
Show resolved Hide resolved
- Reference: `S. Abdollahi et al., 2022, ApJS 260 53 <https://iopscience.iop.org/article/10.3847/1538-4365/ac6751>`_
- LAT 14-year Source Catalog (4FGL-DR4):
- Reference: `J. Ballet et al., 2023, arXiv:2307.12546 <https://arxiv.org/abs/2307.12546>`_
- Reference: `S. Abdollahi et al., 2022, ApJS 260 53 <https://iopscience.iop.org/article/10.3847/1538-4365/ac6751>`_
AtreyeeS marked this conversation as resolved.
Show resolved Hide resolved

This modified catalogues are licenced under `CC BY-NC-SA 4.0 <https://creativecommons.org/licenses/by-nc-sa/4.0/>`_, like other Gammapy products.
3 changes: 2 additions & 1 deletion catalogs/gammacat/README.rst
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Gammapy data © 2020 by Gammapy Coordination Committee is licensed under CC BY-NC-SA 4.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/4.0/
Gammapy data © 2020 by Gammapy Coordination Committee is licensed under CC BY-NC-SA 4.0. To view a copy of this license,
visit https://creativecommons.org/licenses/by-nc-sa/4.0/
9 changes: 9 additions & 0 deletions hawc/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
This directory contains data from the HAWC observatory taken on the Crab nebula:

- Reference: `A. U. Abeysekara et al., 2017, ApJ 843 39 <https://iopscience.iop.org/article/10.3847/1538-4357/aa7555/meta>`_
- Licence: adapted and modified from the HAWC public datasets (see `this link <https://data.hawc-observatory.org/about.php>`_),
these data are licenced like the other Gammapy data, ie under
`CC BY-NC-SA 4.0 <https://creativecommons.org/licenses/by-nc-sa/4.0/>`_.
QRemy marked this conversation as resolved.
Show resolved Hide resolved

The datasets in the DL4 folder are made with the script "hawc_data_reduction.py"
using the public data from the crab_events_pass4 folder.
6 changes: 5 additions & 1 deletion hawc_crab/README.rst
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
Gammapy data © 2020 by Gammapy Coordination Committee is licensed under CC BY-NC-SA 4.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/4.0/
Gammapy data © 2020 by Gammapy Coordination Committee is licensed under CC BY-NC-SA 4.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/4.0/

Reference of the HAWC dataset: `A. U. Abeysekara et al., 2017, ApJ 843 39 <https://iopscience.iop.org/article/10.3847/1538-4357/aa7555/meta>`_

Adapted and modified from the HAWC public datasets (see `this link <https://data.hawc-observatory.org/about.php>`_)
3 changes: 2 additions & 1 deletion hess-dl3-dr1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ a bit later here:

- https://github.com/lmohrmann/hess_ost_paper_material
- https://doi.org/10.1051/0004-6361/201936452
- https://ui.adsabs.harvard.edu/abs/2019arXiv191008088M

The files here contain a copy of the full first public test
data release, with background models included, and HDU index
file updated.

It was generated with the `make.py` script in this folder.
You can run `pytest test.py` to check if the files are OK.

The general licence for these datasets is [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).