From d1d72600f262f017c41bb19d00e5bc8669b9d40d Mon Sep 17 00:00:00 2001 From: Andrey Samartsev <andrey.samatrtsev@xfel.eu> Date: Tue, 20 Jul 2021 13:01:02 +0200 Subject: [PATCH] fixed correction notebook, added path to slow data in input --- notebooks/DSSC/DSSC_Correct_and_Verify.ipynb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/notebooks/DSSC/DSSC_Correct_and_Verify.ipynb b/notebooks/DSSC/DSSC_Correct_and_Verify.ipynb index 4d5bc0eb5..cb01d46d1 100644 --- a/notebooks/DSSC/DSSC_Correct_and_Verify.ipynb +++ b/notebooks/DSSC/DSSC_Correct_and_Verify.ipynb @@ -23,13 +23,13 @@ "outputs": [], "source": [ "cluster_profile = \"noDB\" # The ipcluster profile to use\n", - "in_folder = \"/gpfs/exfel/exp/SCS/202031/p900170/raw\" # path to input data, required\n", - "out_folder = \"/gpfs/exfel/data/scratch/samartse/test/DSSC\" # path to output to, required\n", + "in_folder = \"/gpfs/exfel/exp/SQS/202131/p900210/raw\" # path to input data, required\n", + "out_folder = \"/gpfs/exfel/data/scratch/samartse/data/DSSC\" # path to output to, required\n", "sequences = [-1] # sequence files to evaluate.\n", "modules = [-1] # modules to correct, set to -1 for all, range allowed\n", - "run = 229 #runs to process, required\n", + "run = 20 #runs to process, required\n", "\n", - "karabo_id = \"SCS_DET_DSSC1M-1\" # karabo karabo_id\n", + "karabo_id = \"SQS_DET_DSSC1M-1\" # karabo karabo_id\n", "karabo_da = ['-1'] # a list of data aggregators names, Default [-1] for selecting all data aggregators\n", "receiver_id = \"{}CH0\" # inset for receiver devices\n", "path_template = 'RAW-R{:04d}-{}-S{:05d}.h5' # the template to use to access data\n", @@ -53,6 +53,7 @@ "geo_file = \"/gpfs/exfel/data/scratch/xcal/dssc_geo_june19.h5\" # detector geometry file\n", "dinstance = \"DSSC1M1\"\n", "slow_data_aggregators = [1,2,3,4] #quadrant/aggregator\n", + "slow_data_path = 'SQS_NQS_DSSC/FPGA/PPT_Q'\n", "\n", "def balance_sequences(in_folder, run, sequences, sequences_per_node, karabo_da):\n", " from xfel_calibrate.calibrate import balance_sequences as bs\n", @@ -420,7 +421,7 @@ "\n", "tGain, encodedGain, operatingFreq = get_dssc_ctrl_data(in_folder\\\n", " + \"/r{:04d}/\".format(run),\\\n", - " slow_data_pattern,slow_data_aggregators, run)\n", + " slow_data_pattern,slow_data_aggregators, run, slow_data_path)\n", "\n", "whens = []\n", "qms = []\n", @@ -959,7 +960,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.7" + "version": "3.8.8" } }, "nbformat": 4, -- GitLab