NeXpy 1.0.10__tar.gz → 2.0.0b2__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 (184) hide show
  1. nexpy-2.0.0b2/.github/dependabot.yaml +13 -0
  2. {nexpy-1.0.10 → nexpy-2.0.0b2}/.github/workflows/ci.yml +1 -1
  3. {nexpy-1.0.10 → nexpy-2.0.0b2}/PKG-INFO +89 -31
  4. {nexpy-1.0.10 → nexpy-2.0.0b2}/conda-recipe/meta.yaml +16 -14
  5. nexpy-2.0.0b2/pyproject.toml +76 -0
  6. nexpy-2.0.0b2/setup.cfg +4 -0
  7. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/NeXpy.egg-info/PKG-INFO +89 -31
  8. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/NeXpy.egg-info/SOURCES.txt +4 -65
  9. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/NeXpy.egg-info/requires.txt +15 -16
  10. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/_version.py +9 -4
  11. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/examples/plugins/chopper_plugin/chopper/convert_qe.py +3 -2
  12. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/examples/plugins/chopper_plugin/chopper/get_ei.py +3 -2
  13. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/consoleapp.py +139 -162
  14. nexpy-1.0.10/setup.py → nexpy-2.0.0b2/src/nexpy/gui/datadialogs.py +9 -4
  15. nexpy-1.0.10/src/nexpy/gui/datadialogs.py → nexpy-2.0.0b2/src/nexpy/gui/dialogs.py +2290 -1607
  16. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/fitdialogs.py +802 -69
  17. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/importdialog.py +24 -9
  18. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/mainwindow.py +631 -253
  19. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/plotview.py +795 -261
  20. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/pyqt.py +9 -0
  21. nexpy-2.0.0b2/src/nexpy/gui/resources/backward-icon.png +0 -0
  22. nexpy-2.0.0b2/src/nexpy/gui/resources/forward-icon.png +0 -0
  23. nexpy-2.0.0b2/src/nexpy/gui/resources/pause-icon.png +0 -0
  24. nexpy-2.0.0b2/src/nexpy/gui/resources/refresh-icon.png +0 -0
  25. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/scripteditor.py +135 -7
  26. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/treeview.py +342 -24
  27. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/utils.py +487 -76
  28. nexpy-2.0.0b2/src/nexpy/gui/widgets.py +4267 -0
  29. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/nexpygui.py +4 -4
  30. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/readers/readspec.py +5 -5
  31. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/readers/readstack.py +9 -15
  32. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/readers/readtiff.py +4 -4
  33. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/readers/readtxt.py +7 -5
  34. {nexpy-1.0.10 → nexpy-2.0.0b2}/tests/test_imports.py +1 -1
  35. nexpy-1.0.10/pyproject.toml +0 -6
  36. nexpy-1.0.10/setup.cfg +0 -87
  37. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXaperture.nxdl.xml +0 -104
  38. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXattenuator.nxdl.xml +0 -123
  39. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXbeam.nxdl.xml +0 -340
  40. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXbeam_stop.nxdl.xml +0 -125
  41. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXbending_magnet.nxdl.xml +0 -120
  42. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXcapillary.nxdl.xml +0 -102
  43. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXcite.nxdl.xml +0 -70
  44. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXcollection.nxdl.xml +0 -68
  45. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXcollimator.nxdl.xml +0 -112
  46. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXcrystal.nxdl.xml +0 -333
  47. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXcylindrical_geometry.nxdl.xml +0 -108
  48. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXdata.nxdl.xml +0 -508
  49. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXdetector.nxdl.xml +0 -967
  50. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXdetector_channel.nxdl.xml +0 -162
  51. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXdetector_group.nxdl.xml +0 -103
  52. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXdetector_module.nxdl.xml +0 -180
  53. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXdisk_chopper.nxdl.xml +0 -179
  54. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXentry.nxdl.xml +0 -230
  55. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXenvironment.nxdl.xml +0 -74
  56. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXevent_data.nxdl.xml +0 -122
  57. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXfermi_chopper.nxdl.xml +0 -114
  58. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXfilter.nxdl.xml +0 -195
  59. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXflipper.nxdl.xml +0 -93
  60. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXfresnel_zone_plate.nxdl.xml +0 -104
  61. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXgeometry.nxdl.xml +0 -80
  62. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXgrating.nxdl.xml +0 -114
  63. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXguide.nxdl.xml +0 -230
  64. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXinsertion_device.nxdl.xml +0 -111
  65. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXinstrument.nxdl.xml +0 -85
  66. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXlog.nxdl.xml +0 -138
  67. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXmirror.nxdl.xml +0 -194
  68. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXmoderator.nxdl.xml +0 -118
  69. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXmonitor.nxdl.xml +0 -160
  70. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXmonochromator.nxdl.xml +0 -108
  71. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXnote.nxdl.xml +0 -72
  72. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXobject.nxdl.xml +0 -34
  73. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXoff_geometry.nxdl.xml +0 -125
  74. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXorientation.nxdl.xml +0 -70
  75. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXparameters.nxdl.xml +0 -49
  76. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXpdb.nxdl.xml +0 -183
  77. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXpinhole.nxdl.xml +0 -78
  78. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXpolarizer.nxdl.xml +0 -83
  79. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXpositioner.nxdl.xml +0 -109
  80. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXprocess.nxdl.xml +0 -70
  81. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXreflections.nxdl.xml +0 -661
  82. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXroot.nxdl.xml +0 -105
  83. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXsample.nxdl.xml +0 -421
  84. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXsample_component.nxdl.xml +0 -155
  85. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXsensor.nxdl.xml +0 -193
  86. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXshape.nxdl.xml +0 -94
  87. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXslit.nxdl.xml +0 -88
  88. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXsource.nxdl.xml +0 -217
  89. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXsubentry.nxdl.xml +0 -189
  90. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXtransformations.nxdl.xml +0 -221
  91. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXtranslation.nxdl.xml +0 -66
  92. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXuser.nxdl.xml +0 -89
  93. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXvelocity_selector.nxdl.xml +0 -108
  94. nexpy-1.0.10/src/nexpy/definitions/base_classes/NXxraylens.nxdl.xml +0 -132
  95. nexpy-1.0.10/src/nexpy/gui/__init__.py +0 -0
  96. nexpy-1.0.10/src/nexpy/gui/resources/backward-icon.png +0 -0
  97. nexpy-1.0.10/src/nexpy/gui/resources/forward-icon.png +0 -0
  98. nexpy-1.0.10/src/nexpy/gui/resources/pause-icon.png +0 -0
  99. nexpy-1.0.10/src/nexpy/gui/resources/refresh-icon.png +0 -0
  100. nexpy-1.0.10/src/nexpy/gui/widgets.py +0 -1378
  101. nexpy-1.0.10/src/nexpy/plugins/__init__.py +0 -0
  102. nexpy-1.0.10/src/nexpy/readers/__init__.py +0 -0
  103. {nexpy-1.0.10 → nexpy-2.0.0b2}/.gitattributes +0 -0
  104. {nexpy-1.0.10 → nexpy-2.0.0b2}/.gitignore +0 -0
  105. {nexpy-1.0.10 → nexpy-2.0.0b2}/COPYING +0 -0
  106. {nexpy-1.0.10 → nexpy-2.0.0b2}/README.md +0 -0
  107. {nexpy-1.0.10 → nexpy-2.0.0b2}/README.rst +0 -0
  108. {nexpy-1.0.10 → nexpy-2.0.0b2}/conda-recipe/bld.bat +0 -0
  109. {nexpy-1.0.10 → nexpy-2.0.0b2}/conda-recipe/build.sh +0 -0
  110. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/Makefile +0 -0
  111. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/make.bat +0 -0
  112. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/_static/__ignore__.txt +0 -0
  113. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/conf.py +0 -0
  114. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/examples.rst +0 -0
  115. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/favicon.ico +0 -0
  116. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/axis-limits-bar.png +0 -0
  117. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/customize-panel.png +0 -0
  118. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/limits-panel.png +0 -0
  119. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/nexpy-fits.png +0 -0
  120. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/nexpy-gui.png +0 -0
  121. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/nexpy-logo.png +0 -0
  122. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/options-tab.png +0 -0
  123. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/projection-panel.png +0 -0
  124. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/projection-tab.png +0 -0
  125. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/scan-panel.png +0 -0
  126. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/signal-tab.png +0 -0
  127. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/simple-plot.png +0 -0
  128. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/skewed-axis.png +0 -0
  129. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/x-tab.png +0 -0
  130. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/y-tab.png +0 -0
  131. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/z-tab.png +0 -0
  132. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/images/z-toolbar.png +0 -0
  133. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/includeme.rst +0 -0
  134. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/index.rst +0 -0
  135. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/pythongui.rst +0 -0
  136. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/pythonshell.rst +0 -0
  137. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/readers.rst +0 -0
  138. {nexpy-1.0.10 → nexpy-2.0.0b2}/doc/source/treeapi.rst +0 -0
  139. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/NeXpy.egg-info/dependency_links.txt +0 -0
  140. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/NeXpy.egg-info/entry_points.txt +0 -0
  141. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/NeXpy.egg-info/pbr.json +0 -0
  142. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/NeXpy.egg-info/top_level.txt +0 -0
  143. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/__init__.py +0 -0
  144. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/api/__init__.py +0 -0
  145. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/api/frills/__init__.py +0 -0
  146. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/api/frills/fit.py +0 -0
  147. {nexpy-1.0.10/src/nexpy/api/frills/functions → nexpy-2.0.0b2/src/nexpy/api/frills/models}/__init__.py +0 -0
  148. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/api/frills/models/bose.py +0 -0
  149. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/api/frills/models/critexp.py +0 -0
  150. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/api/frills/models/op.py +0 -0
  151. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/api/frills/models/pdfdecay.py +0 -0
  152. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/examples/README.rst +0 -0
  153. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/examples/chopper.nxs +0 -0
  154. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/examples/example.nxs +0 -0
  155. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/examples/plugins/README.rst +0 -0
  156. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/examples/plugins/chopper_plugin/chopper/__init__.py +0 -0
  157. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/examples/plugins/chopper_plugin/chopper/__init__.pyc +0 -0
  158. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/examples/plugins/chopper_plugin/chopper/convert_qe.pyc +0 -0
  159. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/examples/plugins/chopper_plugin/chopper/get_ei.pyc +0 -0
  160. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/examples/plugins/chopper_plugin/pyproject.toml +0 -0
  161. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/examples/scripts/README.rst +0 -0
  162. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/examples/scripts/chopper_plot.py +0 -0
  163. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/examples/scripts/example.py +0 -0
  164. {nexpy-1.0.10/src/nexpy/api/frills/models → nexpy-2.0.0b2/src/nexpy/gui}/__init__.py +0 -0
  165. {nexpy-1.0.10/src/nexpy/gui/resources/icon → nexpy-2.0.0b2/src/nexpy/gui/resources}/NeXpy.png +0 -0
  166. {nexpy-1.0.10/src/nexpy/gui/resources/icon → nexpy-2.0.0b2/src/nexpy/gui/resources}/NeXpy.svg +0 -0
  167. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/back.png +0 -0
  168. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/customize.png +0 -0
  169. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/equal.png +0 -0
  170. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/export-data.png +0 -0
  171. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/export-figure.png +0 -0
  172. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/filesave.png +0 -0
  173. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/forward.png +0 -0
  174. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/hand.png +0 -0
  175. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/home.png +0 -0
  176. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/link-icon.png +0 -0
  177. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/lock-icon.png +0 -0
  178. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/lock-red-icon.png +0 -0
  179. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/modify-style.png +0 -0
  180. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/move.png +0 -0
  181. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/unlock-icon.png +0 -0
  182. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/unlock-red-icon.png +0 -0
  183. {nexpy-1.0.10 → nexpy-2.0.0b2}/src/nexpy/gui/resources/zoom_to_rect.png +0 -0
  184. {nexpy-1.0.10/src/nexpy/definitions → nexpy-2.0.0b2/src/nexpy/readers}/__init__.py +0 -0
