diff --git a/python/README.rst b/python/README.rst index b17c8f86e7ec9708c6c6ee0133a283da25130832..7d8ce3c4c5b67f2bdc4a041f194d150b0acc1c62 100755 --- a/python/README.rst +++ b/python/README.rst @@ -26,13 +26,13 @@ For additional details, see doc/install.rst. Usage ----- -See the `documentation <http://templates.pages.lis-lab.fr/tffpy/>`_. +See the `documentation <http://skmad-suite.pages.lis-lab.fr/tffpy/>`_. Bugs ---- Please report any bugs that you find through the `tffpy GitLab project -<https://gitlab.lis-lab.fr/templates/python-package-template/issues>`_. +<https://gitlab.lis-lab.fr/skmad-suite/tff2020/issues>`_. You can also fork the repository and create a merge request. @@ -40,11 +40,11 @@ Source code ----------- The source code of tffpy is available via its `GitLab project -<https://gitlab.lis-lab.fr/templates/python-package-template>`_. +<https://gitlab.lis-lab.fr/skmad-suite/tff2020>`_. You can clone the git repository of the project using the command:: - git clone git@gitlab.lis-lab.fr:templates/python-package-template.git + git clone git@gitlab.lis-lab.fr:skmad-suite/tff2020.git Copyright © 2020 ---------------- diff --git a/python/setup.py b/python/setup.py index 0f212e9f5acff9323da070610a3c92abe11143a9..f593b10ae60af3148e073c270589627f02971e03 100755 --- a/python/setup.py +++ b/python/setup.py @@ -1,5 +1,57 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +# ######### COPYRIGHT ######### +# Credits +# ####### +# +# Copyright(c) 2020-2020 +# ---------------------- +# +# * Laboratoire d'Informatique et Systèmes <http://www.lis-lab.fr/> +# * Université d'Aix-Marseille <http://www.univ-amu.fr/> +# * Centre National de la Recherche Scientifique <http://www.cnrs.fr/> +# * Université de Toulon <http://www.univ-tln.fr/> +# +# Contributors +# ------------ +# +# * `Valentin Emiya <mailto:valentin.emiya@lis-lab.fr>`_ +# * `Ama Marina Krémé <mailto:ama-marina.kreme@lis-lab.fr>`_ +# +# This package has been created thanks to the joint work with Florent Jaillet +# and Ronan Hamon on other packages. +# +# Description +# ----------- +# +# :py:mod:tffpy: is a Python package for time-frequency fading using Gabor +# multipliers based on the work in paper *Time-frequency fading algorithms +# based on Gabor multipliers* by A. Marina Krémé, Valentin Emiya, Caroline +# Chaux and Bruno Torré́sani, 2020. +# +# +# Version +# ------- +# +# * tffpy version = 0.1 +# +# Licence +# ------- +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ######### COPYRIGHT ######### import os from setuptools import setup, find_packages diff --git a/python/tffpy/create_subregions.py b/python/tffpy/create_subregions.py index e9747bd989dda5090a23bf71f3f0ead3958494e0..b2949f6abb64eb4591c8684516ba2edc8e92adf6 100644 --- a/python/tffpy/create_subregions.py +++ b/python/tffpy/create_subregions.py @@ -1,4 +1,56 @@ # -*- coding: utf-8 -*- +# ######### COPYRIGHT ######### +# Credits +# ####### +# +# Copyright(c) 2020-2020 +# ---------------------- +# +# * Laboratoire d'Informatique et Systèmes <http://www.lis-lab.fr/> +# * Université d'Aix-Marseille <http://www.univ-amu.fr/> +# * Centre National de la Recherche Scientifique <http://www.cnrs.fr/> +# * Université de Toulon <http://www.univ-tln.fr/> +# +# Contributors +# ------------ +# +# * `Valentin Emiya <mailto:valentin.emiya@lis-lab.fr>`_ +# * `Ama Marina Krémé <mailto:ama-marina.kreme@lis-lab.fr>`_ +# +# This package has been created thanks to the joint work with Florent Jaillet +# and Ronan Hamon on other packages. +# +# Description +# ----------- +# +# :py:mod:tffpy: is a Python package for time-frequency fading using Gabor +# multipliers based on the work in paper *Time-frequency fading algorithms +# based on Gabor multipliers* by A. Marina Krémé, Valentin Emiya, Caroline +# Chaux and Bruno Torré́sani, 2020. +# +# +# Version +# ------- +# +# * tffpy version = 0.1 +# +# Licence +# ------- +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ######### COPYRIGHT ######### """ .. moduleauthor:: Valentin Emiya diff --git a/python/tffpy/datasets.py b/python/tffpy/datasets.py index 87e00b61d74c88fffee23b58437b7c4a03cb5c29..f94af5104c54ae3fdb2096dd601f46f8af9de622 100644 --- a/python/tffpy/datasets.py +++ b/python/tffpy/datasets.py @@ -1,4 +1,56 @@ # -*- coding: utf-8 -*- +# ######### COPYRIGHT ######### +# Credits +# ####### +# +# Copyright(c) 2020-2020 +# ---------------------- +# +# * Laboratoire d'Informatique et Systèmes <http://www.lis-lab.fr/> +# * Université d'Aix-Marseille <http://www.univ-amu.fr/> +# * Centre National de la Recherche Scientifique <http://www.cnrs.fr/> +# * Université de Toulon <http://www.univ-tln.fr/> +# +# Contributors +# ------------ +# +# * `Valentin Emiya <mailto:valentin.emiya@lis-lab.fr>`_ +# * `Ama Marina Krémé <mailto:ama-marina.kreme@lis-lab.fr>`_ +# +# This package has been created thanks to the joint work with Florent Jaillet +# and Ronan Hamon on other packages. +# +# Description +# ----------- +# +# :py:mod:tffpy: is a Python package for time-frequency fading using Gabor +# multipliers based on the work in paper *Time-frequency fading algorithms +# based on Gabor multipliers* by A. Marina Krémé, Valentin Emiya, Caroline +# Chaux and Bruno Torré́sani, 2020. +# +# +# Version +# ------- +# +# * tffpy version = 0.1 +# +# Licence +# ------- +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ######### COPYRIGHT ######### """ .. moduleauthor:: Valentin Emiya diff --git a/python/tffpy/experiments/exp_solve_tff.py b/python/tffpy/experiments/exp_solve_tff.py index 179d011565ad189965a72a75fd53156f450f7e9a..9d8e2bfe6680d9f1662eff4b1bb35a4c99e8c759 100644 --- a/python/tffpy/experiments/exp_solve_tff.py +++ b/python/tffpy/experiments/exp_solve_tff.py @@ -1,4 +1,56 @@ # -*- coding: utf-8 -*- +# ######### COPYRIGHT ######### +# Credits +# ####### +# +# Copyright(c) 2020-2020 +# ---------------------- +# +# * Laboratoire d'Informatique et Systèmes <http://www.lis-lab.fr/> +# * Université d'Aix-Marseille <http://www.univ-amu.fr/> +# * Centre National de la Recherche Scientifique <http://www.cnrs.fr/> +# * Université de Toulon <http://www.univ-tln.fr/> +# +# Contributors +# ------------ +# +# * `Valentin Emiya <mailto:valentin.emiya@lis-lab.fr>`_ +# * `Ama Marina Krémé <mailto:ama-marina.kreme@lis-lab.fr>`_ +# +# This package has been created thanks to the joint work with Florent Jaillet +# and Ronan Hamon on other packages. +# +# Description +# ----------- +# +# :py:mod:tffpy: is a Python package for time-frequency fading using Gabor +# multipliers based on the work in paper *Time-frequency fading algorithms +# based on Gabor multipliers* by A. Marina Krémé, Valentin Emiya, Caroline +# Chaux and Bruno Torré́sani, 2020. +# +# +# Version +# ------- +# +# * tffpy version = 0.1 +# +# Licence +# ------- +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ######### COPYRIGHT ######### """ Class `SolveTffExperiment` uses the :class:`yafe.base.Experiment` experiment framework to handle the main time-frequency fading experiment: It includes diff --git a/python/tffpy/experiments/tests/test_exp_solve_tff.py b/python/tffpy/experiments/tests/test_exp_solve_tff.py index 36ad6552d7450c8d3d2c873363312517e330b1c2..b8cc1d5a11d6ee576a498af69dac605a6c558fff 100644 --- a/python/tffpy/experiments/tests/test_exp_solve_tff.py +++ b/python/tffpy/experiments/tests/test_exp_solve_tff.py @@ -1,4 +1,56 @@ # -*- coding: utf-8 -*- +# ######### COPYRIGHT ######### +# Credits +# ####### +# +# Copyright(c) 2020-2020 +# ---------------------- +# +# * Laboratoire d'Informatique et Systèmes <http://www.lis-lab.fr/> +# * Université d'Aix-Marseille <http://www.univ-amu.fr/> +# * Centre National de la Recherche Scientifique <http://www.cnrs.fr/> +# * Université de Toulon <http://www.univ-tln.fr/> +# +# Contributors +# ------------ +# +# * `Valentin Emiya <mailto:valentin.emiya@lis-lab.fr>`_ +# * `Ama Marina Krémé <mailto:ama-marina.kreme@lis-lab.fr>`_ +# +# This package has been created thanks to the joint work with Florent Jaillet +# and Ronan Hamon on other packages. +# +# Description +# ----------- +# +# :py:mod:tffpy: is a Python package for time-frequency fading using Gabor +# multipliers based on the work in paper *Time-frequency fading algorithms +# based on Gabor multipliers* by A. Marina Krémé, Valentin Emiya, Caroline +# Chaux and Bruno Torré́sani, 2020. +# +# +# Version +# ------- +# +# * tffpy version = 0.1 +# +# Licence +# ------- +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ######### COPYRIGHT ######### """Test of the module :module:`tffpy.experiments.exp_solve_tff` diff --git a/python/tffpy/interpolation_solver.py b/python/tffpy/interpolation_solver.py index ce69cf80c1ef168ce819385a776ea04ac8a0822e..a0ca9f008e196cccec3a0212655a36918c3ad8ef 100644 --- a/python/tffpy/interpolation_solver.py +++ b/python/tffpy/interpolation_solver.py @@ -1,4 +1,56 @@ # -*- coding: utf-8 -*- +# ######### COPYRIGHT ######### +# Credits +# ####### +# +# Copyright(c) 2020-2020 +# ---------------------- +# +# * Laboratoire d'Informatique et Systèmes <http://www.lis-lab.fr/> +# * Université d'Aix-Marseille <http://www.univ-amu.fr/> +# * Centre National de la Recherche Scientifique <http://www.cnrs.fr/> +# * Université de Toulon <http://www.univ-tln.fr/> +# +# Contributors +# ------------ +# +# * `Valentin Emiya <mailto:valentin.emiya@lis-lab.fr>`_ +# * `Ama Marina Krémé <mailto:ama-marina.kreme@lis-lab.fr>`_ +# +# This package has been created thanks to the joint work with Florent Jaillet +# and Ronan Hamon on other packages. +# +# Description +# ----------- +# +# :py:mod:tffpy: is a Python package for time-frequency fading using Gabor +# multipliers based on the work in paper *Time-frequency fading algorithms +# based on Gabor multipliers* by A. Marina Krémé, Valentin Emiya, Caroline +# Chaux and Bruno Torré́sani, 2020. +# +# +# Version +# ------- +# +# * tffpy version = 0.1 +# +# Licence +# ------- +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ######### COPYRIGHT ######### """ .. moduleauthor:: Valentin Emiya diff --git a/python/tffpy/scripts/script_exp_solve_tff.py b/python/tffpy/scripts/script_exp_solve_tff.py index e94dfbc19f8a8891af69474bd9f182c28ff6e27f..54cc1fe875f5544e72f07d5c942eb2a934468bf9 100644 --- a/python/tffpy/scripts/script_exp_solve_tff.py +++ b/python/tffpy/scripts/script_exp_solve_tff.py @@ -1,4 +1,56 @@ # -*- coding: utf-8 -*- +# ######### COPYRIGHT ######### +# Credits +# ####### +# +# Copyright(c) 2020-2020 +# ---------------------- +# +# * Laboratoire d'Informatique et Systèmes <http://www.lis-lab.fr/> +# * Université d'Aix-Marseille <http://www.univ-amu.fr/> +# * Centre National de la Recherche Scientifique <http://www.cnrs.fr/> +# * Université de Toulon <http://www.univ-tln.fr/> +# +# Contributors +# ------------ +# +# * `Valentin Emiya <mailto:valentin.emiya@lis-lab.fr>`_ +# * `Ama Marina Krémé <mailto:ama-marina.kreme@lis-lab.fr>`_ +# +# This package has been created thanks to the joint work with Florent Jaillet +# and Ronan Hamon on other packages. +# +# Description +# ----------- +# +# :py:mod:tffpy: is a Python package for time-frequency fading using Gabor +# multipliers based on the work in paper *Time-frequency fading algorithms +# based on Gabor multipliers* by A. Marina Krémé, Valentin Emiya, Caroline +# Chaux and Bruno Torré́sani, 2020. +# +# +# Version +# ------- +# +# * tffpy version = 0.1 +# +# Licence +# ------- +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ######### COPYRIGHT ######### """ Run this script to handle the main experiment :class:`SolveTffExperiment`. diff --git a/python/tffpy/tests/__init__.py b/python/tffpy/tests/__init__.py index 40a96afc6ff09d58a702b76e3f7dd412fe975e26..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100755 --- a/python/tffpy/tests/__init__.py +++ b/python/tffpy/tests/__init__.py @@ -1 +0,0 @@ -# -*- coding: utf-8 -*- diff --git a/python/tffpy/tests/ci_config.py b/python/tffpy/tests/ci_config.py index 4e41b8e24dac87cfafa951c2e531cf801170d02a..4640089b35a40d6e1533ed73fa3b3f16b3fec79d 100644 --- a/python/tffpy/tests/ci_config.py +++ b/python/tffpy/tests/ci_config.py @@ -1,4 +1,56 @@ # -*- coding: utf-8 -*- +# ######### COPYRIGHT ######### +# Credits +# ####### +# +# Copyright(c) 2020-2020 +# ---------------------- +# +# * Laboratoire d'Informatique et Systèmes <http://www.lis-lab.fr/> +# * Université d'Aix-Marseille <http://www.univ-amu.fr/> +# * Centre National de la Recherche Scientifique <http://www.cnrs.fr/> +# * Université de Toulon <http://www.univ-tln.fr/> +# +# Contributors +# ------------ +# +# * `Valentin Emiya <mailto:valentin.emiya@lis-lab.fr>`_ +# * `Ama Marina Krémé <mailto:ama-marina.kreme@lis-lab.fr>`_ +# +# This package has been created thanks to the joint work with Florent Jaillet +# and Ronan Hamon on other packages. +# +# Description +# ----------- +# +# :py:mod:tffpy: is a Python package for time-frequency fading using Gabor +# multipliers based on the work in paper *Time-frequency fading algorithms +# based on Gabor multipliers* by A. Marina Krémé, Valentin Emiya, Caroline +# Chaux and Bruno Torré́sani, 2020. +# +# +# Version +# ------- +# +# * tffpy version = 0.1 +# +# Licence +# ------- +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ######### COPYRIGHT ######### """ Create configuration files for continuous integration. diff --git a/python/tffpy/tests/test_create_subregions.py b/python/tffpy/tests/test_create_subregions.py index 0038cc7a8351d10e5df0fce661b061c049535fff..996924984e82f298a8da466bad0a38fd5a85a649 100644 --- a/python/tffpy/tests/test_create_subregions.py +++ b/python/tffpy/tests/test_create_subregions.py @@ -1,3 +1,56 @@ +# -*- coding: utf-8 -*- +# ######### COPYRIGHT ######### +# Credits +# ####### +# +# Copyright(c) 2020-2020 +# ---------------------- +# +# * Laboratoire d'Informatique et Systèmes <http://www.lis-lab.fr/> +# * Université d'Aix-Marseille <http://www.univ-amu.fr/> +# * Centre National de la Recherche Scientifique <http://www.cnrs.fr/> +# * Université de Toulon <http://www.univ-tln.fr/> +# +# Contributors +# ------------ +# +# * `Valentin Emiya <mailto:valentin.emiya@lis-lab.fr>`_ +# * `Ama Marina Krémé <mailto:ama-marina.kreme@lis-lab.fr>`_ +# +# This package has been created thanks to the joint work with Florent Jaillet +# and Ronan Hamon on other packages. +# +# Description +# ----------- +# +# :py:mod:tffpy: is a Python package for time-frequency fading using Gabor +# multipliers based on the work in paper *Time-frequency fading algorithms +# based on Gabor multipliers* by A. Marina Krémé, Valentin Emiya, Caroline +# Chaux and Bruno Torré́sani, 2020. +# +# +# Version +# ------- +# +# * tffpy version = 0.1 +# +# Licence +# ------- +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ######### COPYRIGHT ######### import unittest from tffpy.datasets import get_mix from tffpy.create_subregions import create_subregions diff --git a/python/tffpy/tests/test_datasets.py b/python/tffpy/tests/test_datasets.py index f280100a58b938b3c8929d6be258e3e7d34f4948..e92b8c9a108ae12346a68bc461661f77d4736392 100644 --- a/python/tffpy/tests/test_datasets.py +++ b/python/tffpy/tests/test_datasets.py @@ -1,4 +1,56 @@ # -*- coding: utf-8 -*- +# ######### COPYRIGHT ######### +# Credits +# ####### +# +# Copyright(c) 2020-2020 +# ---------------------- +# +# * Laboratoire d'Informatique et Systèmes <http://www.lis-lab.fr/> +# * Université d'Aix-Marseille <http://www.univ-amu.fr/> +# * Centre National de la Recherche Scientifique <http://www.cnrs.fr/> +# * Université de Toulon <http://www.univ-tln.fr/> +# +# Contributors +# ------------ +# +# * `Valentin Emiya <mailto:valentin.emiya@lis-lab.fr>`_ +# * `Ama Marina Krémé <mailto:ama-marina.kreme@lis-lab.fr>`_ +# +# This package has been created thanks to the joint work with Florent Jaillet +# and Ronan Hamon on other packages. +# +# Description +# ----------- +# +# :py:mod:tffpy: is a Python package for time-frequency fading using Gabor +# multipliers based on the work in paper *Time-frequency fading algorithms +# based on Gabor multipliers* by A. Marina Krémé, Valentin Emiya, Caroline +# Chaux and Bruno Torré́sani, 2020. +# +# +# Version +# ------- +# +# * tffpy version = 0.1 +# +# Licence +# ------- +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ######### COPYRIGHT ######### """Test of the module :module:`tffpy.datasets` diff --git a/python/tffpy/tests/test_interpolation_solver.py b/python/tffpy/tests/test_interpolation_solver.py index 46351271dcffa88fe2dc9052f860385185531a21..8ce51203b13ccbac00fbe1faa2a42611a19092e1 100644 --- a/python/tffpy/tests/test_interpolation_solver.py +++ b/python/tffpy/tests/test_interpolation_solver.py @@ -1,3 +1,56 @@ +# -*- coding: utf-8 -*- +# ######### COPYRIGHT ######### +# Credits +# ####### +# +# Copyright(c) 2020-2020 +# ---------------------- +# +# * Laboratoire d'Informatique et Systèmes <http://www.lis-lab.fr/> +# * Université d'Aix-Marseille <http://www.univ-amu.fr/> +# * Centre National de la Recherche Scientifique <http://www.cnrs.fr/> +# * Université de Toulon <http://www.univ-tln.fr/> +# +# Contributors +# ------------ +# +# * `Valentin Emiya <mailto:valentin.emiya@lis-lab.fr>`_ +# * `Ama Marina Krémé <mailto:ama-marina.kreme@lis-lab.fr>`_ +# +# This package has been created thanks to the joint work with Florent Jaillet +# and Ronan Hamon on other packages. +# +# Description +# ----------- +# +# :py:mod:tffpy: is a Python package for time-frequency fading using Gabor +# multipliers based on the work in paper *Time-frequency fading algorithms +# based on Gabor multipliers* by A. Marina Krémé, Valentin Emiya, Caroline +# Chaux and Bruno Torré́sani, 2020. +# +# +# Version +# ------- +# +# * tffpy version = 0.1 +# +# Licence +# ------- +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ######### COPYRIGHT ######### import unittest import numpy as np diff --git a/python/tffpy/tests/test_tf_fading.py b/python/tffpy/tests/test_tf_fading.py index c4af787c459f2576b2bd640d43aa60f093881700..4316df403830a6357436e4255407199807bd4c7d 100644 --- a/python/tffpy/tests/test_tf_fading.py +++ b/python/tffpy/tests/test_tf_fading.py @@ -1,3 +1,56 @@ +# -*- coding: utf-8 -*- +# ######### COPYRIGHT ######### +# Credits +# ####### +# +# Copyright(c) 2020-2020 +# ---------------------- +# +# * Laboratoire d'Informatique et Systèmes <http://www.lis-lab.fr/> +# * Université d'Aix-Marseille <http://www.univ-amu.fr/> +# * Centre National de la Recherche Scientifique <http://www.cnrs.fr/> +# * Université de Toulon <http://www.univ-tln.fr/> +# +# Contributors +# ------------ +# +# * `Valentin Emiya <mailto:valentin.emiya@lis-lab.fr>`_ +# * `Ama Marina Krémé <mailto:ama-marina.kreme@lis-lab.fr>`_ +# +# This package has been created thanks to the joint work with Florent Jaillet +# and Ronan Hamon on other packages. +# +# Description +# ----------- +# +# :py:mod:tffpy: is a Python package for time-frequency fading using Gabor +# multipliers based on the work in paper *Time-frequency fading algorithms +# based on Gabor multipliers* by A. Marina Krémé, Valentin Emiya, Caroline +# Chaux and Bruno Torré́sani, 2020. +# +# +# Version +# ------- +# +# * tffpy version = 0.1 +# +# Licence +# ------- +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ######### COPYRIGHT ######### import unittest import matplotlib.pyplot as plt diff --git a/python/tffpy/tests/test_utils.py b/python/tffpy/tests/test_utils.py index 0735a909d81e41e0d169bb15ef68acbbf8e0fa88..d6cb7d0f762e7a1de5c0074e74facfb6c88cf84a 100644 --- a/python/tffpy/tests/test_utils.py +++ b/python/tffpy/tests/test_utils.py @@ -1,6 +1,59 @@ import unittest from unittest.mock import patch import tempfile +# -*- coding: utf-8 -*- +# ######### COPYRIGHT ######### +# Credits +# ####### +# +# Copyright(c) 2020-2020 +# ---------------------- +# +# * Laboratoire d'Informatique et Systèmes <http://www.lis-lab.fr/> +# * Université d'Aix-Marseille <http://www.univ-amu.fr/> +# * Centre National de la Recherche Scientifique <http://www.cnrs.fr/> +# * Université de Toulon <http://www.univ-tln.fr/> +# +# Contributors +# ------------ +# +# * `Valentin Emiya <mailto:valentin.emiya@lis-lab.fr>`_ +# * `Ama Marina Krémé <mailto:ama-marina.kreme@lis-lab.fr>`_ +# +# This package has been created thanks to the joint work with Florent Jaillet +# and Ronan Hamon on other packages. +# +# Description +# ----------- +# +# :py:mod:tffpy: is a Python package for time-frequency fading using Gabor +# multipliers based on the work in paper *Time-frequency fading algorithms +# based on Gabor multipliers* by A. Marina Krémé, Valentin Emiya, Caroline +# Chaux and Bruno Torré́sani, 2020. +# +# +# Version +# ------- +# +# * tffpy version = 0.1 +# +# Licence +# ------- +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ######### COPYRIGHT ######### from pathlib import Path from configparser import ConfigParser diff --git a/python/tffpy/tf_fading.py b/python/tffpy/tf_fading.py index 3888918d29f1eeb7e89dc9e83eb6a851a671fd61..dc76ff9094ba00d43b9d2d7b67e3183d9c585d87 100644 --- a/python/tffpy/tf_fading.py +++ b/python/tffpy/tf_fading.py @@ -1,4 +1,56 @@ # -*- coding: utf-8 -*- +# ######### COPYRIGHT ######### +# Credits +# ####### +# +# Copyright(c) 2020-2020 +# ---------------------- +# +# * Laboratoire d'Informatique et Systèmes <http://www.lis-lab.fr/> +# * Université d'Aix-Marseille <http://www.univ-amu.fr/> +# * Centre National de la Recherche Scientifique <http://www.cnrs.fr/> +# * Université de Toulon <http://www.univ-tln.fr/> +# +# Contributors +# ------------ +# +# * `Valentin Emiya <mailto:valentin.emiya@lis-lab.fr>`_ +# * `Ama Marina Krémé <mailto:ama-marina.kreme@lis-lab.fr>`_ +# +# This package has been created thanks to the joint work with Florent Jaillet +# and Ronan Hamon on other packages. +# +# Description +# ----------- +# +# :py:mod:tffpy: is a Python package for time-frequency fading using Gabor +# multipliers based on the work in paper *Time-frequency fading algorithms +# based on Gabor multipliers* by A. Marina Krémé, Valentin Emiya, Caroline +# Chaux and Bruno Torré́sani, 2020. +# +# +# Version +# ------- +# +# * tffpy version = 0.1 +# +# Licence +# ------- +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ######### COPYRIGHT ######### """ Class :class:`GabMulTff` is the main object to solve a time-frequency fading problem. diff --git a/python/tffpy/tf_tools.py b/python/tffpy/tf_tools.py index abc4bf846273c4b6e9f72e10836c6b62bfa53424..8e106ebd37aaced018027b5b0297a9ef173c2d7b 100755 --- a/python/tffpy/tf_tools.py +++ b/python/tffpy/tf_tools.py @@ -1,4 +1,56 @@ # -*- coding: utf-8 -*- +# ######### COPYRIGHT ######### +# Credits +# ####### +# +# Copyright(c) 2020-2020 +# ---------------------- +# +# * Laboratoire d'Informatique et Systèmes <http://www.lis-lab.fr/> +# * Université d'Aix-Marseille <http://www.univ-amu.fr/> +# * Centre National de la Recherche Scientifique <http://www.cnrs.fr/> +# * Université de Toulon <http://www.univ-tln.fr/> +# +# Contributors +# ------------ +# +# * `Valentin Emiya <mailto:valentin.emiya@lis-lab.fr>`_ +# * `Ama Marina Krémé <mailto:ama-marina.kreme@lis-lab.fr>`_ +# +# This package has been created thanks to the joint work with Florent Jaillet +# and Ronan Hamon on other packages. +# +# Description +# ----------- +# +# :py:mod:tffpy: is a Python package for time-frequency fading using Gabor +# multipliers based on the work in paper *Time-frequency fading algorithms +# based on Gabor multipliers* by A. Marina Krémé, Valentin Emiya, Caroline +# Chaux and Bruno Torré́sani, 2020. +# +# +# Version +# ------- +# +# * tffpy version = 0.1 +# +# Licence +# ------- +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ######### COPYRIGHT ######### """ Base functions and classes. .. moduleauthor:: Valentin Emiya diff --git a/python/tffpy/utils.py b/python/tffpy/utils.py index 0460a8462e6b60b0813874557eb40c1982bed68c..a41c9885ef10095b66a40cdf17effbaff2fb18c5 100755 --- a/python/tffpy/utils.py +++ b/python/tffpy/utils.py @@ -1,4 +1,56 @@ # -*- coding: utf-8 -*- +# ######### COPYRIGHT ######### +# Credits +# ####### +# +# Copyright(c) 2020-2020 +# ---------------------- +# +# * Laboratoire d'Informatique et Systèmes <http://www.lis-lab.fr/> +# * Université d'Aix-Marseille <http://www.univ-amu.fr/> +# * Centre National de la Recherche Scientifique <http://www.cnrs.fr/> +# * Université de Toulon <http://www.univ-tln.fr/> +# +# Contributors +# ------------ +# +# * `Valentin Emiya <mailto:valentin.emiya@lis-lab.fr>`_ +# * `Ama Marina Krémé <mailto:ama-marina.kreme@lis-lab.fr>`_ +# +# This package has been created thanks to the joint work with Florent Jaillet +# and Ronan Hamon on other packages. +# +# Description +# ----------- +# +# :py:mod:tffpy: is a Python package for time-frequency fading using Gabor +# multipliers based on the work in paper *Time-frequency fading algorithms +# based on Gabor multipliers* by A. Marina Krémé, Valentin Emiya, Caroline +# Chaux and Bruno Torré́sani, 2020. +# +# +# Version +# ------- +# +# * tffpy version = 0.1 +# +# Licence +# ------- +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ######### COPYRIGHT ######### """Utils classes and functions for tffpy. .. moduleauthor:: Valentin Emiya