From f8fb495b63326ae6ff5147886176f648fb94f637 Mon Sep 17 00:00:00 2001 From: Patrick Avery Date: Fri, 5 Jan 2024 14:04:21 -0600 Subject: [PATCH] Remove transform section from these detectors The current translation of [0, 0, 0] doesn't work well with HEXRDGUI, since it indicates that the detector is on top of the sample. We should make the transform section optional instead. If it is not provided, then HEXRDGUI will insert the default transform section. This will make the views work better... If some detectors typically have a certain transform, it can still be provided and that will be used instead of the default. Signed-off-by: Patrick Avery --- .../detector_templates/dexela-2923-detector-subpanel.yml | 9 --------- .../detector_templates/dexela-2923-detector.yml | 9 --------- 2 files changed, 18 deletions(-) diff --git a/hexrd/resources/detector_templates/dexela-2923-detector-subpanel.yml b/hexrd/resources/detector_templates/dexela-2923-detector-subpanel.yml index 42d039672..114d6b286 100644 --- a/hexrd/resources/detector_templates/dexela-2923-detector-subpanel.yml +++ b/hexrd/resources/detector_templates/dexela-2923-detector-subpanel.yml @@ -5,12 +5,3 @@ Dexela 2923 Subpanel: columns: 1536 rows: 1944 size: [0.0748, 0.0748] - transform: - tilt: - - 0 - - 0 - - 0 - translation: - - 0 - - 0 - - 0 diff --git a/hexrd/resources/detector_templates/dexela-2923-detector.yml b/hexrd/resources/detector_templates/dexela-2923-detector.yml index ef591c127..d1b9e8619 100644 --- a/hexrd/resources/detector_templates/dexela-2923-detector.yml +++ b/hexrd/resources/detector_templates/dexela-2923-detector.yml @@ -5,12 +5,3 @@ Dexela 2923: columns: 3072 rows: 3888 size: [0.0748, 0.0748] - transform: - tilt: - - 0 - - 0 - - 0 - translation: - - 0 - - 0 - - 0