@@ -0,0 +1,13 @@
1
+ ---
2
+ version: 2
3
+ updates:
4
+ - package-ecosystem: "pip"
5
+ directory: "/"
6
+ schedule:
7
+ interval: "weekly"
8
+
9
+
10
+ - package-ecosystem: "github-actions"
11
+ directory: "/"
12
+ schedule:
13
+ interval: "weekly"
@@ -6,7 +6,7 @@ jobs:
6
6
  runs-on: ${{ matrix.os }}
7
7
  strategy:
8
8
  matrix:
9
- python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
9
+ python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
10
10
  os: [ubuntu-latest, macOS-latest, windows-latest]
11
11
 
12
12
  steps:
@@ -1,51 +1,109 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: NeXpy
3
- Version: 1.0.10
4
- Summary: A Python GUI to analyze NeXus data
5
- Home-page: https://nexpy.github.io/nexpy/
6
- Download-URL: https://github.com/nexpy/nexpy
7
- Author: Raymond Osborn
8
- Author-email: rayosborn@mac.com
9
- License: Modified BSD License
10
- Classifier: Development Status :: 5 - Production/Stable
3
+ Version: 2.0.0b2
4
+ Summary: Python GUI to analyze NeXus data
5
+ Author-email: Raymond Osborn <rayosborn@mac.com>
6
+ License: Licensing Terms for NeXpy
7
+ -------------------------
8
+
9
+ NeXpy is licensed under the terms of the Modified BSD License (also known as
10
+ New or Revised BSD), as follows:
11
+
12
+ Copyright (c) 2014-2021, NeXpy Development Team
13
+
14
+ All rights reserved.
15
+
16
+ Redistribution and use in source and binary forms, with or without
17
+ modification, are permitted provided that the following conditions are met:
18
+
19
+ Redistributions of source code must retain the above copyright notice, this
20
+ list of conditions and the following disclaimer.
21
+
22
+ Redistributions in binary form must reproduce the above copyright notice, this
23
+ list of conditions and the following disclaimer in the documentation and/or
24
+ other materials provided with the distribution.
25
+
26
+ Neither the name of the NeXpy Development Team nor the names of its
27
+ contributors may be used to endorse or promote products derived from this
28
+ software without specific prior written permission.
29
+
30
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
31
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
32
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
33
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
34
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
35
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
36
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
37
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
38
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
39
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40
+
41
+ About the NeXpy Development Team
42
+ ----------------------------------
43
+
44
+ The NeXpy Development Team is the set of all contributors to the NeXpy
45
+ project on the Github at https://github.com/nexpy/nexpy. The project is
46
+ currently led by Ray Osborn.
47
+
48
+ Copyright
49
+ ---------
50
+
51
+ The following banner should be used in any source code file to indicate the
52
+ copyright and license terms:
53
+
54
+ #-----------------------------------------------------------------------------
55
+ # Copyright (c) 2014-2021, NeXpy Development Team.
56
+ #
57
+ # Distributed under the terms of the Modified BSD License.
58
+ #
59
+ # The full license is in the file COPYING, distributed with this software.
60
+ #-----------------------------------------------------------------------------
61
+
62
+ Project-URL: Homepage, https://nexpy.github.io/nexpy
63
+ Project-URL: Repository, https://github.com/nexpy/nexpy.git
64
+ Project-URL: Issues, https://github.com/nexpy/nexpy/issues
65
+ Project-URL: Documentation, https://nexpy.github.io/nexpy
66
+ Project-URL: Changelog, https://github.com/nexpy/nexpy/releases
67
+ Keywords: neutron scattering,x-ray scattering,data analysis,visualization
68
+ Classifier: Development Status :: 4 - Beta
69
+ Classifier: License :: OSI Approved :: BSD License
11
70
  Classifier: Intended Audience :: Developers
