NeXpy 1.0.8__tar.gz → 1.0.10__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.
- {nexpy-1.0.8 → nexpy-1.0.10}/PKG-INFO +2 -2
- {nexpy-1.0.8 → nexpy-1.0.10}/conda-recipe/meta.yaml +3 -3
- {nexpy-1.0.8 → nexpy-1.0.10}/setup.cfg +1 -1
- {nexpy-1.0.8 → nexpy-1.0.10}/src/NeXpy.egg-info/PKG-INFO +2 -2
- {nexpy-1.0.8 → nexpy-1.0.10}/src/NeXpy.egg-info/requires.txt +1 -1
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/_version.py +2 -2
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/datadialogs.py +8 -9
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/mainwindow.py +1 -2
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/plotview.py +17 -12
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/scripteditor.py +18 -6
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/utils.py +2 -3
- {nexpy-1.0.8 → nexpy-1.0.10}/.gitattributes +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/.github/workflows/ci.yml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/.gitignore +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/COPYING +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/README.md +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/README.rst +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/conda-recipe/bld.bat +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/conda-recipe/build.sh +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/Makefile +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/make.bat +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/_static/__ignore__.txt +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/conf.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/examples.rst +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/favicon.ico +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/axis-limits-bar.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/customize-panel.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/limits-panel.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/nexpy-fits.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/nexpy-gui.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/nexpy-logo.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/options-tab.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/projection-panel.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/projection-tab.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/scan-panel.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/signal-tab.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/simple-plot.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/skewed-axis.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/x-tab.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/y-tab.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/z-tab.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/images/z-toolbar.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/includeme.rst +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/index.rst +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/pythongui.rst +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/pythonshell.rst +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/readers.rst +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/doc/source/treeapi.rst +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/pyproject.toml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/setup.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/NeXpy.egg-info/SOURCES.txt +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/NeXpy.egg-info/dependency_links.txt +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/NeXpy.egg-info/entry_points.txt +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/NeXpy.egg-info/pbr.json +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/NeXpy.egg-info/top_level.txt +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/__init__.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/api/__init__.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/api/frills/__init__.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/api/frills/fit.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/api/frills/functions/__init__.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/api/frills/models/__init__.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/api/frills/models/bose.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/api/frills/models/critexp.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/api/frills/models/op.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/api/frills/models/pdfdecay.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/__init__.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXaperture.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXattenuator.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXbeam.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXbeam_stop.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXbending_magnet.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXcapillary.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXcite.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXcollection.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXcollimator.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXcrystal.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXcylindrical_geometry.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXdata.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXdetector.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXdetector_channel.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXdetector_group.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXdetector_module.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXdisk_chopper.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXentry.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXenvironment.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXevent_data.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXfermi_chopper.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXfilter.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXflipper.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXfresnel_zone_plate.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXgeometry.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXgrating.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXguide.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXinsertion_device.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXinstrument.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXlog.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXmirror.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXmoderator.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXmonitor.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXmonochromator.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXnote.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXobject.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXoff_geometry.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXorientation.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXparameters.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXpdb.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXpinhole.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXpolarizer.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXpositioner.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXprocess.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXreflections.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXroot.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXsample.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXsample_component.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXsensor.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXshape.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXslit.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXsource.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXsubentry.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXtransformations.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXtranslation.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXuser.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXvelocity_selector.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXxraylens.nxdl.xml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/examples/README.rst +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/examples/chopper.nxs +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/examples/example.nxs +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/examples/plugins/README.rst +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/examples/plugins/chopper_plugin/chopper/__init__.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/examples/plugins/chopper_plugin/chopper/__init__.pyc +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/examples/plugins/chopper_plugin/chopper/convert_qe.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/examples/plugins/chopper_plugin/chopper/convert_qe.pyc +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/examples/plugins/chopper_plugin/chopper/get_ei.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/examples/plugins/chopper_plugin/chopper/get_ei.pyc +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/examples/plugins/chopper_plugin/pyproject.toml +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/examples/scripts/README.rst +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/examples/scripts/chopper_plot.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/examples/scripts/example.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/__init__.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/consoleapp.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/fitdialogs.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/importdialog.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/pyqt.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/back.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/backward-icon.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/customize.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/equal.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/export-data.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/export-figure.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/filesave.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/forward-icon.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/forward.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/hand.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/home.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/icon/NeXpy.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/icon/NeXpy.svg +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/link-icon.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/lock-icon.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/lock-red-icon.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/modify-style.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/move.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/pause-icon.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/refresh-icon.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/unlock-icon.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/unlock-red-icon.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/resources/zoom_to_rect.png +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/treeview.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/gui/widgets.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/nexpygui.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/plugins/__init__.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/readers/__init__.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/readers/readspec.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/readers/readstack.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/readers/readtiff.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/readers/readtxt.py +0 -0
- {nexpy-1.0.8 → nexpy-1.0.10}/tests/test_imports.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: NeXpy
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.10
|
|
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
|
|
@@ -24,7 +24,7 @@ Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
|
24
24
|
Requires-Python: >=3.7
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
26
26
|
License-File: COPYING
|
|
27
|
-
Requires-Dist: nexusformat>=1.0.
|
|
27
|
+
Requires-Dist: nexusformat>=1.0.7
|
|
28
28
|
Requires-Dist: numpy
|
|
29
29
|
Requires-Dist: scipy
|
|
30
30
|
Requires-Dist: h5py>=2.9
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
package:
|
|
2
2
|
name: nexpy
|
|
3
|
-
version: "1.0.
|
|
3
|
+
version: "1.0.10"
|
|
4
4
|
|
|
5
5
|
source:
|
|
6
6
|
git_url: https://github.com/nexpy/nexpy.git
|
|
7
|
-
git_tag: v1.0.
|
|
7
|
+
git_tag: v1.0.10
|
|
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.
|
|
23
|
+
- nexusformat >=1.0.7
|
|
24
24
|
- numpy
|
|
25
25
|
- scipy
|
|
26
26
|
- h5py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: NeXpy
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.10
|
|
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
|
|
@@ -24,7 +24,7 @@ Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
|
24
24
|
Requires-Python: >=3.7
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
26
26
|
License-File: COPYING
|
|
27
|
-
Requires-Dist: nexusformat>=1.0.
|
|
27
|
+
Requires-Dist: nexusformat>=1.0.7
|
|
28
28
|
Requires-Dist: numpy
|
|
29
29
|
Requires-Dist: scipy
|
|
30
30
|
Requires-Dist: h5py>=2.9
|
|
@@ -656,7 +656,7 @@ class NXDialog(QtWidgets.QDialog, NXWidget):
|
|
|
656
656
|
def closeEvent(self, event):
|
|
657
657
|
try:
|
|
658
658
|
self.mainwindow.dialogs.remove(self)
|
|
659
|
-
except Exception
|
|
659
|
+
except Exception:
|
|
660
660
|
pass
|
|
661
661
|
event.accept()
|
|
662
662
|
|
|
@@ -870,7 +870,7 @@ class NXPanel(NXDialog):
|
|
|
870
870
|
def is_running(self):
|
|
871
871
|
try:
|
|
872
872
|
return self.count >= 0
|
|
873
|
-
except RuntimeError
|
|
873
|
+
except RuntimeError:
|
|
874
874
|
return False
|
|
875
875
|
|
|
876
876
|
def close(self):
|
|
@@ -1684,7 +1684,7 @@ class PlotScalarDialog(NXDialog):
|
|
|
1684
1684
|
for f in self.files if self.files[f].vary]
|
|
1685
1685
|
self.scan_values = [self.files[f].value for f in self.files
|
|
1686
1686
|
if self.files[f].vary]
|
|
1687
|
-
except Exception
|
|
1687
|
+
except Exception:
|
|
1688
1688
|
raise NeXusError("Files not selected")
|
|
1689
1689
|
|
|
1690
1690
|
def get_scan(self):
|
|
@@ -1695,7 +1695,7 @@ class PlotScalarDialog(NXDialog):
|
|
|
1695
1695
|
for i, f in enumerate(self.scan_files):
|
|
1696
1696
|
try:
|
|
1697
1697
|
field[i] = f[self.data_path]
|
|
1698
|
-
except Exception
|
|
1698
|
+
except Exception:
|
|
1699
1699
|
raise NeXusError(f"Cannot read '{f}'")
|
|
1700
1700
|
field[i] = f[self.data_path]
|
|
1701
1701
|
return NXdata(field, axis, title=self.data_path)
|
|
@@ -1895,7 +1895,7 @@ class LockDialog(NXDialog):
|
|
|
1895
1895
|
self.text_box,
|
|
1896
1896
|
self.action_buttons(('Clear Locks', self.clear_locks)),
|
|
1897
1897
|
self.close_buttons(close=True))
|
|
1898
|
-
self.set_title(
|
|
1898
|
+
self.set_title('Locked Files')
|
|
1899
1899
|
self.setMinimumWidth(800)
|
|
1900
1900
|
|
|
1901
1901
|
self.timer = QtCore.QTimer(self)
|
|
@@ -2379,7 +2379,6 @@ class CustomizeTab(NXTab):
|
|
|
2379
2379
|
self.plotview._gridalpha = pi['gridalpha'].value
|
|
2380
2380
|
if 'badcolor' in pi:
|
|
2381
2381
|
self.plotview.image.cmap.set_bad(pi['badcolor'].value)
|
|
2382
|
-
# reset in case plotview.aspect changed by plotview.skew
|
|
2383
2382
|
self.plotview.skew = _skew_angle
|
|
2384
2383
|
self.plotview.aspect = self.plotview._aspect
|
|
2385
2384
|
if pi['cb_minorticks'].value == 'On':
|
|
@@ -3428,7 +3427,7 @@ class ScanTab(NXTab):
|
|
|
3428
3427
|
self.files.add(name, i, name, True)
|
|
3429
3428
|
self.files[name].checkbox.stateChanged.connect(
|
|
3430
3429
|
self.update_files)
|
|
3431
|
-
except Exception
|
|
3430
|
+
except Exception:
|
|
3432
3431
|
pass
|
|
3433
3432
|
self.file_grid = self.files.grid(header=('File', self.scan_header, ''))
|
|
3434
3433
|
self.scroll_widget = NXWidget()
|
|
@@ -4059,9 +4058,9 @@ class InitializeDialog(NXDialog):
|
|
|
4059
4058
|
try:
|
|
4060
4059
|
shape = ast.literal_eval(shape)
|
|
4061
4060
|
try:
|
|
4062
|
-
|
|
4061
|
+
iter(shape)
|
|
4063
4062
|
return shape
|
|
4064
|
-
except
|
|
4063
|
+
except TypeError:
|
|
4065
4064
|
if isinstance(shape, numbers.Integral):
|
|
4066
4065
|
return (shape,)
|
|
4067
4066
|
else:
|
|
@@ -1150,7 +1150,6 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
|
1150
1150
|
for name in self.tree:
|
|
1151
1151
|
node = self.tree[name]
|
|
1152
1152
|
if node.is_modified():
|
|
1153
|
-
path = node.nxpath
|
|
1154
1153
|
root = node.nxroot
|
|
1155
1154
|
root.reload()
|
|
1156
1155
|
logging.info(f"'{name}' reloaded")
|
|
@@ -1882,7 +1881,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
|
1882
1881
|
self.make_active(number)
|
|
1883
1882
|
|
|
1884
1883
|
def new_plot_window(self):
|
|
1885
|
-
|
|
1884
|
+
return NXPlotView(parent=self)
|
|
1886
1885
|
|
|
1887
1886
|
def close_window(self):
|
|
1888
1887
|
windows = self.dialogs
|
|
@@ -63,7 +63,6 @@ except ImportError:
|
|
|
63
63
|
|
|
64
64
|
from nexusformat.nexus import NeXusError, NXdata, NXfield
|
|
65
65
|
|
|
66
|
-
from .. import __version__
|
|
67
66
|
from .datadialogs import (CustomizeDialog, ExportDialog, LimitDialog,
|
|
68
67
|
ProjectionDialog, ScanDialog, StyleDialog)
|
|
69
68
|
from .utils import (boundaries, centers, divgray_map, find_nearest,
|
|
@@ -135,16 +134,16 @@ def new_figure_manager(label=None, *args, **kwargs):
|
|
|
135
134
|
"""Create a new figure manager instance.
|
|
136
135
|
|
|
137
136
|
A new figure number is generated. with numbers > 100 preserved for
|
|
138
|
-
|
|
137
|
+
windows given a specific label.
|
|
139
138
|
|
|
140
139
|
Parameters
|
|
141
140
|
----------
|
|
142
141
|
label : str
|
|
143
|
-
The label used to
|
|
142
|
+
The label used to for specialized plot windows, default is None.
|
|
144
143
|
"""
|
|
145
144
|
if label is None:
|
|
146
145
|
label = ''
|
|
147
|
-
if label
|
|
146
|
+
if label and label != 'Main':
|
|
148
147
|
nums = [plotviews[p].number for p in plotviews
|
|
149
148
|
if plotviews[p].number > 100]
|
|
150
149
|
if nums:
|
|
@@ -877,6 +876,7 @@ class NXPlotView(QtWidgets.QDialog):
|
|
|
877
876
|
signal = _signal[()].reshape(self.shape)
|
|
878
877
|
if signal.dtype == bool:
|
|
879
878
|
signal.dtype = np.int8
|
|
879
|
+
|
|
880
880
|
self.signal = signal
|
|
881
881
|
|
|
882
882
|
if over:
|
|
@@ -1062,7 +1062,7 @@ class NXPlotView(QtWidgets.QDialog):
|
|
|
1062
1062
|
self.set_data_limits()
|
|
1063
1063
|
self.set_data_norm()
|
|
1064
1064
|
self.figure.clf()
|
|
1065
|
-
if self._skew_angle and self._aspect
|
|
1065
|
+
if self._skew_angle and self._aspect != 'auto':
|
|
1066
1066
|
ax = self.figure.add_subplot(Subplot(self.figure, 1, 1, 1,
|
|
1067
1067
|
grid_helper=self.grid_helper()))
|
|
1068
1068
|
self.skewed = True
|
|
@@ -1114,8 +1114,16 @@ class NXPlotView(QtWidgets.QDialog):
|
|
|
1114
1114
|
self.colorbar.formatter = self.formatter
|
|
1115
1115
|
self.update_colorbar()
|
|
1116
1116
|
|
|
1117
|
-
|
|
1118
|
-
|
|
1117
|
+
if self.skewed:
|
|
1118
|
+
if self._skew_angle < 90.0:
|
|
1119
|
+
xlo, ylo = self.transform(self.xaxis.lo, self.yaxis.lo)
|
|
1120
|
+
xhi, yhi = self.transform(self.xaxis.hi, self.yaxis.hi)
|
|
1121
|
+
else:
|
|
1122
|
+
xlo, yhi = self.transform(self.xaxis.lo, self.yaxis.hi)
|
|
1123
|
+
xhi, ylo = self.transform(self.xaxis.hi, self.yaxis.lo)
|
|
1124
|
+
else:
|
|
1125
|
+
xlo, ylo = self.xaxis.lo, self.yaxis.lo
|
|
1126
|
+
xhi, yhi = self.xaxis.hi, self.yaxis.hi
|
|
1119
1127
|
|
|
1120
1128
|
ax.set_xlim(xlo, xhi)
|
|
1121
1129
|
ax.set_ylim(ylo, yhi)
|
|
@@ -1210,6 +1218,8 @@ class NXPlotView(QtWidgets.QDialog):
|
|
|
1210
1218
|
@property
|
|
1211
1219
|
def finite_v(self):
|
|
1212
1220
|
"""Plotted signal array excluding NaNs and infinities."""
|
|
1221
|
+
if np.isnan(self.v).all() or np.isinf(self.v).all():
|
|
1222
|
+
raise NeXusError('Data only contains NaNs or infinities')
|
|
1213
1223
|
return self.v[np.isfinite(self.v)]
|
|
1214
1224
|
|
|
1215
1225
|
def set_data_limits(self):
|
|
@@ -4042,11 +4052,6 @@ class NXNavigationToolbar(NavigationToolbar2QT, QtWidgets.QToolBar):
|
|
|
4042
4052
|
self.plotview.plot_smooth()
|
|
4043
4053
|
except Exception:
|
|
4044
4054
|
pass
|
|
4045
|
-
try:
|
|
4046
|
-
xdim = self.plotview.xtab.axis.dim
|
|
4047
|
-
ydim = self.plotview.ytab.axis.dim
|
|
4048
|
-
except AttributeError:
|
|
4049
|
-
return
|
|
4050
4055
|
self.plotview.zoom = {'x': (xmin, xmax),
|
|
4051
4056
|
'y': (ymin, ymax)}
|
|
4052
4057
|
self.plotview.update_panels()
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
#
|
|
6
6
|
# The full license is in the file COPYING, distributed with this software.
|
|
7
7
|
# -----------------------------------------------------------------------------
|
|
8
|
-
import os
|
|
9
8
|
import tempfile
|
|
9
|
+
from pathlib import Path
|
|
10
10
|
|
|
11
11
|
import pygments
|
|
12
12
|
from pygments.formatter import Formatter
|
|
@@ -126,12 +126,12 @@ class NXScriptWindow(NXPanel):
|
|
|
126
126
|
|
|
127
127
|
def activate(self, file_name):
|
|
128
128
|
if file_name:
|
|
129
|
-
label =
|
|
129
|
+
label = Path(file_name).name
|
|
130
130
|
else:
|
|
131
131
|
label = f'Untitled {self.count+1}'
|
|
132
132
|
super().activate(label, file_name)
|
|
133
133
|
if file_name:
|
|
134
|
-
self.tab.default_directory =
|
|
134
|
+
self.tab.default_directory = Path(file_name).parent
|
|
135
135
|
else:
|
|
136
136
|
self.tab.default_directory = self.mainwindow.script_dir
|
|
137
137
|
|
|
@@ -161,11 +161,13 @@ class NXScriptEditor(NXTab):
|
|
|
161
161
|
self.argument_box = NXLineEdit(width=200)
|
|
162
162
|
save_button = NXPushButton('Save', self.save_script)
|
|
163
163
|
save_as_button = NXPushButton('Save as...', self.save_script_as)
|
|
164
|
+
self.reload_button = NXPushButton('Reload', self.reload_script)
|
|
164
165
|
self.delete_button = NXPushButton('Delete', self.delete_script)
|
|
165
166
|
close_button = NXPushButton('Close Tab', self.panel.close)
|
|
166
167
|
button_layout = self.make_layout(run_button, self.argument_box,
|
|
167
168
|
'stretch',
|
|
168
169
|
save_button, save_as_button,
|
|
170
|
+
self.reload_button,
|
|
169
171
|
self.delete_button, close_button)
|
|
170
172
|
self.set_layout(self.text_layout, button_layout)
|
|
171
173
|
|
|
@@ -221,7 +223,7 @@ class NXScriptEditor(NXTab):
|
|
|
221
223
|
f.write(self.get_text())
|
|
222
224
|
args = self.argument_box.text()
|
|
223
225
|
self.mainwindow.console.execute(f'run -i {file_name} {args}')
|
|
224
|
-
|
|
226
|
+
Path(file_name).unlink()
|
|
225
227
|
else:
|
|
226
228
|
self.mainwindow.console.execute(self.get_text())
|
|
227
229
|
|
|
@@ -244,16 +246,26 @@ class NXScriptEditor(NXTab):
|
|
|
244
246
|
with open(file_name, 'w') as f:
|
|
245
247
|
f.write(self.get_text())
|
|
246
248
|
self.file_name = file_name
|
|
247
|
-
self.tab_label =
|
|
249
|
+
self.tab_label = Path(self.file_name).name
|
|
248
250
|
self.mainwindow.add_script_action(self.file_name,
|
|
249
251
|
self.mainwindow.script_menu)
|
|
250
252
|
self.delete_button.setVisible(True)
|
|
251
253
|
|
|
254
|
+
def reload_script(self):
|
|
255
|
+
if self.file_name:
|
|
256
|
+
if confirm_action(
|
|
257
|
+
f"Are you sure you want to reload '{self.file_name}'?",
|
|
258
|
+
"This will overwrite the current script"):
|
|
259
|
+
with open(self.file_name, 'r') as f:
|
|
260
|
+
text = f.read()
|
|
261
|
+
self.text_box.setPlainText(text)
|
|
262
|
+
self.update_line_numbers()
|
|
263
|
+
|
|
252
264
|
def delete_script(self):
|
|
253
265
|
if self.file_name:
|
|
254
266
|
if confirm_action(
|
|
255
267
|
f"Are you sure you want to delete '{self.file_name}'?",
|
|
256
268
|
"This cannot be reversed"):
|
|
257
|
-
|
|
269
|
+
Path(self.file_name).unlink()
|
|
258
270
|
self.mainwindow.remove_script_action(self.file_name)
|
|
259
271
|
self.panel.close()
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
# -----------------------------------------------------------------------------
|
|
8
8
|
|
|
9
9
|
import copy
|
|
10
|
-
import datetime
|
|
11
10
|
import gc
|
|
12
11
|
import importlib
|
|
13
12
|
import io
|
|
@@ -427,7 +426,7 @@ def convertHTML(text):
|
|
|
427
426
|
|
|
428
427
|
def get_name(filename, entries=[]):
|
|
429
428
|
"""Return a valid object name from a filename."""
|
|
430
|
-
name = re.sub('\W|^(?=\d)','_', Path(filename).stem)
|
|
429
|
+
name = re.sub(r'\W|^(?=\d)','_', Path(filename).stem)
|
|
431
430
|
if name in entries:
|
|
432
431
|
ind = []
|
|
433
432
|
for key in entries:
|
|
@@ -607,7 +606,7 @@ def load_image(filename):
|
|
|
607
606
|
else:
|
|
608
607
|
try:
|
|
609
608
|
im = fabio.open(filename)
|
|
610
|
-
except Exception
|
|
609
|
+
except Exception:
|
|
611
610
|
if fabio:
|
|
612
611
|
raise NeXusError("Unable to open image")
|
|
613
612
|
else:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXcylindrical_geometry.nxdl.xml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXfresnel_zone_plate.nxdl.xml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/definitions/base_classes/NXvelocity_selector.nxdl.xml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/examples/plugins/chopper_plugin/chopper/convert_qe.py
RENAMED
|
File without changes
|
{nexpy-1.0.8 → nexpy-1.0.10}/src/nexpy/examples/plugins/chopper_plugin/chopper/convert_qe.pyc
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|