fix(notebooks): update import statement for hann function and add window variable display

This commit is contained in:
nuluh
2025-08-20 08:03:22 +07:00
parent e2a4c80d49
commit f45614b6d9

View File

@@ -220,7 +220,7 @@
"import os\n", "import os\n",
"import pandas as pd\n", "import pandas as pd\n",
"import numpy as np\n", "import numpy as np\n",
"from scipy.signal import hann\n", "from scipy.signal.windows import hann\n",
"import multiprocessing" "import multiprocessing"
] ]
}, },
@@ -244,16 +244,6 @@
"Fs = 1024" "Fs = 1024"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Define the base directory where DAMAGE_X folders are located\n",
"damage_base_path = 'D:/thesis/data/converted/raw'"
]
},
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
@@ -282,6 +272,13 @@
"damage_base_path = 'D:/thesis/data/converted/raw'" "damage_base_path = 'D:/thesis/data/converted/raw'"
] ]
}, },
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The path above is specifically intended to process STFT data using Dataset A"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,