12
71
  Classifier: Intended Audience :: Science/Research
13
- Classifier: License :: OSI Approved :: BSD License
14
- Classifier: Programming Language :: Python
72
+ Classifier: Topic :: Scientific/Engineering
15
73
  Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.7
17
- Classifier: Programming Language :: Python :: 3.8
18
74
  Classifier: Programming Language :: Python :: 3.9
19
75
  Classifier: Programming Language :: Python :: 3.10
20
76
  Classifier: Programming Language :: Python :: 3.11
21
77
  Classifier: Programming Language :: Python :: 3.12
78
+ Classifier: Programming Language :: Python :: 3.13
22
79
  Classifier: Topic :: Scientific/Engineering
23
80
  Classifier: Topic :: Scientific/Engineering :: Visualization
24
- Requires-Python: >=3.7
81
+ Requires-Python: >=3.9
25
82
  Description-Content-Type: text/markdown
26
83
  License-File: COPYING
27
- Requires-Dist: nexusformat>=1.0.7
28
- Requires-Dist: numpy
29
- Requires-Dist: scipy
30
- Requires-Dist: h5py>=2.9
31
- Requires-Dist: qtpy>=2.4
32
- Requires-Dist: qtconsole>=5.4.3
84
+ Requires-Dist: ansi2html
85
+ Requires-Dist: fabio
86
+ Requires-Dist: h5py
33
87
  Requires-Dist: ipython
