From 6e429279beed29072a5c3612f1b166b33abc2929 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Le=20Guyader?= <loic.le.guyader@xfel.eu>
Date: Fri, 11 Feb 2022 15:50:23 +0100
Subject: [PATCH] Update instruction for new scripts

---
 doc/Dask DSSC module binning.ipynb |  6 ------
 doc/howtos.rst                     | 15 ++++++++-------
 2 files changed, 8 insertions(+), 13 deletions(-)

diff --git a/doc/Dask DSSC module binning.ipynb b/doc/Dask DSSC module binning.ipynb
index 7b3b094..c7f20a0 100644
--- a/doc/Dask DSSC module binning.ipynb	
+++ b/doc/Dask DSSC module binning.ipynb	
@@ -126,12 +126,6 @@
    "metadata": {},
    "outputs": [],
    "source": [
-    "proposalNB = int(proposalNB)\n",
-    "dark_runNB = int(dark_runNB)\n",
-    "runNB = int(runNB)\n",
-    "module_group = int(module_group)\n",
-    "bin_width = float(bin_width)\n",
-    "\n",
     "moduleNB = list(range(module_group*4, (module_group+1)*4))"
    ]
   },
diff --git a/doc/howtos.rst b/doc/howtos.rst
index 961f7c7..5ce280a 100644
--- a/doc/howtos.rst
+++ b/doc/howtos.rst
@@ -52,13 +52,14 @@ It is launched with the following:
 
 .. code:: bash
     
-    sbatch ./bin_dssc_module_job.sh 180 179 0
-    sbatch ./bin_dssc_module_job.sh 180 179 1
-    sbatch ./bin_dssc_module_job.sh 180 179 2
-    sbatch ./bin_dssc_module_job.sh 180 179 3
-
-where 180 is the dark run number, 179 is the run nummber and 0, 1, 2 and 3 are
-the 4 module group, each job processing a set of 4 DSSC module.
+    sbatch ./bin_dssc_module_job.sh -p 2719 -d 180 -r 179 -m 0 -x delay -b 0.1
+    sbatch ./bin_dssc_module_job.sh -p 2719 -d 180 -r 179 -m 1 -x delay -b 0.1
+    sbatch ./bin_dssc_module_job.sh -p 2719 -d 180 -r 179 -m 2 -x delay -b 0.1
+    sbatch ./bin_dssc_module_job.sh -p 2719 -d 180 -r 179 -m 3 -x delay -b 0.1
+
+where 2719 is the proposal number, 180 is the dark run number, 179 is the run
+nummber and 0, 1, 2 and 3 are the 4 module group, each job processing a set of
+4 DSSC module, delay is the bin axis and 0.1 is the bin width.
 
 The result will be 16 \*.h5 files, one per module, saved in the folder specified
 in the script, a copy of which can be found in the *scripts* folder in the
-- 
GitLab