diff --git a/notebooks/AGIPD/PlotFromCalDB_AGIPD_NBC.ipynb b/notebooks/AGIPD/PlotFromCalDB_AGIPD_NBC.ipynb index 270516a39edb4e0ede9aad7080d4e5abb731573e..19979412413f46cd920d18ed024cf03f581b297c 100644 --- a/notebooks/AGIPD/PlotFromCalDB_AGIPD_NBC.ipynb +++ b/notebooks/AGIPD/PlotFromCalDB_AGIPD_NBC.ipynb @@ -38,7 +38,7 @@ "out_folder = \"/gpfs/exfel/data/scratch/karnem/testAGIPD16_10/\" # Output folder, required\n", "use_existing = \"/gpfs/exfel/data/scratch/karnem/testAGIPD16_10/\" # Input folder\n", "cal_db_timeout = 180000 # timeout on caldb requests\",\n", - "adu_to_photon = 8000 / 3.6 / 67.# ADU to photon conversion factor\n", + "adu_to_photon = 33.17 # ADU to photon conversion factor (8000 / 3.6 / 67.)\n", "nMemToShow = 32 # Number of memory cells to be shown in plots over ASICs\n", "db_module = \"AGIPD1M1\" # detector entry in the DB to investigate\n", "dclass = \"AGIPD\" # Detector class\n", diff --git a/notebooks/LPD/PlotFromCalDB_LPD_NBC.ipynb b/notebooks/LPD/PlotFromCalDB_LPD_NBC.ipynb index 091b9826d5b6ce6b9913e1e886741c5bb5e75a66..8046e5f1ae7f4aabe842bd2425d2fe16f35150ea 100644 --- a/notebooks/LPD/PlotFromCalDB_LPD_NBC.ipynb +++ b/notebooks/LPD/PlotFromCalDB_LPD_NBC.ipynb @@ -38,12 +38,12 @@ "out_folder = \"/gpfs/exfel/data/scratch/karnem/testLPD_11/\" # Output folder, required\n", "use_existing = \"/gpfs/exfel/data/scratch/karnem/testLPD_10/\" # Input folder\n", "cal_db_timeout = 180000 # timeout on caldb requests\",\n", - "adu_to_photon = 8000 / 3.6 / 67.# ADU to photon conversion factor\n", + "adu_to_photon = 33.17 # ADU to photon conversion factor (8000 / 3.6 / 67.)\n", "nMemToShow = 32 # Number of memory cells to be shown in plots over ASICs\n", "db_module = \"LPD1M1\" # detector entry in the DB to investigate\n", "dclass = \"LPD\" # Detector class\n", "cal_db_interface = \"tcp://max-exfl016:8015#8025\" # the database interface to use\n", - "range_offset = [[800., 1500, 600, 900]] # plotting range for offset: high gain l, r, medium gain l, r \n", + "range_offset = [800., 1500, 600, 900] # plotting range for offset: high gain l, r, medium gain l, r \n", "range_noise = [2.0, 16, 1.0, 7.0] # plotting range for noise: high gain l, r, medium gain l, r \n", "range_gain = [20, 30, 20, 30] # plotting range for gain: high gain l, r, medium gain l, r \n", "range_noise_e = [100., 600., 100., 600.] # plotting range for noise in [e-]: high gain l, r, medium gain l, r \n",