orGUI 1.4.0__tar.gz → 1.4.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.
Files changed (159) hide show
  1. {orgui-1.4.0 → orgui-1.4.1}/CHANGELOG.md +142 -102
  2. {orgui-1.4.0/orGUI.egg-info → orgui-1.4.1}/PKG-INFO +12 -5
  3. {orgui-1.4.0 → orgui-1.4.1}/benchmarks/benchmark.ipynb +8 -12
  4. {orgui-1.4.0 → orgui-1.4.1}/benchmarks/benchmark_compression.py +8 -10
  5. {orgui-1.4.0 → orgui-1.4.1}/examples/backend/CHESS_QM2.py +49 -57
  6. {orgui-1.4.0 → orgui-1.4.1}/examples/backend/P212_backend.py +46 -53
  7. {orgui-1.4.0 → orgui-1.4.1}/examples/batch_processing/batch_integrate.py +13 -14
  8. {orgui-1.4.0 → orgui-1.4.1/orGUI.egg-info}/PKG-INFO +12 -5
  9. {orgui-1.4.0 → orgui-1.4.1}/orGUI.egg-info/requires.txt +12 -4
  10. {orgui-1.4.0 → orgui-1.4.1}/orgui/__init__.py +1 -2
  11. orgui-1.4.1/orgui/_version.py +24 -0
  12. {orgui-1.4.0 → orgui-1.4.1}/orgui/app/ArrayTableDialog.py +44 -47
  13. {orgui-1.4.0 → orgui-1.4.1}/orgui/app/QHKLDialog.py +14 -16
  14. {orgui-1.4.0 → orgui-1.4.1}/orgui/app/QReflectionSelector.py +180 -186
  15. {orgui-1.4.0 → orgui-1.4.1}/orgui/app/QScanSelector.py +255 -261
  16. {orgui-1.4.0 → orgui-1.4.1}/orgui/app/QUBCalculator.py +329 -331
  17. {orgui-1.4.0 → orgui-1.4.1}/orgui/app/ROIutils.py +32 -37
  18. {orgui-1.4.0 → orgui-1.4.1}/orgui/app/__init__.py +0 -1
  19. {orgui-1.4.0 → orgui-1.4.1}/orgui/app/_roi_sum_accel.py +18 -19
  20. {orgui-1.4.0 → orgui-1.4.1}/orgui/app/bgroi.py +24 -30
  21. {orgui-1.4.0 → orgui-1.4.1}/orgui/app/database.py +95 -98
  22. {orgui-1.4.0 → orgui-1.4.1}/orgui/app/imagePeakFinder.py +32 -42
  23. {orgui-1.4.0 → orgui-1.4.1}/orgui/app/orGUI.py +639 -647
  24. {orgui-1.4.0 → orgui-1.4.1}/orgui/app/peak1Dintegr.py +427 -434
  25. {orgui-1.4.0 → orgui-1.4.1}/orgui/app/qutils.py +29 -31
  26. {orgui-1.4.0 → orgui-1.4.1}/orgui/backend/__init__.py +0 -1
  27. {orgui-1.4.0 → orgui-1.4.1}/orgui/backend/backends.py +16 -18
  28. {orgui-1.4.0 → orgui-1.4.1}/orgui/backend/beamline/ID31DiffractLinTilt.py +4 -5
  29. {orgui-1.4.0 → orgui-1.4.1}/orgui/backend/beamline/P212_tools.py +94 -101
  30. {orgui-1.4.0 → orgui-1.4.1}/orgui/backend/beamline/__init__.py +0 -1
  31. {orgui-1.4.0 → orgui-1.4.1}/orgui/backend/beamline/fio_reader.py +11 -12
  32. {orgui-1.4.0 → orgui-1.4.1}/orgui/backend/beamline/id31_tools.py +434 -94
  33. {orgui-1.4.0 → orgui-1.4.1}/orgui/backend/interlacedScanLoader.py +10 -15
  34. {orgui-1.4.0 → orgui-1.4.1}/orgui/backend/scans.py +17 -18
  35. {orgui-1.4.0 → orgui-1.4.1}/orgui/backend/udefaults.py +26 -28
  36. {orgui-1.4.0 → orgui-1.4.1}/orgui/backend/universalScanLoader.py +7 -8
  37. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/__init__.py +1 -2
  38. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/util.py +86 -88
  39. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/CTRcalc.py +140 -162
  40. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/CTRfilm.py +130 -156
  41. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/CTRopt.py +110 -113
  42. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/CTRplotutil.py +145 -153
  43. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/CTRuc.py +263 -273
  44. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/CTRutil.py +69 -81
  45. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/DetectorCalibration.py +108 -277
  46. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/HKLVlieg.py +245 -241
  47. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/ReciprocalNavigation.py +76 -78
  48. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/_CTRcalc_accel.py +12 -14
  49. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/__init__.py +0 -1
  50. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/element_data.py +2 -2
  51. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/test/__init__.py +1 -2
  52. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/test/test_CTRcalc.py +12 -13
  53. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/test/test_DetectorCalibration.py +28 -29
  54. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/test/test_HKLcalc.py +13 -16
  55. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/unitcells/__init__.py +1 -2
  56. {orgui-1.4.0 → orgui-1.4.1}/orgui/main.py +12 -15
  57. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/__init__.py +5 -6
  58. {orgui-1.4.0 → orgui-1.4.1}/pyproject.toml +28 -5
  59. orgui-1.4.1/requirements.txt +15 -0
  60. orgui-1.4.0/orgui/_version.py +0 -34
  61. orgui-1.4.0/requirements.txt +0 -11
  62. {orgui-1.4.0 → orgui-1.4.1}/.gitignore +0 -0
  63. {orgui-1.4.0 → orgui-1.4.1}/LICENSE +0 -0
  64. {orgui-1.4.0 → orgui-1.4.1}/README.rst +0 -0
  65. {orgui-1.4.0 → orgui-1.4.1}/benchmarks/benchmark.json +0 -0
  66. {orgui-1.4.0 → orgui-1.4.1}/cliff.toml +0 -0
  67. {orgui-1.4.0 → orgui-1.4.1}/examples/automatic_rocking_extraction.py +0 -0
  68. {orgui-1.4.0 → orgui-1.4.1}/examples/config_minimal +0 -0
  69. {orgui-1.4.0 → orgui-1.4.1}/examples/config_withPoni_backendfile +0 -0
  70. {orgui-1.4.0 → orgui-1.4.1}/examples/config_withPoni_noXtal +0 -0
  71. {orgui-1.4.0 → orgui-1.4.1}/examples/config_withPoni_withBulfile +0 -0
  72. {orgui-1.4.0 → orgui-1.4.1}/examples/config_withPoni_withCiffile +0 -0
  73. {orgui-1.4.0 → orgui-1.4.1}/examples/config_withPoni_withXtalfile +0 -0
  74. {orgui-1.4.0 → orgui-1.4.1}/examples/crystal_files/Fe3O4(100).bul +0 -0
  75. {orgui-1.4.0 → orgui-1.4.1}/examples/crystal_files/Pt100.bul +0 -0
  76. {orgui-1.4.0 → orgui-1.4.1}/examples/crystal_files/Pt100_with_surface_model.xtal +0 -0
  77. {orgui-1.4.0 → orgui-1.4.1}/examples/crystal_files/Pt_mp-126_symmetrized.cif +0 -0
  78. {orgui-1.4.0 → orgui-1.4.1}/examples/poni_files/P3_100_calib.poni +0 -0
  79. {orgui-1.4.0 → orgui-1.4.1}/examples/poni_files/README.txt +0 -0
  80. {orgui-1.4.0 → orgui-1.4.1}/examples/poni_files/poni.poni +0 -0
  81. {orgui-1.4.0 → orgui-1.4.1}/examples/poni_files/poni_example.poni +0 -0
  82. {orgui-1.4.0 → orgui-1.4.1}/hdf_locking_tests/data/proposal_sample.h5 +0 -0
  83. {orgui-1.4.0 → orgui-1.4.1}/hdf_locking_tests/data/sample_0001/sample_0001.h5 +0 -0
  84. {orgui-1.4.0 → orgui-1.4.1}/hdf_locking_tests/data/sample_0001/scan_0001/p3_0000.h5 +0 -0
  85. {orgui-1.4.0 → orgui-1.4.1}/hdf_locking_tests/orgui_h5open_test.ipynb +0 -0
  86. {orgui-1.4.0 → orgui-1.4.1}/hdf_locking_tests/test_locking.h5 +0 -0
  87. {orgui-1.4.0 → orgui-1.4.1}/orGUI.egg-info/SOURCES.txt +0 -0
  88. {orgui-1.4.0 → orgui-1.4.1}/orGUI.egg-info/dependency_links.txt +0 -0
  89. {orgui-1.4.0 → orgui-1.4.1}/orGUI.egg-info/entry_points.txt +0 -0
  90. {orgui-1.4.0 → orgui-1.4.1}/orGUI.egg-info/top_level.txt +0 -0
  91. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/test/testdata/0V12_calculated.dat +0 -0
  92. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/test/testdata/0V12_calculated.xpr +0 -0
  93. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/unitcells/Fe3O4(100).bul +0 -0
  94. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/unitcells/Pt100.bul +0 -0
  95. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/unitcells/Pt100_small.bul +0 -0
  96. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/unitcells/Pt110.bul +0 -0
  97. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/unitcells/Pt111.bul +0 -0
  98. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/unitcells/Pt310.bul +0 -0
  99. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/unitcells/Pt3O4(100).bul +0 -0
  100. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/unitcells/PtO(001).bul +0 -0
  101. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/unitcells/PtO(010).bul +0 -0
  102. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/unitcells/PtO(100).bul +0 -0
  103. {orgui-1.4.0 → orgui-1.4.1}/orgui/datautils/xrayutils/unitcells/a-PtO2(0001).bul +0 -0
  104. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/alpha.png +0 -0
  105. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/alpha.svg +0 -0
  106. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/anchor-ROI.png +0 -0
  107. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/anchor-ROI.svg +0 -0
  108. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/diffractometer_v3.png +0 -0
  109. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/disable-image.png +0 -0
  110. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/disable-image.svg +0 -0
  111. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/document-nx-new.png +0 -0
  112. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/document-nx-new.svg +0 -0
  113. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/document-nx-open.png +0 -0
  114. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/document-nx-open.svg +0 -0
  115. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/document-nx-save.png +0 -0
  116. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/document-nx-save.svg +0 -0
  117. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/incident_corrections.png +0 -0
  118. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/incident_corrections.svg +0 -0
  119. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/intersect_s1.png +0 -0
  120. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/intersect_s1.svg +0 -0
  121. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/intersect_s2.png +0 -0
  122. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/intersect_s2.svg +0 -0
  123. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/lattice-all-link.png +0 -0
  124. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/lattice-all-link.svg +0 -0
  125. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/lattice-horizontal-link.png +0 -0
  126. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/lattice-horizontal-link.svg +0 -0
  127. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/lattice-no-link.png +0 -0
  128. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/lattice-no-link.svg +0 -0
  129. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/lattice-view.png +0 -0
  130. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/lattice-view.svg +0 -0
  131. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/logo.png +0 -0
  132. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/logo.svg +0 -0
  133. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/logo_social_media.png +0 -0
  134. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/logo_social_media.svg +0 -0
  135. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/logo_v1.png +0 -0
  136. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/logo_v1.svg +0 -0
  137. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/max_image.png +0 -0
  138. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/max_image.svg +0 -0
  139. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/max_image2.png +0 -0
  140. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/max_image2.svg +0 -0
  141. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/orguiicon.png +0 -0
  142. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/orguiicon.svg +0 -0
  143. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/search-image.png +0 -0
  144. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/search-image.svg +0 -0
  145. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/search-peak.png +0 -0
  146. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/search-peak.svg +0 -0
  147. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/search-reflection.png +0 -0
  148. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/search-reflection.svg +0 -0
  149. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/search.png +0 -0
  150. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/search.svg +0 -0
  151. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/select-image.png +0 -0
  152. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/select-image.svg +0 -0
  153. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/set-reflection.png +0 -0
  154. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/set-reflection.svg +0 -0
  155. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/sum_image.png +0 -0
  156. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/sum_image.svg +0 -0
  157. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/sum_image2.png +0 -0
  158. {orgui-1.4.0 → orgui-1.4.1}/orgui/resources/icons/sum_image2.svg +0 -0
  159. {orgui-1.4.0 → orgui-1.4.1}/setup.cfg +0 -0
