diff --git a/Classes/Intercomparison.py b/Classes/Intercomparison.py index e7e4a320e948656a1b7d760172b7ba3cd044f71b..11cfe108e3f1f829950aa7377be6ea736173ab8d 100644 --- a/Classes/Intercomparison.py +++ b/Classes/Intercomparison.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + import pandas as pd import numpy as np from PyQt5.QtCore import pyqtSignal, QThread diff --git a/Classes/LoadMeasurements.py b/Classes/LoadMeasurements.py index 6187ce5c27bbb9380f1b08411f0b7ffac4d533ab..f9ae3e6ea09c8cc046652675ea9e367b6b0ee8d3 100644 --- a/Classes/LoadMeasurements.py +++ b/Classes/LoadMeasurements.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + import numpy as np import pandas as pd import copy diff --git a/README.md b/README.md index 76dc9138749377de42311f589b72e3478885dfbf..33e92db4777aaa17a215c745fac6d8dd26958f2e 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Windows Executable can be downloaded from https://bit.ly/QRame ## Requirements and Dependencies -QRale is currently being developed using Python 3.9.0 and makes use of the following packages: +QRame is currently being developed using Python 3.9.0 and makes use of the following packages: contourpy==1.0.7 cycler==0.11.0 et-xmlfile==1.1.0 @@ -71,5 +71,6 @@ zipp==3.15.0 ## Author Blaise Calmel -Research Engineer for INRAE Lyon-Grenoble +Research Engineer +INRAE Lyon-Grenoble blaise.calmel@inrae.fr \ No newline at end of file diff --git a/UI/Columns2Use.py b/UI/Columns2Use.py index bec797f4be756cc31659c67e60b3942fa22c2528..7ef14344c444b78b7ce9b3c9e7029ea0e360681a 100644 --- a/UI/Columns2Use.py +++ b/UI/Columns2Use.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + from PyQt5 import QtWidgets, QtCore, QtGui import wColumns2Use diff --git a/UI/FigDischargeUncertainty.py b/UI/FigDischargeUncertainty.py index 39df8fcf3d8680366d53c1aa42fd51302c9d72c1..16edacab4796d708f4b91dbdb05a379f4f500db0 100644 --- a/UI/FigDischargeUncertainty.py +++ b/UI/FigDischargeUncertainty.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + import seaborn as sns import numpy as np from PyQt5 import QtCore diff --git a/UI/FigTimeDischarge.py b/UI/FigTimeDischarge.py index 53782c94f0b2dc4fff9c45ad6998c41dab7f2572..2321fa38c7423b54a5b7f1de8dc4293fc0359868 100644 --- a/UI/FigTimeDischarge.py +++ b/UI/FigTimeDischarge.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + import numpy as np from PyQt5 import QtCore from datetime import datetime diff --git a/UI/FigUncertaintySources.py b/UI/FigUncertaintySources.py index 40046d6d56158b3c19c4200c1e64f1529b9f5709..222db54faf142af3c3f2c458fa29c6d93b4bf503 100644 --- a/UI/FigUncertaintySources.py +++ b/UI/FigUncertaintySources.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + from PyQt5 import QtCore diff --git a/UI/Measurements2Use.py b/UI/Measurements2Use.py index dd716a301cf372da68a35248d30b5e5502491185..6e434c2c80846a050c3fd00bd47819dbc1996d37 100644 --- a/UI/Measurements2Use.py +++ b/UI/Measurements2Use.py @@ -2,6 +2,24 @@ import copy from PyQt5 import QtWidgets, QtCore, QtGui import wMeasurements2Use +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + from MiscLibs.common_functions import scientific_notation class Measurements2Use(QtWidgets.QDialog, wMeasurements2Use.Ui_Measurements2Use): diff --git a/UI/MplCanvas.py b/UI/MplCanvas.py index bcd322fce9ce7b8a508bb37e179e45bde94c947b..c6b17ad20e3ed695de4489571560e7e9f1055acd 100644 --- a/UI/MplCanvas.py +++ b/UI/MplCanvas.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + from PyQt5 import QtWidgets from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas from matplotlib.figure import Figure diff --git a/UI/Options.py b/UI/Options.py index 5f57f199b7a4cbbabab8c6641967dcb2a3a005e1..a21b7720a0092fc5c0b1cd0aa396d523ef3381c2 100644 --- a/UI/Options.py +++ b/UI/Options.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + from PyQt5 import QtWidgets, QtGui import wOptions diff --git a/UI/SelectDialog.py b/UI/SelectDialog.py index 64db42e6a5487a3b501084d86c7e83a880063c4e..07b0bde79e78acaabab51be757a33f57e15cf5db 100644 --- a/UI/SelectDialog.py +++ b/UI/SelectDialog.py @@ -1,9 +1,27 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + import os import glob import numpy as np import scipy.io as sio from PyQt5.QtWidgets import QDialog, QFileDialog, QMessageBox, QApplication -from PyQt5.QtCore import QCoreApplication, Qt +from PyQt5.QtCore import Qt class SelectFolderDialog(QDialog): diff --git a/UI/main.py b/UI/main.py index 3e30f7a9164dd1680658dc50c2137606ce9f3bde..7b7196f11f2a6a14191ae1559f001ee252b3cd27 100644 --- a/UI/main.py +++ b/UI/main.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + import os import sys import copy diff --git a/UI/progress_bar.py b/UI/progress_bar.py index 0db0ec14e43e287007bbfdaf3459bc839c2a1e29..4e6ce6315f7a0e3a2fc160b49f3cc2f3a1d4f073 100644 --- a/UI/progress_bar.py +++ b/UI/progress_bar.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + from PyQt5 import QtWidgets, QtCore from PyQt5.QtWidgets import QMessageBox