xrdPlanner 2.3.0__tar.gz → 2.3.1__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.3.0 → xrdplanner-2.3.1}/PKG-INFO +1 -1
- {xrdplanner-2.3.0 → xrdplanner-2.3.1}/xrdPlanner/__init__.py +2 -2
- {xrdplanner-2.3.0 → xrdplanner-2.3.1}/xrdPlanner/classes.py +5 -5
- {xrdplanner-2.3.0 → xrdplanner-2.3.1}/xrdPlanner.egg-info/PKG-INFO +1 -1
- {xrdplanner-2.3.0 → xrdplanner-2.3.1}/LICENSE +0 -0
- {xrdplanner-2.3.0 → xrdplanner-2.3.1}/README.md +0 -0
- {xrdplanner-2.3.0 → xrdplanner-2.3.1}/pyproject.toml +0 -0
- {xrdplanner-2.3.0 → xrdplanner-2.3.1}/setup.cfg +0 -0
- {xrdplanner-2.3.0 → xrdplanner-2.3.1}/xrdPlanner/resources.py +0 -0
- {xrdplanner-2.3.0 → xrdplanner-2.3.1}/xrdPlanner/run_xrdPlanner.py +0 -0
- {xrdplanner-2.3.0 → xrdplanner-2.3.1}/xrdPlanner.egg-info/SOURCES.txt +0 -0
- {xrdplanner-2.3.0 → xrdplanner-2.3.1}/xrdPlanner.egg-info/dependency_links.txt +0 -0
- {xrdplanner-2.3.0 → xrdplanner-2.3.1}/xrdPlanner.egg-info/entry_points.txt +0 -0
- {xrdplanner-2.3.0 → xrdplanner-2.3.1}/xrdPlanner.egg-info/requires.txt +0 -0
- {xrdplanner-2.3.0 → xrdplanner-2.3.1}/xrdPlanner.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: xrdPlanner
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.1
|
|
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
|
|
@@ -1573,10 +1573,10 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
|
1573
1573
|
# hence the <br> instead of \n
|
|
1574
1574
|
#
|
|
1575
1575
|
# self.setStyleSheet('''QToolTip {... ) didn't work
|
|
1576
|
-
self.patches['reference'][_n].name = f'
|
|
1576
|
+
self.patches['reference'][_n].name = f'{h: 2.0f} {k: 2.0f} {l: 2.0f}<br>{round(itot, 0):,.0f}'
|
|
1577
1577
|
self.patches['reference'][_n].index = _n
|
|
1578
1578
|
else:
|
|
1579
|
-
self.patches['reference'][_n].name = f'
|
|
1579
|
+
self.patches['reference'][_n].name = f'{h: 2.0f} {k: 2.0f} {l: 2.0f}'
|
|
1580
1580
|
self.patches['reference'][_n].index = _n
|
|
1581
1581
|
else:
|
|
1582
1582
|
self.patches['reference'][_n].name = None
|
|
@@ -3356,7 +3356,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
|
3356
3356
|
# res = None -> use the current detector pixel dimensions
|
|
3357
3357
|
_fwhm_grid = self.calc_overlays(omega=0, res=None, pol=self.plo.polarisation_fac)[-1]
|
|
3358
3358
|
# find target file
|
|
3359
|
-
default_path = os.path.join(os.path.expanduser('~'), f
|
|
3359
|
+
default_path = os.path.join(os.path.expanduser('~'), f"{self.det.name.replace(' ', '_')}_FWHM")
|
|
3360
3360
|
target, filter = QtWidgets.QFileDialog.getSaveFileName(self, 'Export FWHM grid', default_path, "Compressed numpy array (*.npz)")
|
|
3361
3361
|
if not target:
|
|
3362
3362
|
return
|
|
@@ -3618,7 +3618,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
|
3618
3618
|
self.patches['reference'][point.index()].highlight()
|
|
3619
3619
|
|
|
3620
3620
|
def win_pxrd_set_hkl_label(self, point):
|
|
3621
|
-
self.pxrd_label.setText(str
|
|
3621
|
+
self.pxrd_label.setText(' '.join(map(str, point.data())))
|
|
3622
3622
|
self.pxrd_label.setPos(point.pos())
|
|
3623
3623
|
self.pxrd_label.setVisible(True)
|
|
3624
3624
|
|
|
@@ -6496,7 +6496,7 @@ class HoverableCurveItem(pg.PlotCurveItem):
|
|
|
6496
6496
|
self.parent = parent
|
|
6497
6497
|
self.basePen = self.opts['pen']
|
|
6498
6498
|
self.hoverable = hoverable
|
|
6499
|
-
self.setAcceptHoverEvents(
|
|
6499
|
+
self.setAcceptHoverEvents(hoverable)
|
|
6500
6500
|
|
|
6501
6501
|
def setData(self, *args, **kargs):
|
|
6502
6502
|
# added the pen re-assignment to the function.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: xrdPlanner
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.1
|
|
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
|