-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2128 from kif/2126_Jungfrau1M
Image shape confirmed with first frames acquired.
- Loading branch information
Showing
1 changed file
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|