DetectorModule

One module of custom_geometry: where its readout pixel 0 goes in the assembled image and which way its fast and slow readout axes run there. Frame: custom_geometry is BEFORE mirror_y (the image as assembled from the readout); module_placement is AFTER mirror_y (the image as stored, the only one a file reader sees). Same words in both: x0/y0 is the image position of the module’s readout pixel 0 and fast_axis/slow_axis say which way its fast and slow readout axes run in the image. With mirror_y on, a module’s entry differs between the two by the mirror: for an image of height H, y0 (module_placement) = H - 1 - y0 (custom_geometry), x0 is the same, and Yp and Yn swap in fast_axis/slow_axis. With mirror_y off they are equal.

Properties

Name

Type

Description

Notes

x0

float

Image x of the module’s readout pixel 0, before mirror_y

y0

float

Image y of the module’s readout pixel 0, before mirror_y

fast_axis

DetectorModuleDirection

slow_axis

DetectorModuleDirection

Example

from jfjoch_client.models.detector_module import DetectorModule

# TODO update the JSON string below
json = "{}"
# create an instance of DetectorModule from a JSON string
detector_module_instance = DetectorModule.from_json(json)
# print the JSON string representation of the object
print(DetectorModule.to_json())

# convert the object into a dict
detector_module_dict = detector_module_instance.to_dict()
# create an instance of DetectorModule from a dict
detector_module_from_dict = DetectorModule.from_dict(detector_module_dict)

[Back to Model list] [Back to API list] [Back to README]