Skip to content

Commit 86ca5b2

Browse files
committed
add license header to each file
1 parent 1f1d94f commit 86ca5b2

11 files changed

Lines changed: 185 additions & 2 deletions

examples/1_example.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Copyright [2017-2020] [Alessio Russo - alessior@kth.se]
2+
# This file is part of PythonVRFT.
3+
# PythonVRFT is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, version 3 of the License.
6+
# PythonVRFT is distributed in the hope that it will be useful,
7+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
8+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9+
# GNU General Public License for more details.
10+
# You should have received a copy of the GNU General Public License
11+
# along with PythonVRFT. If not, see <http://www.gnu.org/licenses/>.
12+
#
13+
# Code author: [Alessio Russo - alessior@kth.se]
14+
# Last update: 06th January 2020, by alessior@kth.se
15+
#
16+
117
import numpy as np
218
import matplotlib.pyplot as plt
319
import scipy.signal as scipysig

examples/notebook_example_1.ipynb

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"metadata": {},
7+
"outputs": [],
8+
"source": [
9+
"# Copyright [2020] [Alessio Russo - alessior@kth.se] \n",
10+
"# This file is part of PythonVRFT.\n",
11+
"# PythonVRFT is free software: you can redistribute it and/or modify\n",
12+
"# it under the terms of the GNU General Public License as published by\n",
13+
"# the Free Software Foundation, version 3 of the License.\n",
14+
"# PythonVRFT is distributed in the hope that it will be useful,\n",
15+
"# but WITHOUT ANY WARRANTY; without even the implied warranty of\n",
16+
"# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n",
17+
"# GNU General Public License for more details.\n",
18+
"# You should have received a copy of the GNU General Public License\n",
19+
"# along with PythonVRFT. If not, see <http://www.gnu.org/licenses/>.\n",
20+
"#\n",
21+
"# Code author: [Alessio Russo - alessior@kth.se]\n",
22+
"# Last update: 06th January 2020, by alessior@kth.se\n",
23+
"#"
24+
]
25+
},
326
{
427
"cell_type": "markdown",
528
"metadata": {},
@@ -204,7 +227,7 @@
204227
"name": "python",
205228
"nbconvert_exporter": "python",
206229
"pygments_lexer": "ipython3",
207-
"version": "3.8.3"
230+
"version": "3.7.4"
208231
}
209232
},
210233
"nbformat": 4,

test/test_iddata.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Copyright [2017-2020] [Alessio Russo - alessior@kth.se]
2+
# This file is part of PythonVRFT.
3+
# PythonVRFT is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, version 3 of the License.
6+
# PythonVRFT is distributed in the hope that it will be useful,
7+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
8+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9+
# GNU General Public License for more details.
10+
# You should have received a copy of the GNU General Public License
11+
# along with PythonVRFT. If not, see <http://www.gnu.org/licenses/>.
12+
#
13+
# Code author: [Alessio Russo - alessior@kth.se]
14+
# Last update: 06th January 2020, by alessior@kth.se
15+
#
16+
117
from unittest import TestCase
218
from vrft.iddata import iddata
319
import numpy as np

test/test_reference.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Copyright [2017-2020] [Alessio Russo - alessior@kth.se]
2+
# This file is part of PythonVRFT.
3+
# PythonVRFT is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, version 3 of the License.
6+
# PythonVRFT is distributed in the hope that it will be useful,
7+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
8+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9+
# GNU General Public License for more details.
10+
# You should have received a copy of the GNU General Public License
11+
# along with PythonVRFT. If not, see <http://www.gnu.org/licenses/>.
12+
#
13+
# Code author: [Alessio Russo - alessior@kth.se]
14+
# Last update: 06th January 2020, by alessior@kth.se
15+
#
16+
117
from unittest import TestCase
218
from vrft.iddata import *
319
from vrft.utils import *