34
- Requires-Dist: ipykernel>=6.15.2
88
+ Requires-Dist: lmfit
35
89
  Requires-Dist: matplotlib
36
- Requires-Dist: lmfit>=1.0.3
37
- Requires-Dist: pylatexenc
38
- Requires-Dist: ansi2html
39
- Requires-Dist: pillow
40
90
  Requires-Dist: mplcursors
41
- Requires-Dist: importlib-metadata; python_version < "3.10"
42
- Requires-Dist: setuptools
43
- Provides-Extra: spec
44
- Requires-Dist: spec2nexus; extra == "spec"
45
- Provides-Extra: fabio
46
- Requires-Dist: fabio; extra == "fabio"
91
+ Requires-Dist: nexusformat>=2.0.0b1
92
+ Requires-Dist: numpy
93
+ Requires-Dist: packaging
94
+ Requires-Dist: pillow
95
+ Requires-Dist: pygments
96
+ Requires-Dist: pylatexenc
97
+ Requires-Dist: qtconsole
98
+ Requires-Dist: qtpy
99
+ Requires-Dist: scipy
100
+ Requires-Dist: importlib_metadata; python_version < "3.10"
101
+ Requires-Dist: importlib_resources; python_version < "3.10"
47
102
  Provides-Extra: testing
48
103
  Requires-Dist: pytest; extra == "testing"
104
+ Provides-Extra: spec
105
+ Requires-Dist: spec2nexus; extra == "spec"
106
+ Dynamic: license-file
49
107
 
50
108
  Introduction
51
109
  ============
@@ -1,10 +1,10 @@
1
1
  package:
2
2
  name: nexpy
3
- version: "1.0.10"
3
+ version: "2.0.0"
4
4
 
5
5
  source:
6
6
  git_url: https://github.com/nexpy/nexpy.git
7
- git_tag: v1.0.10
7
+ git_tag: v2.0.0
8
8
 
9
9
  build:
10
10
  entry_points:
@@ -14,26 +14,28 @@ build:
14
14
 
15
15
  requirements:
16
16
  build:
17
- - python >=3.7
17
+ - python >=3.9
18
18
  - setuptools
19
19
  - setuptools_scm
20
20
 
21
21
  run:
22
- - python >=3.7
23
- - nexusformat >=1.0.7
24
- - numpy
25
- - scipy
22
+ - python >= 3.9
23
+ - ansi2html
24
+ - fabio
26
25
  - h5py
27
- - qtpy >= 2.4
28
26
  - ipython
29
- - qtconsole >= 5.4.3
30
- - ipykernel >=6.15.2
27
+ - lmfit
31
28
  - matplotlib
