|
14 | 14 | "tags": []
|
15 | 15 | },
|
16 | 16 | "source": [
|
17 |
| - "# EEG data preparation and classification of time period" |
| 17 | + "# EEG data preparation" |
18 | 18 | ]
|
19 | 19 | },
|
20 | 20 | {
|
21 | 21 | "cell_type": "code",
|
22 |
| - "execution_count": 24, |
| 22 | + "execution_count": 1, |
23 | 23 | "id": "16ff4e10",
|
24 | 24 | "metadata": {},
|
25 | 25 | "outputs": [],
|
|
33 | 33 | },
|
34 | 34 | {
|
35 | 35 | "cell_type": "code",
|
36 |
| - "execution_count": 25, |
| 36 | + "execution_count": 2, |
37 | 37 | "id": "80448d77",
|
38 | 38 | "metadata": {},
|
39 | 39 | "outputs": [],
|
|
46 | 46 | },
|
47 | 47 | {
|
48 | 48 | "cell_type": "code",
|
49 |
| - "execution_count": 26, |
| 49 | + "execution_count": 3, |
50 | 50 | "id": "843fd26d",
|
51 | 51 | "metadata": {
|
52 | 52 | "_cell_guid": "b1076dfc-b9ad-4769-8c92-a6c4dae69d19",
|
|
88 | 88 | },
|
89 | 89 | {
|
90 | 90 | "cell_type": "code",
|
91 |
| - "execution_count": 27, |
| 91 | + "execution_count": 6, |
92 | 92 | "id": "236ab10c",
|
93 | 93 | "metadata": {
|
94 | 94 | "execution": {
|
|
111 | 111 | "name": "stdout",
|
112 | 112 | "output_type": "stream",
|
113 | 113 | "text": [
|
114 |
| - "dbs20240507\\f6c7f0b3-76bb-f13a-be91-d9e74eabfeb1__2024-05-07_09-49-35_no_med.eeg\n", |
115 |
| - "dbs20240507\\f6c7f0b3-76bb-f13a-be91-d9e74eabfeb1__2024-05-07_09-49-35_no_med.vhdr\n", |
116 |
| - "dbs20240507\\f6c7f0b3-76bb-f13a-be91-d9e74eabfeb1__2024-05-07_09-49-35_no_med.vmrk\n", |
117 |
| - "dbs20240507\\f6c7f0b3-76bb-f13a-be91-d9e74eabfeb1__2024-05-07_10-53-29_with_med.eeg\n", |
118 |
| - "dbs20240507\\f6c7f0b3-76bb-f13a-be91-d9e74eabfeb1__2024-05-07_10-53-29_with_med.vhdr\n", |
119 |
| - "dbs20240507\\f6c7f0b3-76bb-f13a-be91-d9e74eabfeb1__2024-05-07_10-53-29_with_med.vmrk\n" |
| 114 | + "dbs_005\\f6c7f0b3-76bb-f13a-be91-d9e74eabfeb1__2024-05-07_09-49-35_med_off.eeg\n", |
| 115 | + "dbs_005\\f6c7f0b3-76bb-f13a-be91-d9e74eabfeb1__2024-05-07_09-49-35_med_off.vhdr\n", |
| 116 | + "dbs_005\\f6c7f0b3-76bb-f13a-be91-d9e74eabfeb1__2024-05-07_09-49-35_med_off.vmrk\n", |
| 117 | + "dbs_005\\f6c7f0b3-76bb-f13a-be91-d9e74eabfeb1__2024-05-07_10-53-29_med_on.eeg\n", |
| 118 | + "dbs_005\\f6c7f0b3-76bb-f13a-be91-d9e74eabfeb1__2024-05-07_10-53-29_med_on.vhdr\n", |
| 119 | + "dbs_005\\f6c7f0b3-76bb-f13a-be91-d9e74eabfeb1__2024-05-07_10-53-29_med_on.vmrk\n" |
120 | 120 | ]
|
121 | 121 | }
|
122 | 122 | ],
|
123 | 123 | "source": [
|
124 |
| - "for dirname, _, filenames in os.walk('dbs20240507'):\n", |
| 124 | + "for dirname, _, filenames in os.walk('dbs_005'):\n", |
125 | 125 | " for filename in filenames:\n",
|
126 | 126 | " print(os.path.join(dirname, filename))"
|
127 | 127 | ]
|
|
135 | 135 | "source": [
|
136 | 136 | "\n",
|
137 | 137 | "directory_of_this_script = os.path.dirname(os.path.abspath(os.getcwd()))\n",
|
138 |
| - "file_path_no_med = os.path.join(\"dbs20240507/f6c7f0b3-76bb-f13a-be91-d9e74eabfeb1__2024-05-07_09-49-35_no_med.vhdr\")\n", |
139 |
| - "file_path_with_med = os.path.join(\"dbs20240507/f6c7f0b3-76bb-f13a-be91-d9e74eabfeb1__2024-05-07_10-53-29_with_med.vhdr\")\n" |
| 138 | + "file_path_no_med = os.path.join(\"dbs_003/70d91607-328d-fb1f-6a00-818614779e77__2024-02-21_10-37-36_med_off.vhdr\")\n", |
| 139 | + "file_path_with_med = os.path.join(\"dbs_003/70d91607-328d-fb1f-6a00-818614779e77__2024-02-21_11-47-24_med_on.vhdr\")\n" |
140 | 140 | ]
|
141 | 141 | },
|
142 | 142 | {
|
|
159 | 159 | "source": [
|
160 | 160 | "'''\n",
|
161 | 161 | "directory_of_this_script = os.path.dirname(os.path.abspath(os.getcwd()))\n",
|
162 |
| - "file_path_no_med = os.path.join(\"dbs20240424/patient20240424_-_2024-04-24_08-51-47_med_off.vhdr\")\n", |
163 |
| - "file_path_with_med = os.path.join(\"dbs20240424/patient20240424_-_2024-04-24_09-34-39_med_on.vhdr\")\n", |
| 162 | + "file_path_no_med = os.path.join(\"dbs_004/b6556a9e-56b4-653e-2a23-be9d623ca505__2024-04-24_08-51-47_med_off.vhdr\")\n", |
| 163 | + "file_path_with_med = os.path.join(\"dbs_004/b6556a9e-56b4-653e-2a23-be9d623ca505__2024-04-24_09-34-39_med_on.vhdr\")\n", |
164 | 164 | "'''"
|
165 | 165 | ]
|
166 | 166 | },
|
|
184 | 184 | "source": [
|
185 | 185 | "'''\n",
|
186 | 186 | "directory_of_this_script = os.path.dirname(os.path.abspath(os.getcwd()))\n",
|
187 |
| - "file_path_no_med = os.path.join(\"dbs20240221/Butrimaviciene_-_2024-02-21_10-37-36_no_med.vhdr\")\n", |
188 |
| - "file_path_with_med = os.path.join(\"dbs20240221/Butrimaviciene_-_2024-02-21_11-47-24_with_med.vhdr\")\n", |
| 187 | + "file_path_no_med = os.path.join(\"dbs_005/f6c7f0b3-76bb-f13a-be91-d9e74eabfeb1__2024-05-07_09-49-35_med_off.vhdr\")\n", |
| 188 | + "file_path_with_med = os.path.join(\"dbs_005/f6c7f0b3-76bb-f13a-be91-d9e74eabfeb1__2024-05-07_10-53-29_med_on.vhdr\")\n", |
189 | 189 | "'''"
|
190 | 190 | ]
|
191 | 191 | },
|
|
0 commit comments