ewoksid02.utils.pyfai.get_detector_instance#
- ewoksid02.utils.pyfai.get_detector_instance(data_signal_shape, PSize_1, PSize_2, persistent=True)[source]#
Create a detector instance based on the dataset and pixel sizes.
- Parameters:
data_signal_shape (tuple): Shape of the 2D data signal frame. PSize_1 (float): Pixel size in the first dimension. PSize_2 (float): Pixel size in the second dimension.
- Returns:
Optional[object]: A detector instance or None if the dataset is None.
- Parameters:
data_signal_shape (
tuple)PSize_1 (
float)PSize_2 (
float)persistent (
bool)
- Return type:
Optional[object]