Skip to content

Commit

Permalink
Merge pull request #2128 from kif/2126_Jungfrau1M
Browse files Browse the repository at this point in the history
Image shape confirmed with first frames acquired.
  • Loading branch information
kif authored Jun 27, 2024
2 parents 14ac2b4 + d2f6d89 commit 972138d
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/pyFAI/detectors/_psi.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
__contact__ = "[email protected]"
__license__ = "MIT"
__copyright__ = "2021 European Synchrotron Radiation Facility, Grenoble, France"
__date__ = "07/12/2023"
__date__ = "11/04/2024"
__status__ = "production"

import numpy
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 972138d

Please sign in to comment.