Filterkoeffizienten ausgeben, Simple Plots erweitert

This commit is contained in:
Patrick Hangl
2026-03-19 16:28:30 +01:00
parent 12419af5ed
commit ef01b9e4a0
2 changed files with 76 additions and 135 deletions

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 2,
"id": "59938c83",
"metadata": {},
"outputs": [
@@ -33,13 +33,13 @@
"\n",
"PLOT = False\n",
"\n",
"dsp_desired_signal_r11 = np.genfromtxt(\"./simulation_data/dsp_desired_signal_r11.txt\", dtype=int)/(2**(15)-1)\n",
"dsp_noise_signal_r11 = np.genfromtxt(\"./simulation_data/dsp_noise_signal_r11.txt\", dtype=int)/(2**(15)-1)\n",
"dsp_noise_signal_vpu = np.genfromtxt(\"./simulation_data/dsp_noise_signal_vpu.txt\", dtype=int)/(2**(15)-1)\n",
"dsp_corrupted_signal = np.genfromtxt(\"./simulation_data/dsp_corrupted_signal.txt\", dtype=int)/(2**(15)-1)\n",
"dsp_desired_signal_r11 = np.genfromtxt(\"./simulation_data/complex_dsp_desired_signal_r11.txt\", dtype=int)/(2**(15)-1)\n",
"dsp_noise_signal_r11 = np.genfromtxt(\"./simulation_data/complex_dsp_noise_signal_r11.txt\", dtype=int)/(2**(15)-1)\n",
"dsp_noise_signal_vpu = np.genfromtxt(\"./simulation_data/complex_dsp_noise_signal_vpu.txt\", dtype=int)/(2**(15)-1)\n",
"dsp_corrupted_signal = np.genfromtxt(\"./simulation_data/complex_dsp_corrupted_signal.txt\", dtype=int)/(2**(15)-1)\n",
"t = np.linspace(0, len(dsp_corrupted_signal), len(dsp_corrupted_signal))/20000\n",
"\n",
"output = np.genfromtxt(\"./filter_output/dsp_output.txt\", dtype=int)[:-1]/(2**(15)-1) # letzte Zeile löschen\n",
"output = np.genfromtxt(\"./filter_output/complex_dsp_output.txt\", dtype=int)[:-1]/(2**(15)-1) # letzte Zeile löschen\n",
"\n",
"error_signal = (output - dsp_desired_signal_r11)\n",
"t2 = np.linspace(0, len(error_signal), len(error_signal))/20000\n",