Skip to content

Commit

Permalink
copyright update
Browse files Browse the repository at this point in the history
  • Loading branch information
lecontm committed Jun 4, 2024
1 parent 137a7b9 commit 158f337
Show file tree
Hide file tree
Showing 77 changed files with 86 additions and 82 deletions.
2 changes: 1 addition & 1 deletion AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Credits

Copyright (c) 2023 Centre National d'Etudes Spatiales (CNES).
Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).

Pandora is licensed under permissive Apache 2 license (See LICENSE file).
The copyright is kept CNES only for long term maintenance ease.
Expand Down
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion docs/make.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
::
:: Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
:: Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
::
:: This file is part of PANDORA
::
Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: skip-file
#
# coding: utf8
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down Expand Up @@ -42,7 +42,7 @@
# -- Project information -----------------------------------------------------

project = "Pandora"
copyright = "2022, CNES"
copyright = "2024, CNES"
author = "CNES"

# The full version, including alpha/beta/rc tags
Expand Down
2 changes: 1 addition & 1 deletion pandora/Pandora.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/aggregation/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: disable=missing-module-docstring
#
# coding: utf8
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/aggregation/aggregation.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/aggregation/cbca.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/check_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/common.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/constants.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/cost_volume_confidence/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: disable=missing-module-docstring
#
# coding: utf8
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/cost_volume_confidence/ambiguity.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/cost_volume_confidence/cost_volume_confidence.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/cost_volume_confidence/risk.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/cost_volume_confidence/std_intensity.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/criteria.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/disparity/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: disable=missing-module-docstring
#
# coding: utf8
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/disparity/disparity.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/filter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: disable=missing-module-docstring
#
# coding: utf8
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/filter/bilateral.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/filter/filter.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/filter/median.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/img_tools.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/marge.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/margins/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
14 changes: 9 additions & 5 deletions pandora/margins/descriptors.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down Expand Up @@ -63,10 +63,12 @@ def __init__(self, left: int, up: int, right: int, down: int) -> None:
self.value = Margins(left, up, right, down)

@overload
def __get__(self, instance: None, owner: None) -> FixedMargins: ...
def __get__(self, instance: None, owner: None) -> FixedMargins:
...

@overload
def __get__(self, instance: object, owner: type[object]) -> Margins: ...
def __get__(self, instance: object, owner: type[object]) -> Margins:
...

def __get__(self, instance: object | None, owner: type[object] | None = None) -> FixedMargins | Margins:
if instance is None:
Expand Down Expand Up @@ -101,10 +103,12 @@ class HalfWindowMargins(ReadOnlyDescriptor):
# pylint:disable=too-few-public-methods

@overload
def __get__(self, instance: None, owner: None) -> HalfWindowMargins: ...
def __get__(self, instance: None, owner: None) -> HalfWindowMargins:
...

@overload
def __get__(self, instance: object, owner: type[object]) -> Margins: ...
def __get__(self, instance: object, owner: type[object]) -> Margins:
...

def __get__(self, instance: object | None, owner: type[object] | None = None) -> HalfWindowMargins | Margins:
if instance is None:
Expand Down
2 changes: 1 addition & 1 deletion pandora/margins/margins.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/matching_cost/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: disable=missing-module-docstring
#
# coding: utf8
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/matching_cost/census.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/matching_cost/matching_cost.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/matching_cost/sad_ssd.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/matching_cost/zncc.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/multiscale/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: disable=missing-module-docstring
#
# coding: utf8
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/multiscale/fixed_zoom_pyramid.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/multiscale/multiscale.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/optimization/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: disable=missing-module-docstring
#
# coding: utf8
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/optimization/optimization.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/output_tree_design.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
2 changes: 1 addition & 1 deletion pandora/refinement/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: disable=missing-module-docstring
#
# coding: utf8
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
# Copyright (c) 2024 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
Expand Down
Loading

0 comments on commit 158f337

Please sign in to comment.