@@ -3,120 +3,159 @@
3
3
  This is the changelog for the software orGUI, written by Timo Fuchs
4
4
 
5
5
 
6
- ## [1.4.0] (2026-01-20)
6
+ ## [1.4.1] (2026-03-27)
7
7
 
8
- [ef10ee8](https://github.com/tifuchs/orGUI/commit/ef10ee8e805c13b60bb51361c38868da928d7116)...[eb2d82f](https://github.com/tifuchs/orGUI/commit/eb2d82f796a5f34798d7f78f7794ef73b9231332)
8
+ [260ab5d](https://github.com/tifuchs/orGUI/commit/260ab5d63d3e3cacbefdbc9f62eb640bb0d80e80)...[3f5ce1a](https://github.com/tifuchs/orGUI/commit/3f5ce1a77cfe8bde3f2551dba35d117fbe87f023)
9
9
 
10
- This is a feature release with lots of additional bug fixes.
10
+ This is a bugfix and maintenance release.
11
11
 
12
- - Added a new dialog which automatically calculates the position of the
13
- Bragg peak, which helps to improve the U matrix the most and adds it
14
- to the list of reference reflections.
15
- - Added a Bragg peak search, which searches for the center of mass in a
16
- small section of multiple images. This can be used to quickly find the
17
- image and position of a Bragg peak. To be used when an estimate of the
18
- Bragg position is already given (such as with the new Bragg peak
19
- dialog)
20
- - Auxilliary counters (potential, temperature, \...) are now also
21
- integrated in all integration functions.
22
- - A static background image can now be subtracted from the detector
23
- images. This can be used to subtract static sample environment
24
- scattering such as water or air (beamline background) scattering.
25
- - Multiple scans can be concatenated and treated as a single scan. This
26
- is done to avoid high-intensity sample positions which would lead to
27
- damage to the detector (Thanks to Finn!).
28
- - Positions of Bragg reflections can now be integrated as rocking scans.
29
- This enables fast conventional single crystal X-ray difffraction
30
- analysis of Bragg reflection structure factor. Strain with respect to
31
- the reference lattice can be added for epitaxially grown thin films.
32
- - 2D ROI size can now be dynamically adjusted. Currently, the ROI size
33
- can be corected for
34
- - Peak size increase due to scattered beam - detector inclination
35
- - Peak size increase due to the illuminated sample size. Currently,
36
- the sample is approximated as a cuboid (size to be set in Advanced
37
- ROI options dialog) and its outlines are projected onto the
38
- detector.
39
- - The orGUI hdf5 data base can now be compressed using
40
- [hdf5plugin](https://github.com/silx-kit/hdf5plugin). This compression
41
- is not visible to the user, but reduces the file size by a factor of
42
- 2x - 3x. Calculation speed loss is possible and depends on the OS,
43
- available libraries , etc. See [Issue
44
- #16](https://github.com/tifuchs/orGUI/issues/16) for an overview.
45
- Opening compressed data bases with external software requires the user
46
- to install and import
47
- [hdf5plugin](https://github.com/silx-kit/hdf5plugin).
12
+ *The last version to support python <=3.10 and NumPy 1.x.*
13
+
14
+ **Attention: pyFAI versions 2025.12.0, 2025.12.1 and 2026.2.0 cause a software crash when selecting a detector in the machine parameters.**
15
+
16
+ Two ***critical bugs*** were fixed that affect physics calculations:
17
+
18
+ - Allowed Bragg reflections close to the search bounds (usually high Q) were sometimes not found. This bug was present in all previous versions <v1.4.0.
19
+ - The complex phase of the Fourier components rho_G of the electron density along z was incorrectly calculated (zDensity_G). This bug was present in all previous versions <v1.4.0.
48
20
 
49
21
  ### Added
50
22
 
51
- - [ReflectionSelector] add automatic peak search (2d image peak and rocking peak) and automatic Bragg reflection add function ([985f9ca](https://github.com/tifuchs/orGUI/commit/985f9ca803eead6487d68a3341c6652ff39b72cc))
52
- - [ReflectionSelector] add automatic Bragg reflection search dialog ([4fe31db](https://github.com/tifuchs/orGUI/commit/4fe31dbc1a181b9d37561dd16bb488c1b8c6253e))
53
- - [Database] add optional compression, add compression benchmarks ([e468efd](https://github.com/tifuchs/orGUI/commit/e468efdbfcba6bd13a2791674388f84274999a39))
54
- - [RoIntegr] add aux counter integration ([2aa1cc9](https://github.com/tifuchs/orGUI/commit/2aa1cc9ee9e9a4b580562c0df6dd83ece1a4c40a))
55
- - Add static background image subtraction ([b9777f9](https://github.com/tifuchs/orGUI/commit/b9777f90aed18ecad12c6a86c6b5fc6e1a109b08))
56
- - Add social media logo ([e900408](https://github.com/tifuchs/orGUI/commit/e900408ba5c756744ef3a56ac2f5fceaa3c4479c))
57
- - OrGUI.py - add 'select all' functionality when removing curves in the integrated data plot ([cf26b34](https://github.com/tifuchs/orGUI/commit/cf26b348ed726aaa0d51e9960f02f05a520ca39b))
58
- - [CTRplot] add CTR average functions ([915c2d5](https://github.com/tifuchs/orGUI/commit/915c2d53c8e825314d8fbaae856f320c3d10bd10))
59
- - Added functionality to concatenate scans ([2aa59b1](https://github.com/tifuchs/orGUI/commit/2aa59b1233d4bbd8bb4aaaa21622d59ad3da9368))
60
- - Add Bragg reflection rocking integration, add variable ROI sizes ([798269f](https://github.com/tifuchs/orGUI/commit/798269fa23edfd7008f08b17d3d8cccb8f20147d))
61
- - Add missing ROIutils.py ([871f486](https://github.com/tifuchs/orGUI/commit/871f486ea5544ae6d7b487938bfadd38b156de7a))
62
- - Add title showing hkl and s to rocking peak integr graph ([bf42ad6](https://github.com/tifuchs/orGUI/commit/bf42ad67ebe17e0a532074577d80bc518883adbc))
63
- - [config] add compression and autoload setting to config file ([598b558](https://github.com/tifuchs/orGUI/commit/598b55853a135332634edf6b98464209758bf19c))
64
- - Add setuptools_scm for automatic version numbering, update .gitignore ([0c33c71](https://github.com/tifuchs/orGUI/commit/0c33c7194e5a748f8ab8b86d72d4668022329b6e))
65
- - Add cliff.toml for automatic CHANGELOG creation, replace CHANGELOG ([a155cdb](https://github.com/tifuchs/orGUI/commit/a155cdb23fbef6245fba8cf4fb42016f53a805b2))
23
+ - Add support for Pilatus 4 4M in id31 backend ([8977d82](https://github.com/tifuchs/orGUI/commit/8977d82d09598c42b1357e33dd2d0afca4d6f0a4))
24
+ - Add ruff linting rules and apply simple fixes ([bb89a41](https://github.com/tifuchs/orGUI/commit/bb89a41f9bc8cc02733ec965e9dfd905ec669e26))
66
25
 
67
26
  ### Changed
68
27
 
69
- - [orGUI.py] - integrated curves can now be hidden/removed ([9c0a93e](https://github.com/tifuchs/orGUI/commit/9c0a93e39e95a773ef2a5b26a10326548d057e93))
70
- - [ROIRoIntegr] drop requirement of rocking_integrate for s, H_0 and H_1 ([d2400f7](https://github.com/tifuchs/orGUI/commit/d2400f72cb19fd14c8a68acdfd0d6744e62d95b3))
71
- - [Recip Space Nav dock] automatically expand reflection table to its ma size ([02e842a](https://github.com/tifuchs/orGUI/commit/02e842a967d7ed56d53348753af8a42599cfb341))
72
- - [integration] Normalize croibg by the number of available pixels ([c126d5c](https://github.com/tifuchs/orGUI/commit/c126d5c2b2f5ae56189e61c784cfee9585365ab5))
73
- - [RoIntegr] force integrated intensities positive, bugfix in error propagation ([cfbf202](https://github.com/tifuchs/orGUI/commit/cfbf2029d714131c538c4efe3874f3ed5b79eb74))
74
- - Rework integration: Corrections are applied after background subtraction, add scaling of bg image as method of background subtraction, croi, bgroi are now raw counts, add Corrections and bg image as counter in database ([9067dbb](https://github.com/tifuchs/orGUI/commit/9067dbbce4722fe470ea884a8c57e02ba4a3f40f))
75
- - Integrate functions return a status message to handle errors in batch processing ([152a713](https://github.com/tifuchs/orGUI/commit/152a7137f36d46672a616c6a62b85542f85f1d19))
76
- - [Database] Hdf5Model set ownfile=False to avoid multiple open file handles, improve handling of harddrive faults and general I/O errors ([e682e56](https://github.com/tifuchs/orGUI/commit/e682e562fa660f4de4ed05c70ef5b6394e8c90ca))
77
- - Backends.py / id31_tools.py - adjustments to correctly read and process beamtime ch7856 datasets ([d90b3ff](https://github.com/tifuchs/orGUI/commit/d90b3ffeb3984ea8d8dddf11930134d22e8e35f3))
78
- - Merge branch 'master' of https://github.com/tifuchs/orGUI ([fddbe5e](https://github.com/tifuchs/orGUI/commit/fddbe5eeabf4b4df239146bdd17eac3bbd53cc92))
79
- - [CTR] raise more descripitve error when CTR is not in CTRcollection ([a8586ed](https://github.com/tifuchs/orGUI/commit/a8586ed5ab237527e8d5fe458e2ad0c3cd4eee7a))
80
- - Backends.py - further improved ch7856 scan opening backend function ([dfcd034](https://github.com/tifuchs/orGUI/commit/dfcd03439a9cb8a8cec94c71fcdbbb645688bfc4))
81
- - OrGUI.py - optimize plotting of rocking scan curves: scans over panel edges (zero intensity in every point) are not plotted anymore and hiding + removing of curves is fixed ([a3a35fb](https://github.com/tifuchs/orGUI/commit/a3a35fbc3d7838f7029ee4ae20b0aa21ee3e4bac))
82
- - ReciprocalNavigation.py - hotfix of allowed Bragg peak searching function ([9f3ce20](https://github.com/tifuchs/orGUI/commit/9f3ce205eb5b73fd625d84f1cd11da3649212de5))
83
- - QReflectionSelector.py - typo ([5e22e16](https://github.com/tifuchs/orGUI/commit/5e22e166ab053c52fa8b99458cd1249378217790))
84
- - Revert "ReciprocalNavigation.py - hotfix of allowed Bragg peak searching function" ([96aeb74](https://github.com/tifuchs/orGUI/commit/96aeb7432969ce5804008be8b7db849ca109a24f))
85
- - ReciprocalNavigation.py - temporary fix of incorrect Qmax ([5195d34](https://github.com/tifuchs/orGUI/commit/5195d3441173449fc81692eff2d5134ed0fd068a))
86
- - QReflectionSelector.py - catch errors if Bragg lists are empty ([77d24da](https://github.com/tifuchs/orGUI/commit/77d24dad49803b15dfb12aeee880b3d3866f2867))
87
- - OrGUI.py - catch exception in rocking_extraction() ([109c18e](https://github.com/tifuchs/orGUI/commit/109c18e199d1456cc7a50d9df0ef97e4c423410d))
88
- - Orgui.py - small improvements to 'load segemented scan' functionality ([37fc6b7](https://github.com/tifuchs/orGUI/commit/37fc6b7b4b46df099cf76c9086ad954c81bd730c))
89
- - Improvements to scan concatenation function ([64a9351](https://github.com/tifuchs/orGUI/commit/64a93514214847e818c85b741e34bef9d47e10ca))
90
- - Merge pull request #32 from tifuchs/ro-Bragg ([bc77481](https://github.com/tifuchs/orGUI/commit/bc774812da79075f2d5ae9905826f30a75638736))
91
- - [UI] make background image action checkable - allows to disable the image subtraction ([3785b65](https://github.com/tifuchs/orGUI/commit/3785b650d85dbea0f75876d74d28437b0204ca4f))
92
- - Merge branch 'master' into concatenate-partial-scans ([e97da08](https://github.com/tifuchs/orGUI/commit/e97da08bf7e4922b8444bcee1ceebb5c965a7854))
93
- - Merge pull request #35 from tifuchs/concatenate-partial-scans ([c3b6a73](https://github.com/tifuchs/orGUI/commit/c3b6a73cc6ca27dd7f4cc7427a15b524bab72965))
94
- - Update deprecated pyFAI dependencies and functions ([24a4600](https://github.com/tifuchs/orGUI/commit/24a4600332cf4c61754317d23105278b48246dec))
28
+ - Drop pymca requirement ([9cbf849](https://github.com/tifuchs/orGUI/commit/9cbf8490578e920d1971dc4c8d9487a23e0bdbcc))
95
29
 
96
30
  ### Fixed
97
31
 
98
- - [RoIntegr] Bugfix: apply mask to s and hkl to handle missing data ([a9829fb](https://github.com/tifuchs/orGUI/commit/a9829fb957d4da457e1bc2dd91f599202a92cb3c))
99
- - [Database] Bugfix: fix gui lock when database has pending operations and main thread is performing database operations by allowing Qt to process events in wait loop ([1822c35](https://github.com/tifuchs/orGUI/commit/1822c353c918fc822a0039fe26f0abcb39a7ada0))
100
- - [RoPeakIntegr] Bugfix: normalize F2 to integration range ([cda3540](https://github.com/tifuchs/orGUI/commit/cda3540077d21eba800551f8efb16a42e93bc4cc))
101
- - [RoIntegr] Fix crash when scan is active which is not in database. ([30b6dd0](https://github.com/tifuchs/orGUI/commit/30b6dd0b92663bde6acd2ba5ffa2ab04f0beefc6))
102
- - [UBcalc] Fix loading of refraction index from config file ([285cbc1](https://github.com/tifuchs/orGUI/commit/285cbc1410f74bbff199567a3f7d45e609c78f64))
103
- - [RoPeakIntegr] Fix peak position interpolation ([cbc907e](https://github.com/tifuchs/orGUI/commit/cbc907e12d46bc5cd629f66aee237bf77eab0473))
104
- - [RoPeakIntegr] Fix fit along rod by using intersect point s as abscissa instead of axis ([eb04e01](https://github.com/tifuchs/orGUI/commit/eb04e0104f1a24933c1397d814bf6976bc1ff1cd))
105
- - [CTRuc] Fix loading of xpr files, fix layered_O water model ([e7d1d00](https://github.com/tifuchs/orGUI/commit/e7d1d005f10dd46d01eab0f0f23de3b8889c68e8))
106
- - [CTRplot] fix typo ([17543ab](https://github.com/tifuchs/orGUI/commit/17543ab8b3b6ddb6ace46b394e9b61fe752d9d32))
107
- - OrGUI.py - bugfix in sum image creation ([6b82ccb](https://github.com/tifuchs/orGUI/commit/6b82ccbd02de704c002982c2e42ef56db39e8e1c))
108
- - [interlacedScan] fix crash if data is missing or corrupted ([ab6abcf](https://github.com/tifuchs/orGUI/commit/ab6abcfd18e825647db742ff452763315f4d5abe))
109
- - OrGUI.py - fix uncaught exception in integrdata Plot function ([e0ca4fe](https://github.com/tifuchs/orGUI/commit/e0ca4fe320cc833032520ea1cb79498fb49f0eaf))
110
- - [CTRuc] fix crash in calculation of cartesian position of atom in UnitCell ([774dfe3](https://github.com/tifuchs/orGUI/commit/774dfe34d7672e93830ebd810624bc876181f046))
111
- - Fix loading of Bragg reflection rocking scans in roIntegr window ([0469f61](https://github.com/tifuchs/orGUI/commit/0469f61eb26c5503491791771e52a69282307a43))
112
- - [CTRuc] fix loading of unit cell from file with single atom ([baf1d12](https://github.com/tifuchs/orGUI/commit/baf1d121d1c997ab9a9951f6c44acb36c6474aa8))
113
- - [RoIntegr] fix saving of x y coordinates ([26221e1](https://github.com/tifuchs/orGUI/commit/26221e19313a727c7e1db39fb1c59b27d2f91660))
114
- - [Ro1DIntegr] fix / remove integration range normalization for F2 calculation ([88403f3](https://github.com/tifuchs/orGUI/commit/88403f33641be594f46c10789705105901da2faf))
115
- - Fix commit links in clffi.toml template ([eb2d82f](https://github.com/tifuchs/orGUI/commit/eb2d82f796a5f34798d7f78f7794ef73b9231332))
116
-
117
- ### Removed
118
-
119
- - InterlacedScanLoader.py - delete function that was defined twice ([2b77efc](https://github.com/tifuchs/orGUI/commit/2b77efc13d33a788ae2846de29b459f10a8a0e63))
32
+ - Explicitly close data base upon quitting the app ([f9d0bf0](https://github.com/tifuchs/orGUI/commit/f9d0bf07f1b39fd8e06944b572b1ca256720989a))
33
+ - Add fallback version to setuptools_scm configuration ([c3b3345](https://github.com/tifuchs/orGUI/commit/c3b3345ad08de725b07230984a8f0f13a6a30551))
34
+ - Fix DetectorCalibration: Qrange and delgamrange calculation ([80c6a0b](https://github.com/tifuchs/orGUI/commit/80c6a0be6795a86c1a62b15eae95b00dd365f28f))
35
+ - ReciprocalNavigation: extend the negative hkl calculation bound for allowedReflections_G ([8cea91f](https://github.com/tifuchs/orGUI/commit/8cea91fe7483b9cba011d3763989ac91b3ab01db)), Addresses #29: Bragg reflections at high Q sometimes not found
36
+ - ReciprocalNavigation: fix hkl calculation array for allowedReflections_G ([6aad788](https://github.com/tifuchs/orGUI/commit/6aad788e62831ba4cd4c95ecd6ab16e6cf69b8cb)), Addresses #29: Bragg reflections at high Q sometimes not found
37
+ - HKLVlieg: PCO calculation - numpy compatibility ([a1ff3d9](https://github.com/tifuchs/orGUI/commit/a1ff3d927f590fe399d3b2c199b1c9edb1ecf325))
38
+ - Orgui: Numpy errors in ROI operations ([dc06b17](https://github.com/tifuchs/orGUI/commit/dc06b1770a625bd0ea8a3d80bfbc291ee6685841))
39
+ - Orgui: another fix for Numpy 2.4 compatibility ([a56714b](https://github.com/tifuchs/orGUI/commit/a56714bd3b885693cf3a4e147444bb6a414efe1f))
40
+ - Remove z phase factor of z Fourier components of electron density ([5cd1746](https://github.com/tifuchs/orGUI/commit/5cd17467eb83e28c5b62bb4298089b388bce50e6)), affected:UnitCell.zDensity_G and UnitCell.zDensity_G_asbulk. Absolute density unchanged., BREAKING CHANGE:phase of hk Fourier components of z electron density were incorrect
41
+ - Reenable array arguments phi, chi, omega in HKLVlieg.anglesToHkl ([3629b96](https://github.com/tifuchs/orGUI/commit/3629b968b4878db8308e5c51c8a03295cd40ecea)), addresses #48: Compatibility issues with NumPy 2.4
42
+ - Add np.trapz/np.trapezoid compatibility for NumPy 1.6 and >2.0 ([3f5ce1a](https://github.com/tifuchs/orGUI/commit/3f5ce1a77cfe8bde3f2551dba35d117fbe87f023)), addresses #48: Compatibility issues with Numpy 2.4
43
+
44
+
45
+ ## [1.4.0] (2026-01-20)
46
+
47
+ [ef10ee8](https://github.com/tifuchs/orGUI/commit/ef10ee8e805c13b60bb51361c38868da928d7116)...[eb2d82f](https://github.com/tifuchs/orGUI/commit/eb2d82f796a5f34798d7f78f7794ef73b9231332)
48
+
49
+ This is a feature release with lots of additional bug fixes.
50
+
51
+ - Added a new dialog which automatically calculates the position of the
52
+ Bragg peak, which helps to improve the U matrix the most and adds it
53
+ to the list of reference reflections.
54
+ - Added a Bragg peak search, which searches for the center of mass in a
55
+ small section of multiple images. This can be used to quickly find the
56
+ image and position of a Bragg peak. To be used when an estimate of the
57
+ Bragg position is already given (such as with the new Bragg peak
58
+ dialog)
59
+ - Auxilliary counters (potential, temperature, \...) are now also
60
+ integrated in all integration functions.
61
+ - A static background image can now be subtracted from the detector
62
+ images. This can be used to subtract static sample environment
63
+ scattering such as water or air (beamline background) scattering.
64
+ - Multiple scans can be concatenated and treated as a single scan. This
65
+ is done to avoid high-intensity sample positions which would lead to
66
+ damage to the detector (Thanks to Finn!).
67
+ - Positions of Bragg reflections can now be integrated as rocking scans.
68
+ This enables fast conventional single crystal X-ray difffraction
69
+ analysis of Bragg reflection structure factor. Strain with respect to
70
+ the reference lattice can be added for epitaxially grown thin films.
71
+ - 2D ROI size can now be dynamically adjusted. Currently, the ROI size
72
+ can be corected for
73
+ - Peak size increase due to scattered beam - detector inclination
74
+ - Peak size increase due to the illuminated sample size. Currently,
75
+ the sample is approximated as a cuboid (size to be set in Advanced
76
+ ROI options dialog) and its outlines are projected onto the
77
+ detector.
78
+ - The orGUI hdf5 data base can now be compressed using
79
+ [hdf5plugin](https://github.com/silx-kit/hdf5plugin). This compression
80
+ is not visible to the user, but reduces the file size by a factor of
81
+ 2x - 3x. Calculation speed loss is possible and depends on the OS,
82
+ available libraries , etc. See [Issue
83
+ #16](https://github.com/tifuchs/orGUI/issues/16) for an overview.
84
+ Opening compressed data bases with external software requires the user
85
+ to install and import
86
+ [hdf5plugin](https://github.com/silx-kit/hdf5plugin).
87
+
88
+ ### Added
89
+
90
+ - [ReflectionSelector] add automatic peak search (2d image peak and rocking peak) and automatic Bragg reflection add function ([985f9ca](https://github.com/tifuchs/orGUI/commit/985f9ca803eead6487d68a3341c6652ff39b72cc))
91
+ - [ReflectionSelector] add automatic Bragg reflection search dialog ([4fe31db](https://github.com/tifuchs/orGUI/commit/4fe31dbc1a181b9d37561dd16bb488c1b8c6253e))
92
+ - [Database] add optional compression, add compression benchmarks ([e468efd](https://github.com/tifuchs/orGUI/commit/e468efdbfcba6bd13a2791674388f84274999a39))
93
+ - [RoIntegr] add aux counter integration ([2aa1cc9](https://github.com/tifuchs/orGUI/commit/2aa1cc9ee9e9a4b580562c0df6dd83ece1a4c40a))
94
+ - Add static background image subtraction ([b9777f9](https://github.com/tifuchs/orGUI/commit/b9777f90aed18ecad12c6a86c6b5fc6e1a109b08))
95
+ - Add social media logo ([e900408](https://github.com/tifuchs/orGUI/commit/e900408ba5c756744ef3a56ac2f5fceaa3c4479c))
96
+ - OrGUI.py - add 'select all' functionality when removing curves in the integrated data plot ([cf26b34](https://github.com/tifuchs/orGUI/commit/cf26b348ed726aaa0d51e9960f02f05a520ca39b))
97
+ - [CTRplot] add CTR average functions ([915c2d5](https://github.com/tifuchs/orGUI/commit/915c2d53c8e825314d8fbaae856f320c3d10bd10))
98
+ - Added functionality to concatenate scans ([2aa59b1](https://github.com/tifuchs/orGUI/commit/2aa59b1233d4bbd8bb4aaaa21622d59ad3da9368))
99
+ - Add Bragg reflection rocking integration, add variable ROI sizes ([798269f](https://github.com/tifuchs/orGUI/commit/798269fa23edfd7008f08b17d3d8cccb8f20147d))
100
+ - Add missing ROIutils.py ([871f486](https://github.com/tifuchs/orGUI/commit/871f486ea5544ae6d7b487938bfadd38b156de7a))
101
+ - Add title showing hkl and s to rocking peak integr graph ([bf42ad6](https://github.com/tifuchs/orGUI/commit/bf42ad67ebe17e0a532074577d80bc518883adbc))
102
+ - [config] add compression and autoload setting to config file ([598b558](https://github.com/tifuchs/orGUI/commit/598b55853a135332634edf6b98464209758bf19c))
103
+ - Add setuptools_scm for automatic version numbering, update .gitignore ([0c33c71](https://github.com/tifuchs/orGUI/commit/0c33c7194e5a748f8ab8b86d72d4668022329b6e))
104
+ - Add cliff.toml for automatic CHANGELOG creation, replace CHANGELOG ([a155cdb](https://github.com/tifuchs/orGUI/commit/a155cdb23fbef6245fba8cf4fb42016f53a805b2))
105
+
106
+ ### Changed
107
+
108
+ - [orGUI.py] - integrated curves can now be hidden/removed ([9c0a93e](https://github.com/tifuchs/orGUI/commit/9c0a93e39e95a773ef2a5b26a10326548d057e93))
109
+ - [ROIRoIntegr] drop requirement of rocking_integrate for s, H_0 and H_1 ([d2400f7](https://github.com/tifuchs/orGUI/commit/d2400f72cb19fd14c8a68acdfd0d6744e62d95b3))
110
+ - [Recip Space Nav dock] automatically expand reflection table to its ma size ([02e842a](https://github.com/tifuchs/orGUI/commit/02e842a967d7ed56d53348753af8a42599cfb341))
111
+ - [integration] Normalize croibg by the number of available pixels ([c126d5c](https://github.com/tifuchs/orGUI/commit/c126d5c2b2f5ae56189e61c784cfee9585365ab5))
112
+ - [RoIntegr] force integrated intensities positive, bugfix in error propagation ([cfbf202](https://github.com/tifuchs/orGUI/commit/cfbf2029d714131c538c4efe3874f3ed5b79eb74))
113
+ - Rework integration: Corrections are applied after background subtraction, add scaling of bg image as method of background subtraction, croi, bgroi are now raw counts, add Corrections and bg image as counter in database ([9067dbb](https://github.com/tifuchs/orGUI/commit/9067dbbce4722fe470ea884a8c57e02ba4a3f40f))
114
+ - Integrate functions return a status message to handle errors in batch processing ([152a713](https://github.com/tifuchs/orGUI/commit/152a7137f36d46672a616c6a62b85542f85f1d19))
115
+ - [Database] Hdf5Model set ownfile=False to avoid multiple open file handles, improve handling of harddrive faults and general I/O errors ([e682e56](https://github.com/tifuchs/orGUI/commit/e682e562fa660f4de4ed05c70ef5b6394e8c90ca))
116
+ - Backends.py / id31_tools.py - adjustments to correctly read and process beamtime ch7856 datasets ([d90b3ff](https://github.com/tifuchs/orGUI/commit/d90b3ffeb3984ea8d8dddf11930134d22e8e35f3))
117
+ - Merge branch 'master' of https://github.com/tifuchs/orGUI ([fddbe5e](https://github.com/tifuchs/orGUI/commit/fddbe5eeabf4b4df239146bdd17eac3bbd53cc92))
118
+ - [CTR] raise more descripitve error when CTR is not in CTRcollection ([a8586ed](https://github.com/tifuchs/orGUI/commit/a8586ed5ab237527e8d5fe458e2ad0c3cd4eee7a))
119
+ - Backends.py - further improved ch7856 scan opening backend function ([dfcd034](https://github.com/tifuchs/orGUI/commit/dfcd03439a9cb8a8cec94c71fcdbbb645688bfc4))
120
+ - OrGUI.py - optimize plotting of rocking scan curves: scans over panel edges (zero intensity in every point) are not plotted anymore and hiding + removing of curves is fixed ([a3a35fb](https://github.com/tifuchs/orGUI/commit/a3a35fbc3d7838f7029ee4ae20b0aa21ee3e4bac))
121
+ - ReciprocalNavigation.py - hotfix of allowed Bragg peak searching function ([9f3ce20](https://github.com/tifuchs/orGUI/commit/9f3ce205eb5b73fd625d84f1cd11da3649212de5))
122
+ - QReflectionSelector.py - typo ([5e22e16](https://github.com/tifuchs/orGUI/commit/5e22e166ab053c52fa8b99458cd1249378217790))
123
+ - Revert "ReciprocalNavigation.py - hotfix of allowed Bragg peak searching function" ([96aeb74](https://github.com/tifuchs/orGUI/commit/96aeb7432969ce5804008be8b7db849ca109a24f))
124
+ - ReciprocalNavigation.py - temporary fix of incorrect Qmax ([5195d34](https://github.com/tifuchs/orGUI/commit/5195d3441173449fc81692eff2d5134ed0fd068a))
125
+ - QReflectionSelector.py - catch errors if Bragg lists are empty ([77d24da](https://github.com/tifuchs/orGUI/commit/77d24dad49803b15dfb12aeee880b3d3866f2867))
126
+ - OrGUI.py - catch exception in rocking_extraction() ([109c18e](https://github.com/tifuchs/orGUI/commit/109c18e199d1456cc7a50d9df0ef97e4c423410d))
127
+ - Orgui.py - small improvements to 'load segemented scan' functionality ([37fc6b7](https://github.com/tifuchs/orGUI/commit/37fc6b7b4b46df099cf76c9086ad954c81bd730c))
128
+ - Improvements to scan concatenation function ([64a9351](https://github.com/tifuchs/orGUI/commit/64a93514214847e818c85b741e34bef9d47e10ca))
129
+ - Merge pull request #32 from tifuchs/ro-Bragg ([bc77481](https://github.com/tifuchs/orGUI/commit/bc774812da79075f2d5ae9905826f30a75638736))
130
+ - [UI] make background image action checkable - allows to disable the image subtraction ([3785b65](https://github.com/tifuchs/orGUI/commit/3785b650d85dbea0f75876d74d28437b0204ca4f))
131
+ - Merge branch 'master' into concatenate-partial-scans ([e97da08](https://github.com/tifuchs/orGUI/commit/e97da08bf7e4922b8444bcee1ceebb5c965a7854))
132
+ - Merge pull request #35 from tifuchs/concatenate-partial-scans ([c3b6a73](https://github.com/tifuchs/orGUI/commit/c3b6a73cc6ca27dd7f4cc7427a15b524bab72965))
133
+ - Update deprecated pyFAI dependencies and functions ([24a4600](https://github.com/tifuchs/orGUI/commit/24a4600332cf4c61754317d23105278b48246dec))
134
+
135
+ ### Fixed
136
+
137
+ - [RoIntegr] Bugfix: apply mask to s and hkl to handle missing data ([a9829fb](https://github.com/tifuchs/orGUI/commit/a9829fb957d4da457e1bc2dd91f599202a92cb3c))
138
+ - [Database] Bugfix: fix gui lock when database has pending operations and main thread is performing database operations by allowing Qt to process events in wait loop ([1822c35](https://github.com/tifuchs/orGUI/commit/1822c353c918fc822a0039fe26f0abcb39a7ada0))
139
+ - [RoPeakIntegr] Bugfix: normalize F2 to integration range ([cda3540](https://github.com/tifuchs/orGUI/commit/cda3540077d21eba800551f8efb16a42e93bc4cc))
140
+ - [RoIntegr] Fix crash when scan is active which is not in database. ([30b6dd0](https://github.com/tifuchs/orGUI/commit/30b6dd0b92663bde6acd2ba5ffa2ab04f0beefc6))
141
+ - [UBcalc] Fix loading of refraction index from config file ([285cbc1](https://github.com/tifuchs/orGUI/commit/285cbc1410f74bbff199567a3f7d45e609c78f64))
142
+ - [RoPeakIntegr] Fix peak position interpolation ([cbc907e](https://github.com/tifuchs/orGUI/commit/cbc907e12d46bc5cd629f66aee237bf77eab0473))
143
+ - [RoPeakIntegr] Fix fit along rod by using intersect point s as abscissa instead of axis ([eb04e01](https://github.com/tifuchs/orGUI/commit/eb04e0104f1a24933c1397d814bf6976bc1ff1cd))
144
+ - [CTRuc] Fix loading of xpr files, fix layered_O water model ([e7d1d00](https://github.com/tifuchs/orGUI/commit/e7d1d005f10dd46d01eab0f0f23de3b8889c68e8))
145
+ - [CTRplot] fix typo ([17543ab](https://github.com/tifuchs/orGUI/commit/17543ab8b3b6ddb6ace46b394e9b61fe752d9d32))
146
+ - OrGUI.py - bugfix in sum image creation ([6b82ccb](https://github.com/tifuchs/orGUI/commit/6b82ccbd02de704c002982c2e42ef56db39e8e1c))
147
+ - [interlacedScan] fix crash if data is missing or corrupted ([ab6abcf](https://github.com/tifuchs/orGUI/commit/ab6abcfd18e825647db742ff452763315f4d5abe))
148
+ - OrGUI.py - fix uncaught exception in integrdata Plot function ([e0ca4fe](https://github.com/tifuchs/orGUI/commit/e0ca4fe320cc833032520ea1cb79498fb49f0eaf))
149
+ - [CTRuc] fix crash in calculation of cartesian position of atom in UnitCell ([774dfe3](https://github.com/tifuchs/orGUI/commit/774dfe34d7672e93830ebd810624bc876181f046))
150
+ - Fix loading of Bragg reflection rocking scans in roIntegr window ([0469f61](https://github.com/tifuchs/orGUI/commit/0469f61eb26c5503491791771e52a69282307a43))
151
+ - [CTRuc] fix loading of unit cell from file with single atom ([baf1d12](https://github.com/tifuchs/orGUI/commit/baf1d121d1c997ab9a9951f6c44acb36c6474aa8))
152
+ - [RoIntegr] fix saving of x y coordinates ([26221e1](https://github.com/tifuchs/orGUI/commit/26221e19313a727c7e1db39fb1c59b27d2f91660))
153
+ - [Ro1DIntegr] fix / remove integration range normalization for F2 calculation ([88403f3](https://github.com/tifuchs/orGUI/commit/88403f33641be594f46c10789705105901da2faf))
154
+ - Fix commit links in clffi.toml template ([eb2d82f](https://github.com/tifuchs/orGUI/commit/eb2d82f796a5f34798d7f78f7794ef73b9231332))
155
+
156
+ ### Removed
157
+
158
+ - InterlacedScanLoader.py - delete function that was defined twice ([2b77efc](https://github.com/tifuchs/orGUI/commit/2b77efc13d33a788ae2846de29b459f10a8a0e63))
120
159
  - [ROIoptions] remove size adjustment of static ROI, remove unused scale factor in ROIoptions dialog. ([4ad37ba](https://github.com/tifuchs/orGUI/commit/4ad37bae01d9d69e5b64025f5851fac5b43e4392))
121
160
 
122
161
  ## [1.3.0] (2025-07-22)
@@ -581,6 +620,7 @@ in form of a README and a diffractometer image showing the geometry.
581
620
  - Remove old reflection spinbox edit, add toolbar buttons instead ([7854679](https://github.com/tifuchs/orGUI/commit/7854679ff96344e40fd9d88334672309f62be219))
582
621
  - Remove array index widget from ArrayTableWidget, as only 1D or 2D arrays are used ([25796e2](https://github.com/tifuchs/orGUI/commit/25796e21f103a2a6f9e4dd8544e941bd7886605d))
583
622
 
623
+ [1.4.1]: https://github.com/tifuchs/orGUI/compare/1.4.0..v1.4.1
584
624
  [1.4.0]: https://github.com/tifuchs/orGUI/compare/1.3.0..v1.4.0
585
625
  [1.3.0]: https://github.com/tifuchs/orGUI/compare/1.2.0..1.3.0
586
626
  [1.2.0]: https://github.com/tifuchs/orGUI/compare/1.1.2..1.2.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orGUI
3
- Version: 1.4.0
3
+ Version: 1.4.1
4
4
  Summary: orGUI: Orientation and Integration with 2D detectors
5
5
  Author-email: Timo Fuchs <tfuchs@cornell.edu>
6
6
  License-Expression: MIT
@@ -23,13 +23,12 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
23
  Requires-Python: >=3.8
24
24
  Description-Content-Type: text/x-rst
25
25
  License-File: LICENSE
26
- Requires-Dist: numpy>=1.12
26
+ Requires-Dist: numpy>=1.16
27
27
  Requires-Dist: scipy>=1.0
28
- Requires-Dist: matplotlib>=1.2
28
+ Requires-Dist: matplotlib>=3.6
29
29
  Requires-Dist: fabio>=0.7
30
30
  Requires-Dist: silx>=1.1
31
- Requires-Dist: pyFAI>=0.19
32
- Requires-Dist: pymca>=5.3
31
+ Requires-Dist: pyFAI!=2025.12.0,!=2025.12.1,!=2026.2.0,>=2023.3
33
32
  Requires-Dist: xraydb>=4.0
34
33
  Requires-Dist: pytz>=2022
35
34
  Provides-Extra: console
@@ -45,6 +44,14 @@ Requires-Dist: ase; extra == "full"
45
44
  Requires-Dist: numba; extra == "full"
46
45
  Requires-Dist: PyOpenGL; extra == "full"
47
46
  Requires-Dist: hdf5plugin; extra == "full"
47
+ Provides-Extra: full-devel
48
+ Requires-Dist: qtconsole; extra == "full-devel"
49
+ Requires-Dist: ase; extra == "full-devel"
50
+ Requires-Dist: numba; extra == "full-devel"
51
+ Requires-Dist: PyOpenGL; extra == "full-devel"
52
+ Requires-Dist: hdf5plugin; extra == "full-devel"
53
+ Requires-Dist: ruff; extra == "full-devel"
54
+ Requires-Dist: pyupgrade; extra == "full-devel"
48
55
  Dynamic: license-file
49
56
 
50
57
 
@@ -150,12 +150,9 @@
150
150
  "%matplotlib widget\n",
151
151
  "\n",
152
152
  "from matplotlib import pyplot as plt\n",
153
- "from matplotlib.colors import LogNorm\n",
154
153
  "\n",
155
154
  "import numpy\n",
156
- "import h5py\n",
157
- "import hdf5plugin\n",
158
- "from h5glance import H5Glance"
155
+ "import hdf5plugin"
159
156
  ]
160
157
  },
161
158
  {
@@ -188,7 +185,7 @@
188
185
  " lambda self: (self.raw_nbytes / 1024**2) / self.read_duration,\n",
189
186
  " doc=\"Unit: MB/sec\")\n",
190
187
  "\n",
191
- " \n",
188
+ "\n",
192
189
  "def display_results(title: str='', key=None, **results):\n",
193
190
  " \"\"\"Plot comparison of compression results.\n",
194
191
  " \n",
@@ -201,12 +198,12 @@
201
198
  " results.items(),\n",
202
199
  " key=(lambda item: item[1].compression_rate) if key is None else key,\n",
203
200
  " ))\n",
204
- " \n",
201
+ "\n",
205
202
  " names = list(results.keys())\n",
206
203
  " write_speed = numpy.array([r.write_speed for r in results.values()])\n",
207
204
  " read_speed = numpy.array([r.read_speed for r in results.values()])\n",
208
205
  " c_rate = numpy.array([r.compression_rate for r in results.values()])\n",
209
- " \n",
206
+ "\n",
210
207
  " #print(f\"hdf5plugin_config: {results[names[0]].config}\")\n",
211
208
  "\n",
212
209
  " fig, axes = plt.subplots(1, 2)\n",
@@ -226,7 +223,7 @@
226
223
  " speed_plt.set_ylim(-0.5, len(ticks)-0.5)\n",
227
224
  " speed_plt.grid(axis=\"x\")\n",
228
225
  " speed_plt.legend()\n",
229
- " \n",
226
+ "\n",
230
227
  " # Compression ratio\n",
231
228
  " c_rate_plt.barh(y=ticks, width=c_rate)\n",
232
229
  " c_rate_plt.set_xlabel(\"Compression rate\")\n",
@@ -259,7 +256,7 @@
259
256
  " else:\n",
260
257
  " tooltip.set_visible(False)\n",
261
258
  " fig.canvas.draw_idle()\n",
262
- " \n",
259
+ "\n",
263
260
  " def resize(event):\n",
264
261
  " fig.tight_layout()\n",
265
262
  "\n",
@@ -309,7 +306,6 @@
309
306
  }
310
307
  ],
311
308
  "source": [
312
- "import os\n",
313
309
  "import sys\n",
314
310
  "\n",
315
311
  "print('Python:', sys.version)\n",
@@ -421,7 +417,7 @@
421
417
  " \"Bitshuffle-zstd\": hdf5plugin.Bitshuffle(cname='zstd'),\n",
422
418
  " }\n",
423
419
  " FILTERS.update(**BITSHUFFLE_FILTERS)\n",
424
- " \n",
420
+ "\n",
425
421
  " BLOSC_FILTERS = {}\n",
426
422
  " for cname in ('lz4', 'blosclz', 'lz4', 'lz4hc', 'snappy', 'zlib', 'zstd'):\n",
427
423
  " for shuffle_name, shuffle in [('NoShuffle', hdf5plugin.Blosc.NOSHUFFLE),\n",
@@ -442,7 +438,7 @@
442
438
  " cname=cname, clevel=clevel, filters=filters)\n",
443
439
  " FILTERS.update(**BLOSC2_FILTERS)\n",
444
440
  "\n",
445
- "except Exception as e:\n",
441
+ "except Exception:\n",
446
442
  " print(\"Unable to load hdf5plugin compression filters:\")\n",
447
443
  " traceback.print_exc()"
448
444
  ]
@@ -8,10 +8,8 @@ import os
8
8
  import sys
9
9
  import tempfile
10
10
  import time
11
- from typing import Optional, NamedTuple
11
+ from typing import NamedTuple
12
12
 
13
- import h5py
14
- import numpy
15
13
 
16
14
 
17
15
  # Set affinity and env. var. before importing hdf5plugin
@@ -54,11 +52,11 @@ class Result(NamedTuple):
54
52
  lambda self: (self.raw_nbytes / 1024**2) / self.read_duration,
55
53
  doc="Unit: MB/sec")
56
54
 
57
-
55
+
58
56
  def benchmark(
59
57
  data: dict,
60
58
  data_nbytes : int,
61
- directory: Optional[str] = None,
59
+ directory: str | None = None,
62
60
  **kwargs
63
61
  ) -> Result:
64
62
  """Run benchmark for given conditions
@@ -81,12 +79,12 @@ def benchmark(
81
79
  # Compression
82
80
  start_write_time = time.perf_counter()
83
81
  dicttonx(data, filename, create_dataset_args=kwargs)
84
-
85
-
82
+
83
+
86
84
  #with h5py.File(filename, "w") as h5file:
87
85
  # dataset = h5file.create_dataset(
88
86
  # "data", shape=data.shape, dtype=data.dtype, **kwargs)
89
- #
87
+ #
90
88
  # dataset[:] = data
91
89
  # dataset.flush()
92
90
  write_duration = time.perf_counter() - start_write_time
@@ -109,7 +107,7 @@ def benchmark(
109
107
 
110
108
  return Result(data_nbytes, storage_size, write_duration, read_duration)
111
109
 
112
-
110
+
113
111
  DEFAULT_FILTERS = { # Filters available with h5py/libhdf5
114
112
  "Raw": None,
115
113
  "GZip": "gzip",
@@ -126,7 +124,7 @@ BITSHUFFLE_FILTERS = {
126
124
  "Bitshuffle-lz4": hdf5plugin.Bitshuffle(cname='lz4'),
127
125
  "Bitshuffle-zstd": hdf5plugin.Bitshuffle(cname='zstd'),
128
126
  }
129
-
127
+
130
128
  BLOSC_FILTERS = {}
131
129
  for cname in ('lz4', 'blosclz', 'lz4', 'lz4hc', 'snappy', 'zlib', 'zstd'):
132
130
  for shuffle_name, shuffle in [('NoShuffle', hdf5plugin.Blosc.NOSHUFFLE),