Filterkoeffizienten ausgeben, Simple Plots erweitert
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@
|
|||||||
"cells": [
|
"cells": [
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 3,
|
"execution_count": 2,
|
||||||
"id": "59938c83",
|
"id": "59938c83",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [
|
"outputs": [
|
||||||
@@ -33,13 +33,13 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"PLOT = False\n",
|
"PLOT = False\n",
|
||||||
"\n",
|
"\n",
|
||||||
"dsp_desired_signal_r11 = np.genfromtxt(\"./simulation_data/dsp_desired_signal_r11.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/dsp_noise_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/dsp_noise_signal_vpu.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/dsp_corrupted_signal.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",
|
"t = np.linspace(0, len(dsp_corrupted_signal), len(dsp_corrupted_signal))/20000\n",
|
||||||
"\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",
|
"\n",
|
||||||
"error_signal = (output - dsp_desired_signal_r11)\n",
|
"error_signal = (output - dsp_desired_signal_r11)\n",
|
||||||
"t2 = np.linspace(0, len(error_signal), len(error_signal))/20000\n",
|
"t2 = np.linspace(0, len(error_signal), len(error_signal))/20000\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user