From bd5936551591b688a4bf2b96f299914d018eb061 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver <thomas.kluyver@xfel.eu> Date: Sun, 19 Feb 2023 08:26:06 +0100 Subject: [PATCH] avoid copying --- notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb b/notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb index 469c80127..dc6d2c9cf 100644 --- a/notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb +++ b/notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb @@ -326,7 +326,7 @@ " mask[index, ...],\n", " g,\n", " const_data[mod][\"Offset\"],\n", - " const_data[mod][\"RelativeGain\"].astype(np.float32),\n", + " const_data[mod][\"RelativeGain\"].astype(np.float32, copy=False),\n", " const_data[mod][\"Mask\"],\n", " apply_offset=offset_correction,\n", " apply_gain=gain_correction,\n", -- GitLab