From afff5ad34a37a723e2858709d2c34deda7e96573 Mon Sep 17 00:00:00 2001
From: Karim Ahmed <karim.ahmed@xfel.eu>
Date: Wed, 16 Feb 2022 15:05:59 +0100
Subject: [PATCH] Process darks from 500 trains only

---
 notebooks/pnCCD/Characterize_pnCCD_Dark_NBC.ipynb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/notebooks/pnCCD/Characterize_pnCCD_Dark_NBC.ipynb b/notebooks/pnCCD/Characterize_pnCCD_Dark_NBC.ipynb
index 13e9c89e6..f3e8d5cf8 100644
--- a/notebooks/pnCCD/Characterize_pnCCD_Dark_NBC.ipynb
+++ b/notebooks/pnCCD/Characterize_pnCCD_Dark_NBC.ipynb
@@ -58,7 +58,7 @@
     "sigmaNoise = 10.  # pixels whose signal value exceeds sigmaNoise*noise will be considered as cosmics and are masked\n",
     "bad_pixel_offset_sigma = 4.  # any pixel whose offset beyond this standard deviations is a bad pixel\n",
     "bad_pixel_noise_sigma = 4.  # any pixel whose noise beyond this standard deviations is a bad pixel\n",
-    "max_trains = 0  # Maximum number of trains to use for dark processing. Set to 0 to process all trains.\n",
+    "max_trains = 500  # Maximum number of trains to use for dark processing. Set to 0 to process all trains.\n",
     "min_trains = 1  # Minimum number of trains to proceed with dark processing.\n",
     "\n",
     "# Don't delete. myMDC sends this parameter by default.\n",
-- 
GitLab