File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 77113
77113
"\n",
77114
77114
" # Define a window around the R-peak to capture the full PQRST complex\n",
77115
77115
" window_size = int(0.5 * 250) # Half a second before and after the R-peak \n",
77116
- " start_idx = max(0, highest_r_peak_idx - window_size) \n",
77117
- " end_idx = min(len(ecg_signal), highest_r_peak_idx + window_size) \n",
77116
+ " # start_idx = max(0, highest_r_peak_idx - window_size) \n",
77117
+ " # end_idx = min(len(ecg_signal), highest_r_peak_idx + window_size) \n",
77118
77118
"\n",
77119
77119
" # Extract the time and ECG data for the window\n",
77120
77120
" window_time = time[start_idx:end_idx]\n",
@@ -115915,7 +115915,7 @@
115915
115915
],
115916
115916
"metadata": {
115917
115917
"kernelspec": {
115918
- "display_name": "venv ",
115918
+ "display_name": "Python 3 (ipykernel) ",
115919
115919
"language": "python",
115920
115920
"name": "python3"
115921
115921
},
@@ -115929,7 +115929,7 @@
115929
115929
"name": "python",
115930
115930
"nbconvert_exporter": "python",
115931
115931
"pygments_lexer": "ipython3",
115932
- "version": "3.10.10 "
115932
+ "version": "3.11.7 "
115933
115933
}
115934
115934
},
115935
115935
"nbformat": 4,
You can’t perform that action at this time.
0 commit comments