Skip to content

Commit

Permalink
Fix SPDF tag to GPL-3.0-or-later (fixes #146)
Browse files Browse the repository at this point in the history
* Remove references to EMIR DRP, updated to PyEmir
  • Loading branch information
sergiopasra committed Dec 11, 2023
1 parent 7dc8a10 commit fe44b43
Show file tree
Hide file tree
Showing 104 changed files with 115 additions and 106 deletions.
2 changes: 1 addition & 1 deletion src/emirdrp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/core/correctors.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/core/extra.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/core/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
8 changes: 8 additions & 0 deletions src/emirdrp/core/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#
# Copyright 2020-2023 Universidad Complutense de Madrid
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

import numpy
import math
Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/datamodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/instrument/channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
4 changes: 2 additions & 2 deletions src/emirdrp/instrument/components/csu.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#
# Copyright 2019-2023 Universidad Complutense de Madrid
#
# This file is part of EMIR DRP
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
4 changes: 2 additions & 2 deletions src/emirdrp/instrument/components/dtu.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#
# Copyright 2019-2023 Universidad Complutense de Madrid
#
# This file is part of EMIR DRP
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#
import astropy.wcs
Expand Down
4 changes: 2 additions & 2 deletions src/emirdrp/instrument/components/dtuaxis.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#
# Copyright 2019-2023 Universidad Complutense de Madrid
#
# This file is part of EMIR DRP
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
1 change: 1 addition & 0 deletions src/emirdrp/instrument/components/tests/test_dtu.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def test_dtu_average2_2(hdr1, hdr2):
calc = 0.5 * (getattr(dtuconf1, name).coor_0 + getattr(dtuconf2, name).coor_0)
assert math.isclose(getattr(dtuconf, name).coor_0, calc)


def test_dtu_hash():
header = DTU_HEADER_EXAMPLE
dtuconf = DtuConf.from_header(header)
Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/instrument/constants/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/instrument/csu_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/instrument/csuconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/instrument/distortions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
4 changes: 2 additions & 2 deletions src/emirdrp/instrument/tests/dtuheader.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#
# Copyright 2023 Universidad Complutense de Madrid
#
# This file is part of EMIR DRP
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/bardetect.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/bars.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/checkers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/combine.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/corr.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/flatfield.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/wavecal/apply_rectwv_coeff.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/wavecal/get_islitlet.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/wavecal/islitlet_progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/wavecal/overplot_boundary_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/wavecal/rectwv_coeff_to_ds9.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/wavecal/refine_rectwv_coeff.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/wavecal/rescale_array_z1z2.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/wavecal/retrieve_catlines.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/wavecal/set_wv_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/wavecal/slitlet2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down
2 changes: 1 addition & 1 deletion src/emirdrp/processing/wavecal/slitlet2darc.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This file is part of PyEmir
#
# SPDX-License-Identifier: GPL-3.0+
# SPDX-License-Identifier: GPL-3.0-or-later
# License-Filename: LICENSE.txt
#

Expand Down

0 comments on commit fe44b43

Please sign in to comment.