DAQLib: Introduce a dedicated structure for Diffraction geometry
Build and Publish / build (push) Successful in 22s
Build and Publish / build (push) Successful in 22s
This commit is contained in:
1 parent
0af369fd12
commit
fb946e6af6
1 file changed
+9
@@ -10,6 +10,7 @@ from PySide6.QtWidgets import (
|
||||
QMessageBox,
|
||||
QApplication, )
|
||||
from aaredaqlib.coordinate import Coordinate, SmargonCoordinate
|
||||
from aaredaqlib.diffraction_geometry import DiffractionGeometry
|
||||
from aaredaqlib.models import SampleShortInfoList, TokenData
|
||||
from aaredaqlib.sample_geometry import SampleGeometryModel
|
||||
|
||||
@@ -49,6 +50,14 @@ class MainWindow(QMainWindow):
|
||||
top_widget_layout = QHBoxLayout(top_widget)
|
||||
top_widget.setLayout(top_widget_layout)
|
||||
|
||||
diffraction = DiffractionGeometry(
|
||||
energy_keV=12.4,
|
||||
dtz_mm=100,
|
||||
detector_size_pxl=(1553,1630),
|
||||
pixel_size_mm=0.150, #PILATUS 4
|
||||
beam_center_pxl=(750, 750)
|
||||
)
|
||||
|
||||
geom = SampleGeometryModel(beam_location_pxl=Coordinate(x=1000,y=1000),
|
||||
pixel_in_mm=0.001,
|
||||
aerotech=Coordinate(),
|
||||
|
||||
Reference in new issue
Block a user