test/test_utils.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Copyright [2017-2020] [Alessio Russo - alessior@kth.se]
2+
# This file is part of PythonVRFT.
3+
# PythonVRFT is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, version 3 of the License.
6+
# PythonVRFT is distributed in the hope that it will be useful,
7+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
8+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9+
# GNU General Public License for more details.
10+
# You should have received a copy of the GNU General Public License
11+
# along with PythonVRFT. If not, see <http://www.gnu.org/licenses/>.
12+
#
13+
# Code author: [Alessio Russo - alessior@kth.se]
14+
# Last update: 06th January 2020, by alessior@kth.se
15+
#
16+
117
from unittest import TestCase
218
from vrft.utils import *
319
from vrft.extended_tf import ExtendedTF

test/test_vrft.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Copyright [2017-2020] [Alessio Russo - alessior@kth.se]
2+
# This file is part of PythonVRFT.
3+
# PythonVRFT is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, version 3 of the License.
6+
# PythonVRFT is distributed in the hope that it will be useful,
7+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
8+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9+
# GNU General Public License for more details.
10+
# You should have received a copy of the GNU General Public License
11+
# along with PythonVRFT. If not, see <http://www.gnu.org/licenses/>.
12+
#
13+
# Code author: [Alessio Russo - alessior@kth.se]
14+
# Last update: 06th January 2020, by alessior@kth.se
15+
#
16+
117
from unittest import TestCase
218
from vrft.iddata import *
319
from vrft.vrft_algo import *

vrft/__init__.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Copyright [2017-2020] [Alessio Russo - alessior@kth.se]
2+
# This file is part of PythonVRFT.
3+
# PythonVRFT is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, version 3 of the License.
6+
# PythonVRFT is distributed in the hope that it will be useful,
7+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
8+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9+
# GNU General Public License for more details.
10+
# You should have received a copy of the GNU General Public License
11+
# along with PythonVRFT. If not, see <http://www.gnu.org/licenses/>.
12+
#
13+
# Code author: [Alessio Russo - alessior@kth.se]
14+
# Last update: 06th January 2020, by alessior@kth.se
15+
#
16+
117
from .iddata import *
218
from .extended_tf import *
319
from .utils import *

vrft/extended_tf.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Copyright [2020] [Alessio Russo - alessior@kth.se]
2+
# This file is part of PythonVRFT.
3+
# PythonVRFT is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, version 3 of the License.
6+
# PythonVRFT is distributed in the hope that it will be useful,
7+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
8+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9+
# GNU General Public License for more details.
10+
# You should have received a copy of the GNU General Public License
11+
# along with PythonVRFT. If not, see <http://www.gnu.org/licenses/>.
12+
#
13+
# Code author: [Alessio Russo - alessior@kth.se]
14+
# Last update: 06th January 2020, by alessior@kth.se
15+
#
16+
117
from __future__ import division
218

319
import numpy as np

vrft/iddata.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Copyright [2017-2020] [Alessio Russo - alessior@kth.se]
2+
# This file is part of PythonVRFT.
3+
# PythonVRFT is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, version 3 of the License.
6+
# PythonVRFT is distributed in the hope that it will be useful,
7+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
8+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9+
# GNU General Public License for more details.
10+
# You should have received a copy of the GNU General Public License
11+
# along with PythonVRFT. If not, see <http://www.gnu.org/licenses/>.
12+
#
13+
# Code author: [Alessio Russo - alessior@kth.se]
14+
# Last update: 06th January 2020, by alessior@kth.se
15+
#
16+
117
import numpy as np
218

319
class iddata(object):

vrft/utils.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
1+
# Copyright [2017-2020] [Alessio Russo - alessior@kth.se]
2+
# This file is part of PythonVRFT.
3+
# PythonVRFT is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, version 3 of the License.
6+
# PythonVRFT is distributed in the hope that it will be useful,
7+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
8+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9+
# GNU General Public License for more details.
10+
# You should have received a copy of the GNU General Public License
11+
# along with PythonVRFT. If not, see <http://www.gnu.org/licenses/>.
12+
#
13+
# Code author: [Alessio Russo - alessior@kth.se]
14+
# Last update: 06th January 2020, by alessior@kth.se
15+
#
16+
117
import numpy as np
218
import scipy.signal as scipysig
3-
from .iddata import iddata
19+
from vrft.iddata import iddata
420

521
def Doperator(p: int, q: int, x: float) -> np.ndarray:
622
D = np.zeros((p * q, q))

0 commit comments

Comments
 (0)