fix(notebooks): fix out of index stft plotting iteration

This commit is contained in:
nuluh
2025-04-22 10:55:34 +07:00
parent 4ebfb52635
commit c8509aa728

View File

@@ -324,7 +324,6 @@
"ready_data1 = []\n", "ready_data1 = []\n",
"for file in os.listdir('D:/thesis/data/converted/raw/sensor1'):\n", "for file in os.listdir('D:/thesis/data/converted/raw/sensor1'):\n",
" ready_data1.append(pd.read_csv(os.path.join('D:/thesis/data/converted/raw/sensor1', file)))\n", " ready_data1.append(pd.read_csv(os.path.join('D:/thesis/data/converted/raw/sensor1', file)))\n",
"# ready_data1[1]\n",
"# colormesh give title x is frequency and y is time and rotate/transpose the data\n", "# colormesh give title x is frequency and y is time and rotate/transpose the data\n",
"# Plotting the STFT Data" "# Plotting the STFT Data"
] ]
@@ -335,8 +334,8 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"# ready_data1[1]\n", "ready_data1[0]\n",
"plt.pcolormesh(ready_data1[2])" "plt.pcolormesh(ready_data1[0])"
] ]
}, },
{ {