xrdPlanner 2.0.0__tar.gz → 2.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {xrdplanner-2.0.0 → xrdplanner-2.0.2}/PKG-INFO +1 -1
- {xrdplanner-2.0.0 → xrdplanner-2.0.2}/xrdPlanner/__init__.py +2 -2
- {xrdplanner-2.0.0 → xrdplanner-2.0.2}/xrdPlanner/classes.py +3 -2
- {xrdplanner-2.0.0 → xrdplanner-2.0.2}/xrdPlanner.egg-info/PKG-INFO +1 -1
- {xrdplanner-2.0.0 → xrdplanner-2.0.2}/LICENSE +0 -0
- {xrdplanner-2.0.0 → xrdplanner-2.0.2}/README.md +0 -0
- {xrdplanner-2.0.0 → xrdplanner-2.0.2}/pyproject.toml +0 -0
- {xrdplanner-2.0.0 → xrdplanner-2.0.2}/setup.cfg +0 -0
- {xrdplanner-2.0.0 → xrdplanner-2.0.2}/xrdPlanner/resources.py +0 -0
- {xrdplanner-2.0.0 → xrdplanner-2.0.2}/xrdPlanner/run_xrdPlanner.py +0 -0
- {xrdplanner-2.0.0 → xrdplanner-2.0.2}/xrdPlanner.egg-info/SOURCES.txt +0 -0
- {xrdplanner-2.0.0 → xrdplanner-2.0.2}/xrdPlanner.egg-info/dependency_links.txt +0 -0
- {xrdplanner-2.0.0 → xrdplanner-2.0.2}/xrdPlanner.egg-info/entry_points.txt +0 -0
- {xrdplanner-2.0.0 → xrdplanner-2.0.2}/xrdPlanner.egg-info/requires.txt +0 -0
- {xrdplanner-2.0.0 → xrdplanner-2.0.2}/xrdPlanner.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: xrdPlanner
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: A tool to project X-ray diffraction cones on a detector screen at different geometries (tilt, rotation, offset) and X-ray energies
|
|
5
5
|
Author-email: Lennard Krause <lkrause@chem.au.dk>
|
|
6
6
|
Project-URL: Homepage, https://github.com/LennardKrause/xrdPlanner
|
|
@@ -2195,7 +2195,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
|
2195
2195
|
entry_layout = QtWidgets.QHBoxLayout()
|
|
2196
2196
|
entry_layout.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
|
|
2197
2197
|
if div > 0:
|
|
2198
|
-
box_combobox = QtWidgets.QDoubleSpinBox(decimals=decimals, singleStep=step, minimum=step, maximum=
|
|
2198
|
+
box_combobox = QtWidgets.QDoubleSpinBox(decimals=decimals, singleStep=step, minimum=step, maximum=100000, value=value/div)
|
|
2199
2199
|
box_combobox.valueChanged.connect(self.win_fwhm_update)
|
|
2200
2200
|
box_combobox.setObjectName(f'{idx} {div}')
|
|
2201
2201
|
else:
|
|
@@ -2953,9 +2953,10 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
|
2953
2953
|
size_row = self.table_size.currentRow()
|
|
2954
2954
|
hmn = int(self.table_size.item(size_row, 1).text())
|
|
2955
2955
|
vmn = int(self.table_size.item(size_row, 2).text())
|
|
2956
|
+
pxs = self._db_dict[det]['pxs']
|
|
2956
2957
|
xdim = self._db_dict[det]['hmp'] * hmn + self._db_dict[det]['hgp'] * (hmn-1) + self._db_dict[det]['cbh']
|
|
2957
2958
|
ydim = self._db_dict[det]['vmp'] * vmn + self._db_dict[det]['vgp'] * (vmn-1) + self._db_dict[det]['cbh']
|
|
2958
|
-
self._dim_mm.setText(f'{xdim *
|
|
2959
|
+
self._dim_mm.setText(f'{xdim * pxs:.1f} \u00D7 {ydim * pxs:.1f} mm\u00B2')
|
|
2959
2960
|
self._dim_px.setText(f'{xdim:.0f} \u00D7 {ydim:.0f} px')
|
|
2960
2961
|
|
|
2961
2962
|
def win_detdb_par_change(self, val):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: xrdPlanner
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: A tool to project X-ray diffraction cones on a detector screen at different geometries (tilt, rotation, offset) and X-ray energies
|
|
5
5
|
Author-email: Lennard Krause <lkrause@chem.au.dk>
|
|
6
6
|
Project-URL: Homepage, https://github.com/LennardKrause/xrdPlanner
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|