32
- - lmfit >=1.0.3
33
- - ansi2html
34
- - pylatexenc
35
- - pillow
36
29
  - mplcursors
30
+ - nexusformat >= 2.0.0b1
31
+ - numpy
32
+ - packaging
33
+ - pillow
34
+ - pygments
35
+ - pylatexenc
36
+ - qtconsole
37
+ - qtpy
38
+ - scipy
37
39
 
38
40
  test:
39
41
  imports:
@@ -0,0 +1,76 @@
1
+ [build-system]
2
+ requires = ["setuptools >= 64", "setuptools_scm >= 8"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "NeXpy"
7
+ dynamic = ["version"]
8
+ description = "Python GUI to analyze NeXus data"
9
+ readme = "README.md"
10
+ license = {file = "COPYING"}
11
+ authors = [{name = "Raymond Osborn", email = "rayosborn@mac.com"}]
12
+ classifiers = [
13
+ "Development Status :: 4 - Beta",
14
+ "License :: OSI Approved :: BSD License",
15
+ "Intended Audience :: Developers",
16
+ "Intended Audience :: Science/Research",
17
+ "Topic :: Scientific/Engineering",
18
+ "Programming Language :: Python :: 3",
19
+ "Programming Language :: Python :: 3.9",
20
+ "Programming Language :: Python :: 3.10",
21
+ "Programming Language :: Python :: 3.11",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Programming Language :: Python :: 3.13",
24
+ "Topic :: Scientific/Engineering",
25
+ "Topic :: Scientific/Engineering :: Visualization",
26
+ ]
27
+
28
+ keywords = [
29
+ "neutron scattering",
30
+ "x-ray scattering",
31
+ "data analysis",
32
+ "visualization",
33
+ ]
34
+ requires-python = ">=3.9"
35
+ dependencies = [
36
+ "ansi2html",
37
+ "fabio",
38
+ "h5py",
39
+ "ipython",
40
+ "lmfit",
41
+ "matplotlib",
42
+ "mplcursors",
43
+ "nexusformat >= 2.0.0b1",
44
+ "numpy",
45
+ "packaging",
46
+ "pillow",
47
+ "pygments",
48
+ "pylatexenc",
49
+ "qtconsole",
50
+ "qtpy",
51
+ "scipy",
52
+ "importlib_metadata; python_version < '3.10'",
53
+ "importlib_resources; python_version < '3.10'"
54
+ ]
55
+
56
+ [project.optional-dependencies]
57
+ testing = ["pytest"]
58
+ spec = ["spec2nexus"]
59
+
60
+ [project.urls]
61
+ Homepage = "https://nexpy.github.io/nexpy"
62
+ Repository = "https://github.com/nexpy/nexpy.git"
63
+ Issues = "https://github.com/nexpy/nexpy/issues"
64
+ Documentation = "https://nexpy.github.io/nexpy"
65
+ Changelog = "https://github.com/nexpy/nexpy/releases"
66
+
67
+ [project.gui-scripts]
68
+ nexpy = "nexpy.nexpygui:main"
69
+
70
+ [tool.setuptools_scm]
71
+ version_file = "src/nexpy/_version.py"
72
+
73
+ [tool.setuptools.package-data]
74
+ "nexpy.gui.frills.models" = ["*.py"]
75
+ "nexpy.gui.resources" = ["*.*"]
76
+ "nexpy.examples" = ["*.*", "*/*.*", "*/*/*.*", "*/*/*/*.*"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -1,51 +1,109 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: NeXpy
3
- Version: 1.0.10
4
- Summary: A Python GUI to analyze NeXus data
5
- Home-page: https://nexpy.github.io/nexpy/
6
- Download-URL: https://github.com/nexpy/nexpy
7
- Author: Raymond Osborn
8
- Author-email: rayosborn@mac.com
9
- License: Modified BSD License
10
- Classifier: Development Status :: 5 - Production/Stable
3
+ Version: 2.0.0b2
4
+ Summary: Python GUI to analyze NeXus data
5
+ Author-email: Raymond Osborn <rayosborn@mac.com>
6
+ License: Licensing Terms for NeXpy
7
+ -------------------------
8
+
9
+ NeXpy is licensed under the terms of the Modified BSD License (also known as
10
+ New or Revised BSD), as follows:
11
+
12
+ Copyright (c) 2014-2021, NeXpy Development Team
13
+
14
+ All rights reserved.
15
+
16
+ Redistribution and use in source and binary forms, with or without
17
+ modification, are permitted provided that the following conditions are met:
18
+
19
+ Redistributions of source code must retain the above copyright notice, this
20
+ list of conditions and the following disclaimer.
21
+
22
+ Redistributions in binary form must reproduce the above copyright notice, this
23
+ list of conditions and the following disclaimer in the documentation and/or
24
+ other materials provided with the distribution.
25
+
26
+ Neither the name of the NeXpy Development Team nor the names of its
27
+ contributors may be used to endorse or promote products derived from this
28
+ software without specific prior written permission.
29
+
30
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
31
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
32
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
33
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
34
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
35
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
36
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
37
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
38
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
39
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40
+
41
+ About the NeXpy Development Team
42
+ ----------------------------------
43
+
44
+ The NeXpy Development Team is the set of all contributors to the NeXpy
45
+ project on the Github at https://github.com/nexpy/nexpy. The project is
46
+ currently led by Ray Osborn.
47
+
48
+ Copyright
49
+ ---------
50
+
51
+ The following banner should be used in any source code file to indicate the
52
+ copyright and license terms:
53
+
54
+ #-----------------------------------------------------------------------------
55
+ # Copyright (c) 2014-2021, NeXpy Development Team.
56
+ #
57
+ # Distributed under the terms of the Modified BSD License.
58
+ #
59
+ # The full license is in the file COPYING, distributed with this software.
60
+ #-----------------------------------------------------------------------------
61
+
62
+ Project-URL: Homepage, https://nexpy.github.io/nexpy
63
+ Project-URL: Repository, https://github.com/nexpy/nexpy.git
64
+ Project-URL: Issues, https://github.com/nexpy/nexpy/issues
65
+ Project-URL: Documentation, https://nexpy.github.io/nexpy
66
+ Project-URL: Changelog, https://github.com/nexpy/nexpy/releases
67
+ Keywords: neutron scattering,x-ray scattering,data analysis,visualization
68
+ Classifier: Development Status :: 4 - Beta
69
+ Classifier: License :: OSI Approved :: BSD License
11
70
  Classifier: Intended Audience :: Developers
12
71
  Classifier: Intended Audience :: Science/Research
13
- Classifier: License :: OSI Approved :: BSD License
14
- Classifier: Programming Language :: Python
72
+ Classifier: Topic :: Scientific/Engineering
15
73
  Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.7
17
- Classifier: Programming Language :: Python :: 3.8
18
74
  Classifier: Programming Language :: Python :: 3.9
19
75
  Classifier: Programming Language :: Python :: 3.10
20
76
  Classifier: Programming Language :: Python :: 3.11
21
77
  Classifier: Programming Language :: Python :: 3.12
78
+ Classifier: Programming Language :: Python :: 3.13
22
79
  Classifier: Topic :: Scientific/Engineering
23
80
  Classifier: Topic :: Scientific/Engineering :: Visualization
24
- Requires-Python: >=3.7
81
+ Requires-Python: >=3.9
25
82
  Description-Content-Type: text/markdown
26
83
  License-File: COPYING
27
- Requires-Dist: nexusformat>=1.0.7
28
- Requires-Dist: numpy
29
- Requires-Dist: scipy
30
- Requires-Dist: h5py>=2.9
31
- Requires-Dist: qtpy>=2.4
32
- Requires-Dist: qtconsole>=5.4.3
84
+ Requires-Dist: ansi2html
85
+ Requires-Dist: fabio
86
+ Requires-Dist: h5py
33
87
  Requires-Dist: ipython
34
- Requires-Dist: ipykernel>=6.15.2
88
+ Requires-Dist: lmfit
35
89
  Requires-Dist: matplotlib
36
- Requires-Dist: lmfit>=1.0.3
37
- Requires-Dist: pylatexenc
38
- Requires-Dist: ansi2html
39
- Requires-Dist: pillow
40
90
  Requires-Dist: mplcursors
41
- Requires-Dist: importlib-metadata; python_version < "3.10"
42
- Requires-Dist: setuptools
43
- Provides-Extra: spec
44
- Requires-Dist: spec2nexus; extra == "spec"
45
- Provides-Extra: fabio
46
- Requires-Dist: fabio; extra == "fabio"
91
+ Requires-Dist: nexusformat>=2.0.0b1
92
+ Requires-Dist: numpy
93
+ Requires-Dist: packaging
94
+ Requires-Dist: pillow
95
+ Requires-Dist: pygments
96
+ Requires-Dist: pylatexenc
97
+ Requires-Dist: qtconsole
98
+ Requires-Dist: qtpy
99
+ Requires-Dist: scipy
100
+ Requires-Dist: importlib_metadata; python_version < "3.10"
101
+ Requires-Dist: importlib_resources; python_version < "3.10"
47
102
  Provides-Extra: testing
48
103
  Requires-Dist: pytest; extra == "testing"
104
+ Provides-Extra: spec
105
+ Requires-Dist: spec2nexus; extra == "spec"
106
+ Dynamic: license-file
49
107
 
50
108
  Introduction
51
109
  ============
@@ -4,8 +4,7 @@ COPYING
4
4
  README.md
5
5
  README.rst
6
6
  pyproject.toml
7
- setup.cfg
8
- setup.py
7
+ .github/dependabot.yaml
9
8
  .github/workflows/ci.yml
10
9
  conda-recipe/bld.bat
11
10
  conda-recipe/build.sh
@@ -52,71 +51,11 @@ src/nexpy/nexpygui.py
52
51
  src/nexpy/api/__init__.py
53
52
  src/nexpy/api/frills/__init__.py
54
53
  src/nexpy/api/frills/fit.py
55
- src/nexpy/api/frills/functions/__init__.py
56
54
  src/nexpy/api/frills/models/__init__.py
57
55
  src/nexpy/api/frills/models/bose.py
58
56
  src/nexpy/api/frills/models/critexp.py
59
57
  src/nexpy/api/frills/models/op.py
60
58
  src/nexpy/api/frills/models/pdfdecay.py
61
- src/nexpy/definitions/__init__.py
62
- src/nexpy/definitions/base_classes/NXaperture.nxdl.xml
63
- src/nexpy/definitions/base_classes/NXattenuator.nxdl.xml
64
- src/nexpy/definitions/base_classes/NXbeam.nxdl.xml
65
- src/nexpy/definitions/base_classes/NXbeam_stop.nxdl.xml
66
- src/nexpy/definitions/base_classes/NXbending_magnet.nxdl.xml
67
- src/nexpy/definitions/base_classes/NXcapillary.nxdl.xml
68
- src/nexpy/definitions/base_classes/NXcite.nxdl.xml
69
- src/nexpy/definitions/base_classes/NXcollection.nxdl.xml
70
- src/nexpy/definitions/base_classes/NXcollimator.nxdl.xml
71
- src/nexpy/definitions/base_classes/NXcrystal.nxdl.xml
72
- src/nexpy/definitions/base_classes/NXcylindrical_geometry.nxdl.xml
73
- src/nexpy/definitions/base_classes/NXdata.nxdl.xml
74
- src/nexpy/definitions/base_classes/NXdetector.nxdl.xml
75
- src/nexpy/definitions/base_classes/NXdetector_channel.nxdl.xml
76
- src/nexpy/definitions/base_classes/NXdetector_group.nxdl.xml
77
- src/nexpy/definitions/base_classes/NXdetector_module.nxdl.xml
78
- src/nexpy/definitions/base_classes/NXdisk_chopper.nxdl.xml
79
- src/nexpy/definitions/base_classes/NXentry.nxdl.xml
80
- src/nexpy/definitions/base_classes/NXenvironment.nxdl.xml
81
- src/nexpy/definitions/base_classes/NXevent_data.nxdl.xml
82
- src/nexpy/definitions/base_classes/NXfermi_chopper.nxdl.xml
83
- src/nexpy/definitions/base_classes/NXfilter.nxdl.xml
84
- src/nexpy/definitions/base_classes/NXflipper.nxdl.xml
85
- src/nexpy/definitions/base_classes/NXfresnel_zone_plate.nxdl.xml
86
- src/nexpy/definitions/base_classes/NXgeometry.nxdl.xml
87
- src/nexpy/definitions/base_classes/NXgrating.nxdl.xml
88
- src/nexpy/definitions/base_classes/NXguide.nxdl.xml
89
- src/nexpy/definitions/base_classes/NXinsertion_device.nxdl.xml
90
- src/nexpy/definitions/base_classes/NXinstrument.nxdl.xml
91
- src/nexpy/definitions/base_classes/NXlog.nxdl.xml
92
- src/nexpy/definitions/base_classes/NXmirror.nxdl.xml
93
- src/nexpy/definitions/base_classes/NXmoderator.nxdl.xml
94
- src/nexpy/definitions/base_classes/NXmonitor.nxdl.xml
95
- src/nexpy/definitions/base_classes/NXmonochromator.nxdl.xml
96
- src/nexpy/definitions/base_classes/NXnote.nxdl.xml
97
- src/nexpy/definitions/base_classes/NXobject.nxdl.xml
98
- src/nexpy/definitions/base_classes/NXoff_geometry.nxdl.xml
99
- src/nexpy/definitions/base_classes/NXorientation.nxdl.xml
100
- src/nexpy/definitions/base_classes/NXparameters.nxdl.xml
101
- src/nexpy/definitions/base_classes/NXpdb.nxdl.xml
102
- src/nexpy/definitions/base_classes/NXpinhole.nxdl.xml
103
- src/nexpy/definitions/base_classes/NXpolarizer.nxdl.xml
104
- src/nexpy/definitions/base_classes/NXpositioner.nxdl.xml
105
- src/nexpy/definitions/base_classes/NXprocess.nxdl.xml
106
- src/nexpy/definitions/base_classes/NXreflections.nxdl.xml
107
- src/nexpy/definitions/base_classes/NXroot.nxdl.xml
108
- src/nexpy/definitions/base_classes/NXsample.nxdl.xml
109
- src/nexpy/definitions/base_classes/NXsample_component.nxdl.xml
110
- src/nexpy/definitions/base_classes/NXsensor.nxdl.xml
111
- src/nexpy/definitions/base_classes/NXshape.nxdl.xml
112
- src/nexpy/definitions/base_classes/NXslit.nxdl.xml
113
- src/nexpy/definitions/base_classes/NXsource.nxdl.xml
114
- src/nexpy/definitions/base_classes/NXsubentry.nxdl.xml
115
- src/nexpy/definitions/base_classes/NXtransformations.nxdl.xml
116
- src/nexpy/definitions/base_classes/NXtranslation.nxdl.xml
117
- src/nexpy/definitions/base_classes/NXuser.nxdl.xml
118
- src/nexpy/definitions/base_classes/NXvelocity_selector.nxdl.xml
119
- src/nexpy/definitions/base_classes/NXxraylens.nxdl.xml
120
59
  src/nexpy/examples/README.rst
121
60
  src/nexpy/examples/chopper.nxs
122
61
  src/nexpy/examples/example.nxs
@@ -134,6 +73,7 @@ src/nexpy/examples/scripts/example.py
134
73
  src/nexpy/gui/__init__.py
135
74
  src/nexpy/gui/consoleapp.py
136
75
  src/nexpy/gui/datadialogs.py
76
+ src/nexpy/gui/dialogs.py
137
77
  src/nexpy/gui/fitdialogs.py
138
78
  src/nexpy/gui/importdialog.py
139
79
  src/nexpy/gui/mainwindow.py
@@ -143,6 +83,8 @@ src/nexpy/gui/scripteditor.py
143
83
  src/nexpy/gui/treeview.py
144
84
  src/nexpy/gui/utils.py
145
85
  src/nexpy/gui/widgets.py
86
+ src/nexpy/gui/resources/NeXpy.png
87
+ src/nexpy/gui/resources/NeXpy.svg
146
88
  src/nexpy/gui/resources/back.png
147
89
  src/nexpy/gui/resources/backward-icon.png
148
90
  src/nexpy/gui/resources/customize.png
@@ -164,9 +106,6 @@ src/nexpy/gui/resources/refresh-icon.png
164
106
  src/nexpy/gui/resources/unlock-icon.png
165
107
  src/nexpy/gui/resources/unlock-red-icon.png
166
108
  src/nexpy/gui/resources/zoom_to_rect.png
167
- src/nexpy/gui/resources/icon/NeXpy.png
168
- src/nexpy/gui/resources/icon/NeXpy.svg
169
- src/nexpy/plugins/__init__.py
170
109
  src/nexpy/readers/__init__.py
171
110
  src/nexpy/readers/readspec.py
172
111
  src/nexpy/readers/readstack.py
@@ -1,24 +1,23 @@
1
- nexusformat>=1.0.7
2
- numpy
3
- scipy
4
- h5py>=2.9
5
- qtpy>=2.4
6
- qtconsole>=5.4.3
1
+ ansi2html
2
+ fabio
3
+ h5py
7
4
  ipython
8
- ipykernel>=6.15.2
5
+ lmfit
9
6
  matplotlib
10
- lmfit>=1.0.3
11
- pylatexenc
12
- ansi2html
13
- pillow
14
7
  mplcursors
15
- setuptools
8
+ nexusformat>=2.0.0b1
9
+ numpy
10
+ packaging
11
+ pillow
12
+ pygments
13
+ pylatexenc
14
+ qtconsole
15
+ qtpy
16
+ scipy
16
17
 
17
18
  [:python_version < "3.10"]
18
- importlib-metadata
19
-
20
- [fabio]
21
- fabio
19
+ importlib_metadata
20
+ importlib_resources
22
21
 
23
22
  [spec]
24
23
  spec2nexus
@@ -1,8 +1,13 @@
1
- # file generated by setuptools_scm
1
+ # file generated by setuptools-scm
2
2
  # don't change, don't track in version control
3
+
4
+ __all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
5
+
3
6
  TYPE_CHECKING = False
4
7
  if TYPE_CHECKING:
5
- from typing import Tuple, Union
8
+ from typing import Tuple
9
+ from typing import Union
10
+
6
11
  VERSION_TUPLE = Tuple[Union[int, str], ...]
7
12
  else:
8
13
  VERSION_TUPLE = object
@@ -12,5 +17,5 @@ __version__: str
12
17
  __version_tuple__: VERSION_TUPLE
13
18
  version_tuple: VERSION_TUPLE
14
19
 
15
- __version__ = version = '1.0.10'
16
- __version_tuple__ = version_tuple = (1, 0, 10)
20
+ __version__ = version = '2.0.0b2'
21
+ __version_tuple__ = version_tuple = (2, 0, 0, 'b2')
@@ -1,9 +1,10 @@
1
1
  import numpy as np
2
- from nexpy.gui.datadialogs import GridParameters, NXDialog
3
- from nexpy.gui.utils import report_error
4
2
  from nexusformat.nexus import NeXusError, NXdata, NXfield
5
3
  from nexusformat.nexus.tree import centers
6
4
 
5
+ from nexpy.gui.utils import report_error
6
+ from nexpy.gui.widgets import GridParameters, NXDialog
7
+
7
8
 
8
9
  def show_dialog():
9
10
  try:
@@ -1,8 +1,9 @@
1
1
  import numpy as np
2
- from nexpy.gui.datadialogs import GridParameters, NXDialog
3
- from nexpy.gui.utils import report_error
4
2
  from nexusformat.nexus import NeXusError
5
3
 
4
+ from nexpy.gui.utils import report_error
5
+ from nexpy.gui.widgets import GridParameters, NXDialog
6
+
6
7
 
7
8
  def show_dialog():
8
9
  try: