From d2f6d89d93e920be7166f8a18711f8b5d364acc6 Mon Sep 17 00:00:00 2001 From: Jerome Kieffer Date: Thu, 11 Apr 2024 17:37:24 +0200 Subject: [PATCH] Declare the Jungfrau 1M detector of ID09 --- src/pyFAI/detectors/_psi.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/pyFAI/detectors/_psi.py b/src/pyFAI/detectors/_psi.py index bd795247f..f02ba73f3 100644 --- a/src/pyFAI/detectors/_psi.py +++ b/src/pyFAI/detectors/_psi.py @@ -34,7 +34,7 @@ __contact__ = "Jerome.Kieffer@ESRF.eu" __license__ = "MIT" __copyright__ = "2021 European Synchrotron Radiation Facility, Grenoble, France" -__date__ = "07/12/2023" +__date__ = "11/04/2024" __status__ = "production" import numpy @@ -218,6 +218,21 @@ def __init__(self, pixel1=75e-6, pixel2=75e-6, max_shape=None, module_size=None, self.module_size = module_size self.offset1 = self.offset2 = None + +class Jungfrau1M(Jungfrau4M): + """ + Jungfrau 1M module without sub-module pixel expension applied. + """ + MANUFACTURER = "PSI" + MODULE_SIZE = (514, 1030) # number of pixels per module (y, x) + MAX_SHAPE = (1064, 1030) # max size of the detector + MODULE_GAP = (36, 8) + PIXEL_SIZE = (75e-6, 75e-6) + force_pixel = True + aliases = ["Jungfrau 1M"] + uniform_pixel = True + + class Jungfrau8M(Jungfrau): """ Jungfrau 8M module composed of 16 modules, 12 horizontals and 4 vertical