Commit vor neuer Fehlerberechnung

This commit is contained in:
Patrick Hangl
2026-02-16 08:57:31 +01:00
parent 4e002b4c7d
commit 4c9e718941
3 changed files with 36 additions and 18 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
/.venv /.venv
simulation_data/ simulation_data/
filter_output/ filter_output/
plots/

View File

@@ -80,14 +80,14 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": null,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"name": "stderr", "name": "stderr",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"C:\\Users\\phangl\\AppData\\Local\\Temp\\ipykernel_6640\\4133530845.py:51: DeprecationWarning: `trapz` is deprecated. Use `trapezoid` instead, or one of the numerical integration functions in `scipy.integrate`.\n", "C:\\Users\\phangl\\AppData\\Local\\Temp\\ipykernel_29536\\2712734380.py:51: DeprecationWarning: `trapz` is deprecated. Use `trapezoid` instead, or one of the numerical integration functions in `scipy.integrate`.\n",
" nise = round(np.trapz(comparison**2, t2)/np.trapz(corrupted_signal**2, t),3)\n" " nise = round(np.trapz(comparison**2, t2)/np.trapz(corrupted_signal**2, t),3)\n"
] ]
}, },
@@ -115,7 +115,7 @@
"source": [ "source": [
"#Plots für Simple Usecases\n", "#Plots für Simple Usecases\n",
"\n", "\n",
"SIMULATION = True\n", "SIMULATION = False\n",
"AUDIO = False\n", "AUDIO = False\n",
"PLOT = False\n", "PLOT = False\n",
"\n", "\n",
@@ -233,14 +233,14 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": null,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"name": "stderr", "name": "stderr",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"C:\\Users\\phangl\\AppData\\Local\\Temp\\ipykernel_6640\\1714216909.py:43: DeprecationWarning: `trapz` is deprecated. Use `trapezoid` instead, or one of the numerical integration functions in `scipy.integrate`.\n", "C:\\Users\\phangl\\AppData\\Local\\Temp\\ipykernel_29536\\1714216909.py:43: DeprecationWarning: `trapz` is deprecated. Use `trapezoid` instead, or one of the numerical integration functions in `scipy.integrate`.\n",
" nise = round(np.trapz(comparison**2, t2)/np.trapz(corrupted_signal**2, t),3)\n" " nise = round(np.trapz(comparison**2, t2)/np.trapz(corrupted_signal**2, t),3)\n"
] ]
}, },
@@ -268,7 +268,7 @@
"source": [ "source": [
"#Plots für intermediate Usecases\n", "#Plots für intermediate Usecases\n",
"\n", "\n",
"SIMULATION = True\n", "SIMULATION = False\n",
"AUDIO = False\n", "AUDIO = False\n",
"PLOT = False\n", "PLOT = False\n",
"\n", "\n",
@@ -378,14 +378,14 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": null,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"name": "stderr", "name": "stderr",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"C:\\Users\\phangl\\AppData\\Local\\Temp\\ipykernel_6640\\48121329.py:50: DeprecationWarning: `trapz` is deprecated. Use `trapezoid` instead, or one of the numerical integration functions in `scipy.integrate`.\n", "C:\\Users\\phangl\\AppData\\Local\\Temp\\ipykernel_29536\\48121329.py:50: DeprecationWarning: `trapz` is deprecated. Use `trapezoid` instead, or one of the numerical integration functions in `scipy.integrate`.\n",
" nise = round(np.trapz(comparison**2, t2)/np.trapz(corrupted_signal**2, t),3)\n" " nise = round(np.trapz(comparison**2, t2)/np.trapz(corrupted_signal**2, t),3)\n"
] ]
}, },
@@ -433,7 +433,7 @@
"source": [ "source": [
"#Plots für komplexen Usecases\n", "#Plots für komplexen Usecases\n",
"\n", "\n",
"SIMULATION = True\n", "SIMULATION = False\n",
"AUDIO = False\n", "AUDIO = False\n",
"PLOT = False\n", "PLOT = False\n",
"\n", "\n",

File diff suppressed because one or more lines are too long