From d05479b250578d850be34acb3376cd002d3e510e Mon Sep 17 00:00:00 2001 From: Thomas Kluyver <thomas.kluyver@xfel.eu> Date: Mon, 25 Nov 2024 13:49:22 +0100 Subject: [PATCH] Use True in assignment to mask for clarity --- notebooks/LPD/LPD_Correct_Fast.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/LPD/LPD_Correct_Fast.ipynb b/notebooks/LPD/LPD_Correct_Fast.ipynb index 6ac783665..7457d3b09 100644 --- a/notebooks/LPD/LPD_Correct_Fast.ipynb +++ b/notebooks/LPD/LPD_Correct_Fast.ipynb @@ -508,7 +508,7 @@ " for gg in range(3):\n", " tmp_cell[cursor_out : cursor_out+afc] = in_cell[cursor_in : cursor_in+afc]\n", " tmp_pulse[cursor_out : cursor_out+afc] = in_pulse[cursor_in : cursor_in+afc]\n", - " sel[cursor_out : cursor_out+afc] = 1\n", + " sel[cursor_out : cursor_out+afc] = True\n", " cursor_out += afc + drop_last_frames_parallelgain\n", "\n", " cursor_in += 3 * (afc + drop_last_frames_parallelgain)\n", -- GitLab