Skip to content

Commit b75a181

Browse files
committed
fix copyright typo 'under under', add licenses to matlab files, linter
1 parent b4b484d commit b75a181

26 files changed

+177
-113
lines changed

allclose.m

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1-
function flag = allclose(a, b)
1+
% Sascha Spors, Professorship Signal Theory and Digital Signal Processing,
2+
% Institute of Communications Engineering (INT), Faculty of Computer Science
3+
% and Electrical Engineering (IEF), University of Rostock, Germany
4+
%
5+
% Data Driven Audio Signal Processing - A Tutorial with Computational Examples
6+
% Feel free to contact lecturer [email protected]
7+
28
% https://numpy.org/doc/stable/reference/generated/numpy.allclose.html
39
% numpy.allclose(a, b, rtol=1e-05, atol=1e-08, equal_nan=False)
10+
% code snippet taken from:
411
% https://stackoverflow.com/questions/28975822/matlab-equivalent-for-numpy-allclose
12+
function flag = allclose(a, b)
513
rtol=1e-05;
614
atol=1e-08;
715
flag = all( abs(a(:)-b(:)) <= atol+rtol*abs(b(:)) );

audio_introduction.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@
154154
"## Copyright\n",
155155
"\n",
156156
"- the notebooks are provided as [Open Educational Resources](https://en.wikipedia.org/wiki/Open_educational_resources)\n",
157-
"- feel free to use the notebooks for your own purposes\n",
158157
"- the text is licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/)\n",
159-
"- the code of the IPython examples is licensed under under the [MIT license](https://opensource.org/licenses/MIT)\n",
158+
"- the code of the IPython examples is licensed under the [MIT license](https://opensource.org/licenses/MIT)\n",
159+
"- feel free to use the notebooks for your own purposes\n",
160160
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year.\n"
161161
]
162162
}

bias_variance_linear_regression.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,9 @@
309309
"## Copyright\n",
310310
"\n",
311311
"- the notebooks are provided as [Open Educational Resources](https://en.wikipedia.org/wiki/Open_educational_resources)\n",
312-
"- feel free to use the notebooks for your own purposes\n",
313312
"- the text is licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/)\n",
314-
"- the code of the IPython examples is licensed under under the [MIT license](https://opensource.org/licenses/MIT)\n",
313+
"- the code of the IPython examples is licensed under the [MIT license](https://opensource.org/licenses/MIT)\n",
314+
"- feel free to use the notebooks for your own purposes\n",
315315
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year."
316316
]
317317
}

bias_variance_ridge_regression.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -458,9 +458,9 @@
458458
"## Copyright\n",
459459
"\n",
460460
"- the notebooks are provided as [Open Educational Resources](https://en.wikipedia.org/wiki/Open_educational_resources)\n",
461-
"- feel free to use the notebooks for your own purposes\n",
462461
"- the text is licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/)\n",
463-
"- the code of the IPython examples is licensed under under the [MIT license](https://opensource.org/licenses/MIT)\n",
462+
"- the code of the IPython examples is licensed under the [MIT license](https://opensource.org/licenses/MIT)\n",
463+
"- feel free to use the notebooks for your own purposes\n",
464464
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year."
465465
]
466466
}

exercise01.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,10 @@
196196
"## Copyright\n",
197197
"\n",
198198
"- the notebooks are provided as [Open Educational Resources](https://en.wikipedia.org/wiki/Open_educational_resources)\n",
199-
"- feel free to use the notebooks for your own purposes\n",
200199
"- the text is licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/)\n",
201-
"- the code of the IPython examples is licensed under under the [MIT license](https://opensource.org/licenses/MIT)\n",
202-
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year.\n"
200+
"- the code of the IPython examples is licensed under the [MIT license](https://opensource.org/licenses/MIT)\n",
201+
"- feel free to use the notebooks for your own purposes\n",
202+
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year."
203203
]
204204
}
205205
],

exercise02.ipynb

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"\n",
1414
"# Data Driven Audio Signal Processing - A Tutorial with Computational Examples\n",
1515
"\n",
16-
"Winter Semester 2021/22 (Master Course #24512)\n",
16+
"Winter Semester 2022/23 (Master Course #24512)\n",
1717
"\n",
1818
"- lecture: https://github.com/spatialaudio/data-driven-audio-signal-processing-lecture\n",
1919
"- tutorial: https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise\n",
@@ -349,10 +349,10 @@
349349
"## Copyright\n",
350350
"\n",
351351
"- the notebooks are provided as [Open Educational Resources](https://en.wikipedia.org/wiki/Open_educational_resources)\n",
352-
"- feel free to use the notebooks for your own purposes\n",
353352
"- the text is licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/)\n",
354-
"- the code of the IPython examples is licensed under under the [MIT license](https://opensource.org/licenses/MIT)\n",
355-
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year.\n"
353+
"- the code of the IPython examples is licensed under the [MIT license](https://opensource.org/licenses/MIT)\n",
354+
"- feel free to use the notebooks for your own purposes\n",
355+
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year."
356356
]
357357
}
358358
],
@@ -375,7 +375,7 @@
375375
"name": "python",
376376
"nbconvert_exporter": "python",
377377
"pygments_lexer": "ipython3",
378-
"version": "3.9.7"
378+
"version": "3.10.6"
379379
}
380380
},
381381
"nbformat": 4,

exercise03.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"\n",
1515
"# Data Driven Audio Signal Processing - A Tutorial with Computational Examples\n",
1616
"\n",
17-
"Winter Semester 2021/22 (Master Course #24512)\n",
17+
"Winter Semester 2022/23 (Master Course #24512)\n",
1818
"\n",
1919
"- lecture: https://github.com/spatialaudio/data-driven-audio-signal-processing-lecture\n",
2020
"- tutorial: https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise\n",
@@ -395,9 +395,9 @@
395395
"## Copyright\n",
396396
"\n",
397397
"- the notebooks are provided as [Open Educational Resources](https://en.wikipedia.org/wiki/Open_educational_resources)\n",
398-
"- feel free to use the notebooks for your own purposes\n",
399398
"- the text is licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/)\n",
400-
"- the code of the IPython examples is licensed under under the [MIT license](https://opensource.org/licenses/MIT)\n",
399+
"- the code of the IPython examples is licensed under the [MIT license](https://opensource.org/licenses/MIT)\n",
400+
"- feel free to use the notebooks for your own purposes\n",
401401
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year."
402402
]
403403
}
@@ -418,7 +418,7 @@
418418
"name": "python",
419419
"nbconvert_exporter": "python",
420420
"pygments_lexer": "ipython3",
421-
"version": "3.9.7"
421+
"version": "3.10.6"
422422
}
423423
},
424424
"nbformat": 4,

exercise04_leftinv.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -394,10 +394,10 @@
394394
"## Copyright\n",
395395
"\n",
396396
"- the notebooks are provided as [Open Educational Resources](https://en.wikipedia.org/wiki/Open_educational_resources)\n",
397-
"- feel free to use the notebooks for your own purposes\n",
398397
"- the text is licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/)\n",
399-
"- the code of the IPython examples is licensed under under the [MIT license](https://opensource.org/licenses/MIT)\n",
400-
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year.\n"
398+
"- the code of the IPython examples is licensed under the [MIT license](https://opensource.org/licenses/MIT)\n",
399+
"- feel free to use the notebooks for your own purposes\n",
400+
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year."
401401
]
402402
}
403403
],

exercise04_rightinv.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,10 @@
240240
"## Copyright\n",
241241
"\n",
242242
"- the notebooks are provided as [Open Educational Resources](https://en.wikipedia.org/wiki/Open_educational_resources)\n",
243-
"- feel free to use the notebooks for your own purposes\n",
244243
"- the text is licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/)\n",
245-
"- the code of the IPython examples is licensed under under the [MIT license](https://opensource.org/licenses/MIT)\n",
246-
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year.\n"
244+
"- the code of the IPython examples is licensed under the [MIT license](https://opensource.org/licenses/MIT)\n",
245+
"- feel free to use the notebooks for your own purposes\n",
246+
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year."
247247
]
248248
}
249249
],

exercise04_svd.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -421,10 +421,10 @@
421421
"## Copyright\n",
422422
"\n",
423423
"- the notebooks are provided as [Open Educational Resources](https://en.wikipedia.org/wiki/Open_educational_resources)\n",
424-
"- feel free to use the notebooks for your own purposes\n",
425424
"- the text is licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/)\n",
426-
"- the code of the IPython examples is licensed under under the [MIT license](https://opensource.org/licenses/MIT)\n",
427-
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year.\n"
425+
"- the code of the IPython examples is licensed under the [MIT license](https://opensource.org/licenses/MIT)\n",
426+
"- feel free to use the notebooks for your own purposes\n",
427+
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year."
428428
]
429429
}
430430
],

exercise05.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -537,9 +537,9 @@
537537
"## Copyright\n",
538538
"\n",
539539
"- the notebooks are provided as [Open Educational Resources](https://en.wikipedia.org/wiki/Open_educational_resources)\n",
540-
"- feel free to use the notebooks for your own purposes\n",
541540
"- the text is licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/)\n",
542-
"- the code of the IPython examples is licensed under under the [MIT license](https://opensource.org/licenses/MIT)\n",
541+
"- the code of the IPython examples is licensed under the [MIT license](https://opensource.org/licenses/MIT)\n",
542+
"- feel free to use the notebooks for your own purposes\n",
543543
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year."
544544
]
545545
}

exercise07_QR.ipynb

+9-5
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
"\n",
1414
"# Tutorial Selected Topics in Audio Signal Processing\n",
1515
"\n",
16-
"Winter Semester 2021/22 (Master Course)\n",
16+
"Winter Semester 2022/23 (Master Course)\n",
1717
"\n",
1818
"- lecture: https://github.com/spatialaudio/selected-topics-in-audio-signal-processing-lecture\n",
1919
"- tutorial: https://github.com/spatialaudio/selected-topics-in-audio-signal-processing-exercises\n",
2020
"\n",
2121
"WIP...\n",
22-
"The project is currently under heavy development while adding new material for the winter term 2021/22\n",
22+
"The project is currently under heavy development while adding new material for the winter term 2022/23\n",
2323
"\n",
2424
"Feel free to contact lecturer [email protected]"
2525
]
@@ -191,9 +191,13 @@
191191
"cell_type": "markdown",
192192
"metadata": {},
193193
"source": [
194-
"## **Copyright**\n",
194+
"## Copyright\n",
195195
"\n",
196-
"The notebooks are provided as [Open Educational Resources](https://en.wikipedia.org/wiki/Open_educational_resources). Feel free to use the notebooks for your own purposes. The text is licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/), the code of the IPython examples under the [MIT license](https://opensource.org/licenses/MIT). Please attribute the work as follows: *Frank Schultz, Audio Signal Processing - A Tutorial Featuring Computational Examples* with the URL https://github.com/spatialaudio/selected-topics-in-audio-signal-processing-exercises"
196+
"- the notebooks are provided as [Open Educational Resources](https://en.wikipedia.org/wiki/Open_educational_resources)\n",
197+
"- the text is licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/)\n",
198+
"- the code of the IPython examples is licensed under the [MIT license](https://opensource.org/licenses/MIT)\n",
199+
"- feel free to use the notebooks for your own purposes\n",
200+
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year."
197201
]
198202
}
199203
],
@@ -216,7 +220,7 @@
216220
"name": "python",
217221
"nbconvert_exporter": "python",
218222
"pygments_lexer": "ipython3",
219-
"version": "3.9.7"
223+
"version": "3.10.6"
220224
}
221225
},
222226
"nbformat": 4,

exercise07_left_inverse_SVD_QR.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"\n",
1515
"# Data Driven Audio Signal Processing - A Tutorial with Computational Examples\n",
1616
"\n",
17-
"Winter Semester 2021/22 (Master Course #24512)\n",
17+
"Winter Semester 2022/23 (Master Course #24512)\n",
1818
"\n",
1919
"- lecture: https://github.com/spatialaudio/data-driven-audio-signal-processing-lecture\n",
2020
"- tutorial: https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise\n",
@@ -419,9 +419,9 @@
419419
"## Copyright\n",
420420
"\n",
421421
"- the notebooks are provided as [Open Educational Resources](https://en.wikipedia.org/wiki/Open_educational_resources)\n",
422-
"- feel free to use the notebooks for your own purposes\n",
423422
"- the text is licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/)\n",
424-
"- the code of the IPython examples is licensed under under the [MIT license](https://opensource.org/licenses/MIT)\n",
423+
"- the code of the IPython examples is licensed under the [MIT license](https://opensource.org/licenses/MIT)\n",
424+
"- feel free to use the notebooks for your own purposes\n",
425425
"- please attribute the work as follows: *Frank Schultz, Data Driven Audio Signal Processing - A Tutorial Featuring Computational Examples, University of Rostock* ideally with relevant file(s), github URL https://github.com/spatialaudio/data-driven-audio-signal-processing-exercise, commit number and/or version tag, year."
426426
]
427427
}
@@ -445,7 +445,7 @@
445445
"name": "python",
446446
"nbconvert_exporter": "python",
447447
"pygments_lexer": "ipython3",
448-
"version": "3.9.7"
448+
"version": "3.10.6"
449449
}
450450
},
451451
"nbformat": 4,

0 commit comments

Comments
 (0)