NeXpy 1.0.6__tar.gz → 1.0.8__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 (229) hide show
  1. {NeXpy-1.0.6 → nexpy-1.0.8}/.github/workflows/ci.yml +3 -3
  2. {NeXpy-1.0.6 → nexpy-1.0.8}/PKG-INFO +4 -2
  3. {NeXpy-1.0.6 → nexpy-1.0.8}/conda-recipe/meta.yaml +3 -3
  4. {NeXpy-1.0.6 → nexpy-1.0.8}/setup.cfg +3 -1
  5. {NeXpy-1.0.6 → nexpy-1.0.8}/src/NeXpy.egg-info/PKG-INFO +4 -2
  6. {NeXpy-1.0.6 → nexpy-1.0.8}/src/NeXpy.egg-info/SOURCES.txt +1 -51
  7. {NeXpy-1.0.6 → nexpy-1.0.8}/src/NeXpy.egg-info/requires.txt +2 -1
  8. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/_version.py +2 -2
  9. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXaperture.nxdl.xml +40 -5
  10. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXattenuator.nxdl.xml +35 -3
  11. nexpy-1.0.8/src/nexpy/definitions/base_classes/NXbeam.nxdl.xml +340 -0
  12. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXbeam_stop.nxdl.xml +56 -8
  13. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXbending_magnet.nxdl.xml +31 -2
  14. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcapillary.nxdl.xml +23 -1
  15. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcite.nxdl.xml +1 -1
  16. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcollection.nxdl.xml +1 -1
  17. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcollimator.nxdl.xml +32 -2
  18. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcrystal.nxdl.xml +31 -4
  19. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcylindrical_geometry.nxdl.xml +1 -1
  20. nexpy-1.0.8/src/nexpy/definitions/base_classes/NXdata.nxdl.xml +508 -0
  21. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXdetector.nxdl.xml +192 -45
  22. nexpy-1.0.8/src/nexpy/definitions/base_classes/NXdetector_channel.nxdl.xml +162 -0
  23. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXdetector_group.nxdl.xml +1 -1
  24. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXdetector_module.nxdl.xml +6 -1
  25. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXdisk_chopper.nxdl.xml +41 -3
  26. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXentry.nxdl.xml +49 -41
  27. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXenvironment.nxdl.xml +23 -2
  28. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXevent_data.nxdl.xml +1 -1
  29. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXfermi_chopper.nxdl.xml +30 -3
  30. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXfilter.nxdl.xml +30 -3
  31. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXflipper.nxdl.xml +24 -2
  32. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXfresnel_zone_plate.nxdl.xml +25 -3
  33. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXgeometry.nxdl.xml +1 -1
  34. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXgrating.nxdl.xml +27 -3
  35. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXguide.nxdl.xml +35 -3
  36. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXinsertion_device.nxdl.xml +28 -2
  37. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXinstrument.nxdl.xml +1 -1
  38. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXlog.nxdl.xml +3 -3
  39. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXmirror.nxdl.xml +35 -3
  40. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXmoderator.nxdl.xml +36 -3
  41. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXmonitor.nxdl.xml +36 -5
  42. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXmonochromator.nxdl.xml +28 -2
  43. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXnote.nxdl.xml +1 -1
  44. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXobject.nxdl.xml +1 -1
  45. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXoff_geometry.nxdl.xml +1 -1
  46. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXorientation.nxdl.xml +1 -1
  47. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXparameters.nxdl.xml +1 -1
  48. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXpdb.nxdl.xml +1 -1
  49. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXpinhole.nxdl.xml +17 -1
  50. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXpolarizer.nxdl.xml +23 -1
  51. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXpositioner.nxdl.xml +23 -1
  52. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXprocess.nxdl.xml +1 -1
  53. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXroot.nxdl.xml +18 -14
  54. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXsample.nxdl.xml +38 -11
  55. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXsample_component.nxdl.xml +1 -1
  56. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXsensor.nxdl.xml +32 -3
  57. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXshape.nxdl.xml +1 -1
  58. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXslit.nxdl.xml +18 -1
  59. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXsource.nxdl.xml +35 -3
  60. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXsubentry.nxdl.xml +18 -14
  61. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXtransformations.nxdl.xml +30 -4
  62. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXtranslation.nxdl.xml +1 -1
  63. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXuser.nxdl.xml +1 -1
  64. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXvelocity_selector.nxdl.xml +29 -2
  65. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXxraylens.nxdl.xml +28 -1
  66. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/consoleapp.py +1 -2
  67. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/mainwindow.py +30 -3
  68. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/plotview.py +5 -2
  69. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/treeview.py +11 -20
  70. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/utils.py +2 -4
  71. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/nexpygui.py +4 -0
  72. NeXpy-1.0.6/src/nexpy/definitions/applications/NXarchive.nxdl.xml +0 -170
  73. NeXpy-1.0.6/src/nexpy/definitions/applications/NXarpes.nxdl.xml +0 -134
  74. NeXpy-1.0.6/src/nexpy/definitions/applications/NXcanSAS.nxdl.xml +0 -1291
  75. NeXpy-1.0.6/src/nexpy/definitions/applications/NXdirecttof.nxdl.xml +0 -63
  76. NeXpy-1.0.6/src/nexpy/definitions/applications/NXfluo.nxdl.xml +0 -107
  77. NeXpy-1.0.6/src/nexpy/definitions/applications/NXindirecttof.nxdl.xml +0 -68
  78. NeXpy-1.0.6/src/nexpy/definitions/applications/NXiqproc.nxdl.xml +0 -116
  79. NeXpy-1.0.6/src/nexpy/definitions/applications/NXlauetof.nxdl.xml +0 -144
  80. NeXpy-1.0.6/src/nexpy/definitions/applications/NXmonopd.nxdl.xml +0 -135
  81. NeXpy-1.0.6/src/nexpy/definitions/applications/NXmx.nxdl.xml +0 -871
  82. NeXpy-1.0.6/src/nexpy/definitions/applications/NXrefscan.nxdl.xml +0 -120
  83. NeXpy-1.0.6/src/nexpy/definitions/applications/NXreftof.nxdl.xml +0 -126
  84. NeXpy-1.0.6/src/nexpy/definitions/applications/NXsas.nxdl.xml +0 -191
  85. NeXpy-1.0.6/src/nexpy/definitions/applications/NXsastof.nxdl.xml +0 -182
  86. NeXpy-1.0.6/src/nexpy/definitions/applications/NXscan.nxdl.xml +0 -110
  87. NeXpy-1.0.6/src/nexpy/definitions/applications/NXspe.nxdl.xml +0 -76
  88. NeXpy-1.0.6/src/nexpy/definitions/applications/NXsqom.nxdl.xml +0 -121
  89. NeXpy-1.0.6/src/nexpy/definitions/applications/NXstxm.nxdl.xml +0 -203
  90. NeXpy-1.0.6/src/nexpy/definitions/applications/NXtas.nxdl.xml +0 -191
  91. NeXpy-1.0.6/src/nexpy/definitions/applications/NXtofnpd.nxdl.xml +0 -130
  92. NeXpy-1.0.6/src/nexpy/definitions/applications/NXtofraw.nxdl.xml +0 -146
  93. NeXpy-1.0.6/src/nexpy/definitions/applications/NXtofsingle.nxdl.xml +0 -141
  94. NeXpy-1.0.6/src/nexpy/definitions/applications/NXtomo.nxdl.xml +0 -153
  95. NeXpy-1.0.6/src/nexpy/definitions/applications/NXtomophase.nxdl.xml +0 -172
  96. NeXpy-1.0.6/src/nexpy/definitions/applications/NXtomoproc.nxdl.xml +0 -130
  97. NeXpy-1.0.6/src/nexpy/definitions/applications/NXxas.nxdl.xml +0 -122
  98. NeXpy-1.0.6/src/nexpy/definitions/applications/NXxasproc.nxdl.xml +0 -93
  99. NeXpy-1.0.6/src/nexpy/definitions/applications/NXxbase.nxdl.xml +0 -182
  100. NeXpy-1.0.6/src/nexpy/definitions/applications/NXxeuler.nxdl.xml +0 -103
  101. NeXpy-1.0.6/src/nexpy/definitions/applications/NXxkappa.nxdl.xml +0 -102
  102. NeXpy-1.0.6/src/nexpy/definitions/applications/NXxlaue.nxdl.xml +0 -72
  103. NeXpy-1.0.6/src/nexpy/definitions/applications/NXxlaueplate.nxdl.xml +0 -51
  104. NeXpy-1.0.6/src/nexpy/definitions/applications/NXxnb.nxdl.xml +0 -97
  105. NeXpy-1.0.6/src/nexpy/definitions/applications/NXxrot.nxdl.xml +0 -94
  106. NeXpy-1.0.6/src/nexpy/definitions/applications/nxdlformat.xsl +0 -221
  107. NeXpy-1.0.6/src/nexpy/definitions/base_classes/NXbeam.nxdl.xml +0 -145
  108. NeXpy-1.0.6/src/nexpy/definitions/base_classes/NXdata.nxdl.xml +0 -435
  109. NeXpy-1.0.6/src/nexpy/definitions/base_classes/nxdlformat.xsl +0 -198
  110. NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXcontainer.nxdl.xml +0 -169
  111. NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXcsg.nxdl.xml +0 -87
  112. NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXcxi_ptycho.nxdl.xml +0 -232
  113. NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXelectrostatic_kicker.nxdl.xml +0 -60
  114. NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXmagnetic_kicker.nxdl.xml +0 -57
  115. NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXquadric.nxdl.xml +0 -88
  116. NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXquadrupole_magnet.nxdl.xml +0 -51
  117. NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXseparator.nxdl.xml +0 -58
  118. NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXsnsevent.nxdl.xml +0 -328
  119. NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXsnshisto.nxdl.xml +0 -341
  120. NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXsolenoid_magnet.nxdl.xml +0 -51
  121. NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXsolid_geometry.nxdl.xml +0 -56
  122. NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXspecdata.nxdl.xml +0 -462
  123. NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXspin_rotator.nxdl.xml +0 -58
  124. NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/nxdlformat.xsl +0 -221
  125. {NeXpy-1.0.6 → nexpy-1.0.8}/.gitattributes +0 -0
  126. {NeXpy-1.0.6 → nexpy-1.0.8}/.gitignore +0 -0
  127. {NeXpy-1.0.6 → nexpy-1.0.8}/COPYING +0 -0
  128. {NeXpy-1.0.6 → nexpy-1.0.8}/README.md +0 -0
  129. {NeXpy-1.0.6 → nexpy-1.0.8}/README.rst +0 -0
  130. {NeXpy-1.0.6 → nexpy-1.0.8}/conda-recipe/bld.bat +0 -0
  131. {NeXpy-1.0.6 → nexpy-1.0.8}/conda-recipe/build.sh +0 -0
  132. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/Makefile +0 -0
  133. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/make.bat +0 -0
  134. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/_static/__ignore__.txt +0 -0
  135. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/conf.py +0 -0
  136. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/examples.rst +0 -0
  137. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/favicon.ico +0 -0
  138. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/axis-limits-bar.png +0 -0
  139. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/customize-panel.png +0 -0
  140. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/limits-panel.png +0 -0
  141. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/nexpy-fits.png +0 -0
  142. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/nexpy-gui.png +0 -0
  143. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/nexpy-logo.png +0 -0
  144. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/options-tab.png +0 -0
  145. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/projection-panel.png +0 -0
  146. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/projection-tab.png +0 -0
  147. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/scan-panel.png +0 -0
  148. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/signal-tab.png +0 -0
  149. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/simple-plot.png +0 -0
  150. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/skewed-axis.png +0 -0
  151. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/x-tab.png +0 -0
  152. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/y-tab.png +0 -0
  153. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/z-tab.png +0 -0
  154. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/z-toolbar.png +0 -0
  155. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/includeme.rst +0 -0
  156. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/index.rst +0 -0
  157. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/pythongui.rst +0 -0
  158. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/pythonshell.rst +0 -0
  159. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/readers.rst +0 -0
  160. {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/treeapi.rst +0 -0
  161. {NeXpy-1.0.6 → nexpy-1.0.8}/pyproject.toml +0 -0
  162. {NeXpy-1.0.6 → nexpy-1.0.8}/setup.py +0 -0
  163. {NeXpy-1.0.6 → nexpy-1.0.8}/src/NeXpy.egg-info/dependency_links.txt +0 -0
  164. {NeXpy-1.0.6 → nexpy-1.0.8}/src/NeXpy.egg-info/entry_points.txt +0 -0
  165. {NeXpy-1.0.6 → nexpy-1.0.8}/src/NeXpy.egg-info/pbr.json +0 -0
  166. {NeXpy-1.0.6 → nexpy-1.0.8}/src/NeXpy.egg-info/top_level.txt +0 -0
  167. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/__init__.py +0 -0
  168. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/__init__.py +0 -0
  169. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/frills/__init__.py +0 -0
  170. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/frills/fit.py +0 -0
  171. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/frills/functions/__init__.py +0 -0
  172. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/frills/models/__init__.py +0 -0
  173. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/frills/models/bose.py +0 -0
  174. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/frills/models/critexp.py +0 -0
  175. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/frills/models/op.py +0 -0
  176. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/frills/models/pdfdecay.py +0 -0
  177. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/__init__.py +0 -0
  178. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXreflections.nxdl.xml +0 -0
  179. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/README.rst +0 -0
  180. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/chopper.nxs +0 -0
  181. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/example.nxs +0 -0
  182. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/plugins/README.rst +0 -0
  183. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/__init__.py +0 -0
  184. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/__init__.pyc +0 -0
  185. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/convert_qe.py +0 -0
  186. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/convert_qe.pyc +0 -0
  187. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/get_ei.py +0 -0
  188. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/get_ei.pyc +0 -0
  189. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/pyproject.toml +0 -0
  190. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/scripts/README.rst +0 -0
  191. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/scripts/chopper_plot.py +0 -0
  192. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/scripts/example.py +0 -0
  193. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/__init__.py +0 -0
  194. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/datadialogs.py +0 -0
  195. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/fitdialogs.py +0 -0
  196. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/importdialog.py +0 -0
  197. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/pyqt.py +0 -0
  198. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/back.png +0 -0
  199. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/backward-icon.png +0 -0
  200. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/customize.png +0 -0
  201. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/equal.png +0 -0
  202. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/export-data.png +0 -0
  203. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/export-figure.png +0 -0
  204. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/filesave.png +0 -0
  205. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/forward-icon.png +0 -0
  206. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/forward.png +0 -0
  207. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/hand.png +0 -0
  208. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/home.png +0 -0
  209. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/icon/NeXpy.png +0 -0
  210. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/icon/NeXpy.svg +0 -0
  211. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/link-icon.png +0 -0
  212. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/lock-icon.png +0 -0
  213. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/lock-red-icon.png +0 -0
  214. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/modify-style.png +0 -0
  215. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/move.png +0 -0
  216. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/pause-icon.png +0 -0
  217. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/refresh-icon.png +0 -0
  218. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/unlock-icon.png +0 -0
  219. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/unlock-red-icon.png +0 -0
  220. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/zoom_to_rect.png +0 -0
  221. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/scripteditor.py +0 -0
  222. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/widgets.py +0 -0
  223. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/plugins/__init__.py +0 -0
  224. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/readers/__init__.py +0 -0
  225. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/readers/readspec.py +0 -0
  226. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/readers/readstack.py +0 -0
  227. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/readers/readtiff.py +0 -0
  228. {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/readers/readtxt.py +0 -0
  229. {NeXpy-1.0.6 → nexpy-1.0.8}/tests/test_imports.py +0 -0
@@ -6,13 +6,13 @@ jobs:
6
6
  runs-on: ${{ matrix.os }}
7
7
  strategy:
8
8
  matrix:
9
- python-version: ["3.7", "3.8", "3.9", "3.10"]
9
+ python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
10
10
  os: [ubuntu-latest, macOS-latest, windows-latest]
11
11
 
12
12
  steps:
13
- - uses: actions/checkout@v3
13
+ - uses: actions/checkout@v4
14
14
  - name: Set up Python ${{ matrix.python-version }}
15
- uses: actions/setup-python@v4
15
+ uses: actions/setup-python@v5
16
16
  with:
17
17
  python-version: ${{ matrix.python-version }}
18
18
  - name: Install dependencies
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: NeXpy
3
- Version: 1.0.6
3
+ Version: 1.0.8
4
4
  Summary: A Python GUI to analyze NeXus data
5
5
  Home-page: https://nexpy.github.io/nexpy/
6
6
  Download-URL: https://github.com/nexpy/nexpy
@@ -18,12 +18,13 @@ Classifier: Programming Language :: Python :: 3.8
18
18
  Classifier: Programming Language :: Python :: 3.9
19
19
  Classifier: Programming Language :: Python :: 3.10
20
20
  Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
21
22
  Classifier: Topic :: Scientific/Engineering
22
23
  Classifier: Topic :: Scientific/Engineering :: Visualization
23
24
  Requires-Python: >=3.7
24
25
  Description-Content-Type: text/markdown
25
26
  License-File: COPYING
26
- Requires-Dist: nexusformat>=1.0.2
27
+ Requires-Dist: nexusformat>=1.0.5
27
28
  Requires-Dist: numpy
28
29
  Requires-Dist: scipy
29
30
  Requires-Dist: h5py>=2.9
@@ -38,6 +39,7 @@ Requires-Dist: ansi2html
38
39
  Requires-Dist: pillow
39
40
  Requires-Dist: mplcursors
40
41
  Requires-Dist: importlib-metadata; python_version < "3.10"
42
+ Requires-Dist: setuptools
41
43
  Provides-Extra: spec
42
44
  Requires-Dist: spec2nexus; extra == "spec"
43
45
  Provides-Extra: fabio
@@ -1,10 +1,10 @@
1
1
  package:
2
2
  name: nexpy
3
- version: "1.0.6"
3
+ version: "1.0.8"
4
4
 
5
5
  source:
6
6
  git_url: https://github.com/nexpy/nexpy.git
7
- git_tag: v1.0.6
7
+ git_tag: v1.0.8
8
8
 
9
9
  build:
10
10
  entry_points:
@@ -20,7 +20,7 @@ requirements:
20
20
 
21
21
  run:
22
22
  - python >=3.7
23
- - nexusformat >=1.0.2
23
+ - nexusformat >=1.0.5
24
24
  - numpy
25
25
  - scipy
26
26
  - h5py
@@ -21,6 +21,7 @@ classifiers =
21
21
  Programming Language :: Python :: 3.9
22
22
  Programming Language :: Python :: 3.10
23
23
  Programming Language :: Python :: 3.11
24
+ Programming Language :: Python :: 3.12
24
25
  Topic :: Scientific/Engineering
25
26
  Topic :: Scientific/Engineering :: Visualization
26
27
 
@@ -30,7 +31,7 @@ package_dir =
30
31
  =src
31
32
  python_requires = >=3.7
32
33
  install_requires =
33
- nexusformat >= 1.0.2
34
+ nexusformat >= 1.0.5
34
35
  numpy
35
36
  scipy
36
37
  h5py >= 2.9
@@ -45,6 +46,7 @@ install_requires =
45
46
  pillow
46
47
  mplcursors
47
48
  importlib-metadata; python_version<"3.10"
49
+ setuptools
48
50
 
49
51
  [options.packages.find]
50
52
  where = src
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: NeXpy
3
- Version: 1.0.6
3
+ Version: 1.0.8
4
4
  Summary: A Python GUI to analyze NeXus data
5
5
  Home-page: https://nexpy.github.io/nexpy/
6
6
  Download-URL: https://github.com/nexpy/nexpy
@@ -18,12 +18,13 @@ Classifier: Programming Language :: Python :: 3.8
18
18
  Classifier: Programming Language :: Python :: 3.9
19
19
  Classifier: Programming Language :: Python :: 3.10
20
20
  Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
21
22
  Classifier: Topic :: Scientific/Engineering
22
23
  Classifier: Topic :: Scientific/Engineering :: Visualization
23
24
  Requires-Python: >=3.7
24
25
  Description-Content-Type: text/markdown
25
26
  License-File: COPYING
26
- Requires-Dist: nexusformat>=1.0.2
27
+ Requires-Dist: nexusformat>=1.0.5
27
28
  Requires-Dist: numpy
28
29
  Requires-Dist: scipy
29
30
  Requires-Dist: h5py>=2.9
@@ -38,6 +39,7 @@ Requires-Dist: ansi2html
38
39
  Requires-Dist: pillow
39
40
  Requires-Dist: mplcursors
40
41
  Requires-Dist: importlib-metadata; python_version < "3.10"
42
+ Requires-Dist: setuptools
41
43
  Provides-Extra: spec
42
44
  Requires-Dist: spec2nexus; extra == "spec"
43
45
  Provides-Extra: fabio
@@ -59,41 +59,6 @@ src/nexpy/api/frills/models/critexp.py
59
59
  src/nexpy/api/frills/models/op.py
60
60
  src/nexpy/api/frills/models/pdfdecay.py
61
61
  src/nexpy/definitions/__init__.py
62
- src/nexpy/definitions/applications/NXarchive.nxdl.xml
63
- src/nexpy/definitions/applications/NXarpes.nxdl.xml
64
- src/nexpy/definitions/applications/NXcanSAS.nxdl.xml
65
- src/nexpy/definitions/applications/NXdirecttof.nxdl.xml
66
- src/nexpy/definitions/applications/NXfluo.nxdl.xml
67
- src/nexpy/definitions/applications/NXindirecttof.nxdl.xml
68
- src/nexpy/definitions/applications/NXiqproc.nxdl.xml
69
- src/nexpy/definitions/applications/NXlauetof.nxdl.xml
70
- src/nexpy/definitions/applications/NXmonopd.nxdl.xml
71
- src/nexpy/definitions/applications/NXmx.nxdl.xml
72
- src/nexpy/definitions/applications/NXrefscan.nxdl.xml
73
- src/nexpy/definitions/applications/NXreftof.nxdl.xml
74
- src/nexpy/definitions/applications/NXsas.nxdl.xml
75
- src/nexpy/definitions/applications/NXsastof.nxdl.xml
76
- src/nexpy/definitions/applications/NXscan.nxdl.xml
77
- src/nexpy/definitions/applications/NXspe.nxdl.xml
78
- src/nexpy/definitions/applications/NXsqom.nxdl.xml
79
- src/nexpy/definitions/applications/NXstxm.nxdl.xml
80
- src/nexpy/definitions/applications/NXtas.nxdl.xml
81
- src/nexpy/definitions/applications/NXtofnpd.nxdl.xml
82
- src/nexpy/definitions/applications/NXtofraw.nxdl.xml
83
- src/nexpy/definitions/applications/NXtofsingle.nxdl.xml
84
- src/nexpy/definitions/applications/NXtomo.nxdl.xml
85
- src/nexpy/definitions/applications/NXtomophase.nxdl.xml
86
- src/nexpy/definitions/applications/NXtomoproc.nxdl.xml
87
- src/nexpy/definitions/applications/NXxas.nxdl.xml
88
- src/nexpy/definitions/applications/NXxasproc.nxdl.xml
89
- src/nexpy/definitions/applications/NXxbase.nxdl.xml
90
- src/nexpy/definitions/applications/NXxeuler.nxdl.xml
91
- src/nexpy/definitions/applications/NXxkappa.nxdl.xml
92
- src/nexpy/definitions/applications/NXxlaue.nxdl.xml
93
- src/nexpy/definitions/applications/NXxlaueplate.nxdl.xml
94
- src/nexpy/definitions/applications/NXxnb.nxdl.xml
95
- src/nexpy/definitions/applications/NXxrot.nxdl.xml
96
- src/nexpy/definitions/applications/nxdlformat.xsl
97
62
  src/nexpy/definitions/base_classes/NXaperture.nxdl.xml
98
63
  src/nexpy/definitions/base_classes/NXattenuator.nxdl.xml
99
64
  src/nexpy/definitions/base_classes/NXbeam.nxdl.xml
@@ -107,6 +72,7 @@ src/nexpy/definitions/base_classes/NXcrystal.nxdl.xml
107
72
  src/nexpy/definitions/base_classes/NXcylindrical_geometry.nxdl.xml
108
73
  src/nexpy/definitions/base_classes/NXdata.nxdl.xml
109
74
  src/nexpy/definitions/base_classes/NXdetector.nxdl.xml
75
+ src/nexpy/definitions/base_classes/NXdetector_channel.nxdl.xml
110
76
  src/nexpy/definitions/base_classes/NXdetector_group.nxdl.xml
111
77
  src/nexpy/definitions/base_classes/NXdetector_module.nxdl.xml
112
78
  src/nexpy/definitions/base_classes/NXdisk_chopper.nxdl.xml
@@ -151,22 +117,6 @@ src/nexpy/definitions/base_classes/NXtranslation.nxdl.xml
151
117
  src/nexpy/definitions/base_classes/NXuser.nxdl.xml
152
118
  src/nexpy/definitions/base_classes/NXvelocity_selector.nxdl.xml
153
119
  src/nexpy/definitions/base_classes/NXxraylens.nxdl.xml
154
- src/nexpy/definitions/base_classes/nxdlformat.xsl
155
- src/nexpy/definitions/contributed_definitions/NXcontainer.nxdl.xml
156
- src/nexpy/definitions/contributed_definitions/NXcsg.nxdl.xml
157
- src/nexpy/definitions/contributed_definitions/NXcxi_ptycho.nxdl.xml
158
- src/nexpy/definitions/contributed_definitions/NXelectrostatic_kicker.nxdl.xml
159
- src/nexpy/definitions/contributed_definitions/NXmagnetic_kicker.nxdl.xml
160
- src/nexpy/definitions/contributed_definitions/NXquadric.nxdl.xml
161
- src/nexpy/definitions/contributed_definitions/NXquadrupole_magnet.nxdl.xml
162
- src/nexpy/definitions/contributed_definitions/NXseparator.nxdl.xml
163
- src/nexpy/definitions/contributed_definitions/NXsnsevent.nxdl.xml
164
- src/nexpy/definitions/contributed_definitions/NXsnshisto.nxdl.xml
165
- src/nexpy/definitions/contributed_definitions/NXsolenoid_magnet.nxdl.xml
166
- src/nexpy/definitions/contributed_definitions/NXsolid_geometry.nxdl.xml
167
- src/nexpy/definitions/contributed_definitions/NXspecdata.nxdl.xml
168
- src/nexpy/definitions/contributed_definitions/NXspin_rotator.nxdl.xml
169
- src/nexpy/definitions/contributed_definitions/nxdlformat.xsl
170
120
  src/nexpy/examples/README.rst
171
121
  src/nexpy/examples/chopper.nxs
172
122
  src/nexpy/examples/example.nxs
@@ -1,4 +1,4 @@
1
- nexusformat>=1.0.2
1
+ nexusformat>=1.0.5
2
2
  numpy
3
3
  scipy
4
4
  h5py>=2.9
@@ -12,6 +12,7 @@ pylatexenc
12
12
  ansi2html
13
13
  pillow
14
14
  mplcursors
15
+ setuptools
15
16
 
16
17
  [:python_version < "3.10"]
17
18
  importlib-metadata
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.0.6'
16
- __version_tuple__ = version_tuple = (1, 0, 6)
15
+ __version__ = version = '1.0.8'
16
+ __version_tuple__ = version_tuple = (1, 0, 8)
@@ -3,7 +3,7 @@
3
3
  <!--
4
4
  # NeXus - Neutron and X-ray Common Data Format
5
5
  #
6
- # Copyright (C) 2008-2021 NeXus International Advisory Committee (NIAC)
6
+ # Copyright (C) 2008-2022 NeXus International Advisory Committee (NIAC)
7
7
  #
8
8
  # This library is free software; you can redistribute it and/or
9
9
  # modify it under the terms of the GNU Lesser General Public
@@ -27,10 +27,44 @@
27
27
  name="NXaperture"
28
28
  type="group" extends="NXobject">
29
29
 
30
- <doc>A beamline aperture.</doc>
30
+ <doc>
31
+ A beamline aperture.
32
+
33
+ Note, the group was incorrectly documented as deprecated, but it is not and it is in common use.</doc>
31
34
  <!-- TODO compare with "screens" in SHADOW -->
32
35
 
33
- <group type="NXgeometry">
36
+ <field name="depends_on" type="NX_CHAR">
37
+ <doc>
38
+ NeXus positions components by applying a set of translations and rotations
39
+ to apply to the component starting from 0, 0, 0. The order of these operations
40
+ is critical and forms what NeXus calls a dependency chain. The depends_on
41
+ field defines the path to the top most operation of the dependency chain or the
42
+ string "." if located in the origin. Usually these operations are stored in a
43
+ NXtransformations group. But NeXus allows them to be stored anywhere.
44
+
45
+ The reference point of the aperture is its center in the x and y axis. The reference point on the z axis is the
46
+ surface of the aperture pointing towards the source.
47
+
48
+ In complex (asymmetic) geometries an NXoff_geometry group can be used to provide an unambiguous reference.
49
+
50
+ .. image:: aperture/aperture.png
51
+ :width: 40%
52
+ </doc>
53
+ </field>
54
+ <group type="NXtransformations">
55
+ <doc>
56
+ This is the group recommended for holding the chain of translation
57
+ and rotation operations necessary to position the component within
58
+ the instrument. The dependency chain may however traverse similar groups in
59
+ other component groups.
60
+ </doc>
61
+ </group>
62
+ <group type="NXoff_geometry">
63
+ <doc>
64
+ Use this group to describe the shape of the aperture
65
+ </doc>
66
+ </group>
67
+ <group type="NXgeometry" deprecated="Use the field `depends_on` and :ref:`NXtransformations` to position the aperture and :ref:`NXoff_geometry` to describe its shape">
34
68
  <doc>
35
69
  location and shape of aperture
36
70
 
@@ -41,9 +75,10 @@
41
75
  * Similar throughout base classes
42
76
  * Some base classes do this much better
43
77
  * Such as where is the gap written?
78
+
44
79
  </doc>
45
80
  </group>
46
- <group name="BLADE_GEOMETRY" type="NXgeometry">
81
+ <group name="BLADE_GEOMETRY" type="NXgeometry" deprecated="Use :ref:`NXoff_geometry` instead to describe the shape of the aperture">
47
82
  <doc>location and shape of each blade</doc>
48
83
  </group>
49
84
  <field name="material"><!-- TODO Uniformity problem, "type" is used elsewhere for same context -->
@@ -52,7 +87,7 @@
52
87
  <field name="description">
53
88
  <doc>Description of aperture</doc>
54
89
  </field>
55
- <group type="NXnote"><doc>describe any additional information in a note*</doc></group>
90
+ <group type="NXnote"><doc>describe any additional information in a note</doc></group>
56
91
  <attribute name="default">
57
92
  <doc>
58
93
  .. index:: plotting
@@ -3,7 +3,7 @@
3
3
  <!--
4
4
  # NeXus - Neutron and X-ray Common Data Format
5
5
  #
6
- # Copyright (C) 2008-2021 NeXus International Advisory Committee (NIAC)
6
+ # Copyright (C) 2008-2022 NeXus International Advisory Committee (NIAC)
7
7
  #
8
8
  # This library is free software; you can redistribute it and/or
9
9
  # modify it under the terms of the GNU Lesser General Public
@@ -40,11 +40,11 @@
40
40
  </doc>
41
41
  <!--
42
42
  TODO compare with SHADOW definition "screen"
43
- TODO SHADOW: http://ftp.esrf.eu/pub/scisoft/shadow or (older) http://www.nanotech.wisc.edu/shadow
43
+ TODO SHADOW: https://github.com/oasys-kit/shadow3
44
44
  -->
45
45
 
46
46
  <field name="distance" type="NX_FLOAT" units="NX_LENGTH">
47
- <doc>Distance from sample</doc>
47
+ <doc>Distance from sample. Note, it is recommended to use NXtransformations instead.</doc>
48
48
  </field>
49
49
  <field name="type">
50
50
  <doc>Type or composition of attenuator, e.g. polythene</doc>
@@ -88,4 +88,36 @@
88
88
  for a summary of the discussion.
89
89
  </doc>
90
90
  </attribute>
91
+ <field name="depends_on" type="NX_CHAR">
92
+ <doc>
93
+ NeXus positions components by applying a set of translations and rotations
94
+ to apply to the component starting from 0, 0, 0. The order of these operations
95
+ is critical and forms what NeXus calls a dependency chain. The depends_on
96
+ field defines the path to the top most operation of the dependency chain or the
97
+ string "." if located in the origin. Usually these operations are stored in a
98
+ NXtransformations group. But NeXus allows them to be stored anywhere.
99
+
100
+ The reference point of the attenuator is its center in the x and y axis. The reference point on the z axis is the
101
+ surface of the attenuator pointing towards the source.
102
+
103
+ In complex (asymmetic) geometries an NXoff_geometry group can be used to provide an unambiguous reference.
104
+
105
+ .. image:: attenuator/attenuator.png
106
+ :width: 40%
107
+
108
+ </doc>
109
+ </field>
110
+ <group type="NXtransformations">
111
+ <doc>
112
+ This is the group recommended for holding the chain of translation
113
+ and rotation operations necessary to position the component within
114
+ the instrument. The dependency chain may however traverse similar groups in
115
+ other component groups.
116
+ </doc>
117
+ </group>
118
+ <group name="shape" type="NXoff_geometry">
119
+ <doc>
120
+ Shape of this component. Particulary useful to define the origin for position and orientation in non-standard cases.
121
+ </doc>
122
+ </group>
91
123
  </definition>