diffraction_geometry: updated resolution and det_dist calculation to use theta not 2theta

This commit is contained in:
2025-10-01 17:06:43 +02:00
parent 99d32326a7
commit 19d5740c1f
2 changed files with 8 additions and 2 deletions
+5 -1
View File
@@ -77,7 +77,11 @@ class JFJochWrapper:
transmission=s.bl.transmission,
ring_current_mA=s.bl.ring_current_mA,
sample_temperature_K=s.bl.cryojet_K,
total_flux=s.bl.flux_ph_s
poni_rot1_rad=s.diffraction.poni_rot1_rad,
poni_rot2_rad=s.diffraction.poni_rot2_rad,
total_flux=s.bl.flux_ph_s,
max_spot_count=1000,
detect_ice_rings=True
)
self.__api.start_post(dataset_settings=dataset_settings)
+3 -1
View File
@@ -65,7 +65,9 @@ class MainWindow(QMainWindow):
pixel_size_mm=0.150, #PILATUS 4
beam_center_pxl=(750, 750),
detector_description="PILATUS 4",
detector_serial_number="1"
detector_serial_number="1",
poni_rot1_rad=0,
poni_rot2_rad=0
)
geom = SampleGeometryModel(beam_location_pxl=Coordinate(x=1000,y=1000),