NeXpy 1.0.7__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.
- {NeXpy-1.0.7 → nexpy-1.0.8}/.github/workflows/ci.yml +3 -3
- {NeXpy-1.0.7 → nexpy-1.0.8}/PKG-INFO +4 -2
- {NeXpy-1.0.7 → nexpy-1.0.8}/conda-recipe/meta.yaml +3 -3
- {NeXpy-1.0.7 → nexpy-1.0.8}/setup.cfg +3 -1
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/NeXpy.egg-info/PKG-INFO +4 -2
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/NeXpy.egg-info/requires.txt +2 -1
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/_version.py +2 -2
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/mainwindow.py +30 -3
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/plotview.py +5 -2
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/treeview.py +11 -20
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/utils.py +2 -4
- {NeXpy-1.0.7 → nexpy-1.0.8}/.gitattributes +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/.gitignore +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/COPYING +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/README.md +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/README.rst +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/conda-recipe/bld.bat +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/conda-recipe/build.sh +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/Makefile +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/make.bat +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/_static/__ignore__.txt +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/conf.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/examples.rst +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/favicon.ico +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/axis-limits-bar.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/customize-panel.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/limits-panel.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/nexpy-fits.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/nexpy-gui.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/nexpy-logo.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/options-tab.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/projection-panel.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/projection-tab.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/scan-panel.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/signal-tab.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/simple-plot.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/skewed-axis.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/x-tab.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/y-tab.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/z-tab.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/images/z-toolbar.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/includeme.rst +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/index.rst +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/pythongui.rst +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/pythonshell.rst +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/readers.rst +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/doc/source/treeapi.rst +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/pyproject.toml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/setup.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/NeXpy.egg-info/SOURCES.txt +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/NeXpy.egg-info/dependency_links.txt +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/NeXpy.egg-info/entry_points.txt +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/NeXpy.egg-info/pbr.json +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/NeXpy.egg-info/top_level.txt +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/__init__.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/api/__init__.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/api/frills/__init__.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/api/frills/fit.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/api/frills/functions/__init__.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/api/frills/models/__init__.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/api/frills/models/bose.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/api/frills/models/critexp.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/api/frills/models/op.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/api/frills/models/pdfdecay.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/__init__.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXaperture.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXattenuator.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXbeam.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXbeam_stop.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXbending_magnet.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcapillary.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcite.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcollection.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcollimator.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcrystal.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcylindrical_geometry.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXdata.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXdetector.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXdetector_channel.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXdetector_group.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXdetector_module.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXdisk_chopper.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXentry.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXenvironment.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXevent_data.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXfermi_chopper.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXfilter.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXflipper.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXfresnel_zone_plate.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXgeometry.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXgrating.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXguide.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXinsertion_device.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXinstrument.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXlog.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXmirror.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXmoderator.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXmonitor.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXmonochromator.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXnote.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXobject.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXoff_geometry.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXorientation.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXparameters.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXpdb.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXpinhole.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXpolarizer.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXpositioner.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXprocess.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXreflections.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXroot.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXsample.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXsample_component.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXsensor.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXshape.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXslit.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXsource.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXsubentry.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXtransformations.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXtranslation.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXuser.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXvelocity_selector.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXxraylens.nxdl.xml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/examples/README.rst +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/examples/chopper.nxs +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/examples/example.nxs +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/examples/plugins/README.rst +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/__init__.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/__init__.pyc +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/convert_qe.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/convert_qe.pyc +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/get_ei.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/get_ei.pyc +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/pyproject.toml +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/examples/scripts/README.rst +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/examples/scripts/chopper_plot.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/examples/scripts/example.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/__init__.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/consoleapp.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/datadialogs.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/fitdialogs.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/importdialog.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/pyqt.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/back.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/backward-icon.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/customize.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/equal.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/export-data.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/export-figure.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/filesave.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/forward-icon.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/forward.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/hand.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/home.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/icon/NeXpy.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/icon/NeXpy.svg +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/link-icon.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/lock-icon.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/lock-red-icon.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/modify-style.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/move.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/pause-icon.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/refresh-icon.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/unlock-icon.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/unlock-red-icon.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/resources/zoom_to_rect.png +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/scripteditor.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/gui/widgets.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/nexpygui.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/plugins/__init__.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/readers/__init__.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/readers/readspec.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/readers/readstack.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/readers/readtiff.py +0 -0
- {NeXpy-1.0.7 → nexpy-1.0.8}/src/nexpy/readers/readtxt.py +0 -0
- {NeXpy-1.0.7 → 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.
|
|
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@
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
14
|
- name: Set up Python ${{ matrix.python-version }}
|
|
15
|
-
uses: actions/setup-python@
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
@@ -566,6 +566,11 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
|
566
566
|
"Fit Data", self, shortcut=QtGui.QKeySequence("Ctrl+Shift+F"),
|
|
567
567
|
triggered=self.fit_data)
|
|
568
568
|
self.add_menu_action(self.data_menu, self.fit_action)
|
|
569
|
+
self.fit_weighted_action = QtWidgets.QAction(
|
|
570
|
+
"Fit Weighted Data", self,
|
|
571
|
+
shortcut=QtGui.QKeySequence("Ctrl+Shift+Alt+F"),
|
|
572
|
+
triggered=self.fit_weighted_data)
|
|
573
|
+
self.add_menu_action(self.data_menu, self.fit_weighted_action)
|
|
569
574
|
|
|
570
575
|
def init_plugin_menus(self):
|
|
571
576
|
"""Add an menu item for every module in the plugin menus"""
|
|
@@ -1032,8 +1037,10 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
|
1032
1037
|
self.recent_file_actions[action] = (i, recent_file)
|
|
1033
1038
|
self.settings.purge('recent')
|
|
1034
1039
|
for recent_file in recent_files:
|
|
1035
|
-
|
|
1036
|
-
|
|
1040
|
+
if "=" not in recent_file:
|
|
1041
|
+
self.settings.set('recent', recent_file)
|
|
1042
|
+
if "=" not in filename:
|
|
1043
|
+
self.settings.set('session', filename)
|
|
1037
1044
|
self.settings.save()
|
|
1038
1045
|
|
|
1039
1046
|
def save_file(self):
|
|
@@ -1481,7 +1488,8 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
|
1481
1488
|
self.treeview.status_message(node)
|
|
1482
1489
|
signals = [node.nxsignal]
|
|
1483
1490
|
signals.extend([node[signal] for signal
|
|
1484
|
-
in node.attrs['auxiliary_signals']
|
|
1491
|
+
in node.attrs['auxiliary_signals']
|
|
1492
|
+
if signal != node.nxsignal.nxname])
|
|
1485
1493
|
colors = get_colors(len(signals))
|
|
1486
1494
|
for i, signal in enumerate(signals):
|
|
1487
1495
|
if i == 0:
|
|
@@ -1490,6 +1498,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
|
1490
1498
|
else:
|
|
1491
1499
|
signal.oplot(marker='None', linestyle='-',
|
|
1492
1500
|
color=colors[i])
|
|
1501
|
+
self.plotview.ax.set_title(node.nxroot.nxname + node.nxpath)
|
|
1493
1502
|
self.plotview.otab.home()
|
|
1494
1503
|
self.plotview.legend(signal=True)
|
|
1495
1504
|
self.plotview.make_active()
|
|
@@ -1762,6 +1771,24 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
|
1762
1771
|
except NeXusError as error:
|
|
1763
1772
|
report_error("Fitting Data", error)
|
|
1764
1773
|
|
|
1774
|
+
def fit_weighted_data(self):
|
|
1775
|
+
try:
|
|
1776
|
+
node = self.treeview.get_node()
|
|
1777
|
+
if node is None:
|
|
1778
|
+
return
|
|
1779
|
+
elif isinstance(node, NXdata):
|
|
1780
|
+
if node.ndim > 1:
|
|
1781
|
+
raise NeXusError(
|
|
1782
|
+
"Fitting only enabled for one-dimensional data")
|
|
1783
|
+
else:
|
|
1784
|
+
raise NeXusError("Select an NXdata group")
|
|
1785
|
+
if 'Fit' not in self.panels:
|
|
1786
|
+
self.panels['Fit'] = FitDialog()
|
|
1787
|
+
self.panels['Fit'].activate(node.weighted_data())
|
|
1788
|
+
logging.info(f"Fitting invoked on'{node.nxpath}'")
|
|
1789
|
+
except NeXusError as error:
|
|
1790
|
+
report_error("Fitting Data", error)
|
|
1791
|
+
|
|
1765
1792
|
def input_base_classes(self):
|
|
1766
1793
|
base_class_path = pkg_resources.resource_filename(
|
|
1767
1794
|
'nexpy', 'definitions/base_classes')
|
|
@@ -1473,8 +1473,11 @@ class NXPlotView(QtWidgets.QDialog):
|
|
|
1473
1473
|
from .fitdialogs import FitDialog
|
|
1474
1474
|
if not self.mainwindow.panel_is_running('Fit'):
|
|
1475
1475
|
self.panels['Fit'] = FitDialog()
|
|
1476
|
-
self.
|
|
1477
|
-
|
|
1476
|
+
if self.weighted:
|
|
1477
|
+
data = self.plots[self.num]['data'].weighted_data()
|
|
1478
|
+
else:
|
|
1479
|
+
data = self.plots[self.num]['data']
|
|
1480
|
+
self.panels['Fit'].activate(data, plotview=self,
|
|
1478
1481
|
color=self.plots[self.num]['color'])
|
|
1479
1482
|
|
|
1480
1483
|
def symlog(self, linthresh=None, linscale=None, vmax=None):
|
|
@@ -13,7 +13,7 @@ from nexusformat.nexus import (NeXusError, NXdata, NXentry, NXfield, NXgroup,
|
|
|
13
13
|
NXlink, NXroot, nxload)
|
|
14
14
|
|
|
15
15
|
from .pyqt import QtCore, QtGui, QtWidgets
|
|
16
|
-
from .utils import display_message, modification_time, report_error
|
|
16
|
+
from .utils import display_message, get_name, modification_time, report_error
|
|
17
17
|
from .widgets import NXSortModel
|
|
18
18
|
|
|
19
19
|
|
|
@@ -116,22 +116,7 @@ class NXtree(NXgroup):
|
|
|
116
116
|
raise NeXusError(f"{name} not in the tree")
|
|
117
117
|
|
|
118
118
|
def get_name(self, filename):
|
|
119
|
-
|
|
120
|
-
os.path.basename(filename))[0].replace(' ', '_')
|
|
121
|
-
name = "".join([c for c in name.replace('-', '_')
|
|
122
|
-
if c.isalpha() or c.isdigit() or c == '_'])
|
|
123
|
-
if name in self._shell:
|
|
124
|
-
ind = []
|
|
125
|
-
for key in self._shell:
|
|
126
|
-
try:
|
|
127
|
-
if key.startswith(name+'_'):
|
|
128
|
-
ind.append(int(key[len(name)+1:]))
|
|
129
|
-
except ValueError:
|
|
130
|
-
pass
|
|
131
|
-
if ind == []:
|
|
132
|
-
ind = [0]
|
|
133
|
-
name = name+'_'+str(sorted(ind)[-1]+1)
|
|
134
|
-
return name
|
|
119
|
+
return get_name(filename, self._shell)
|
|
135
120
|
|
|
136
121
|
def get_new_name(self):
|
|
137
122
|
ind = []
|
|
@@ -337,6 +322,7 @@ class NXTreeView(QtWidgets.QTreeView):
|
|
|
337
322
|
self.mainwindow.signal_action.setEnabled(False)
|
|
338
323
|
self.mainwindow.default_action.setEnabled(False)
|
|
339
324
|
self.mainwindow.fit_action.setEnabled(False)
|
|
325
|
+
self.mainwindow.fit_weighted_action.setEnabled(False)
|
|
340
326
|
try:
|
|
341
327
|
node = self.get_node()
|
|
342
328
|
except Exception:
|
|
@@ -395,9 +381,13 @@ class NXTreeView(QtWidgets.QTreeView):
|
|
|
395
381
|
if isinstance(node, NXdata):
|
|
396
382
|
self.mainwindow.signal_action.setEnabled(True)
|
|
397
383
|
try:
|
|
398
|
-
if
|
|
399
|
-
(
|
|
400
|
-
|
|
384
|
+
if isinstance(node, NXdata) and node.plot_rank == 1:
|
|
385
|
+
self.mainwindow.fit_action.setEnabled(True)
|
|
386
|
+
if node.nxweights is not None:
|
|
387
|
+
self.mainwindow.fit_weighted_action.setEnabled(
|
|
388
|
+
True)
|
|
389
|
+
elif (isinstance(node, NXgroup) and
|
|
390
|
+
('fit' in node or 'model' in node)):
|
|
401
391
|
self.mainwindow.fit_action.setEnabled(True)
|
|
402
392
|
except Exception:
|
|
403
393
|
pass
|
|
@@ -464,6 +454,7 @@ class NXTreeView(QtWidgets.QTreeView):
|
|
|
464
454
|
self.addMenu(self.mainwindow.link_action)
|
|
465
455
|
self.menu.addSeparator()
|
|
466
456
|
self.addMenu(self.mainwindow.fit_action)
|
|
457
|
+
self.addMenu(self.mainwindow.fit_weighted_action)
|
|
467
458
|
self.menu.addSeparator()
|
|
468
459
|
self.addMenu(self.mainwindow.signal_action)
|
|
469
460
|
self.addMenu(self.mainwindow.default_action)
|
|
@@ -15,10 +15,10 @@ import logging
|
|
|
15
15
|
import os
|
|
16
16
|
import re
|
|
17
17
|
import sys
|
|
18
|
-
import time
|
|
19
18
|
import traceback as tb
|
|
20
19
|
from configparser import ConfigParser
|
|
21
20
|
from datetime import datetime
|
|
21
|
+
from pathlib import Path
|
|
22
22
|
from threading import Thread
|
|
23
23
|
|
|
24
24
|
import numpy as np
|
|
@@ -427,9 +427,7 @@ def convertHTML(text):
|
|
|
427
427
|
|
|
428
428
|
def get_name(filename, entries=[]):
|
|
429
429
|
"""Return a valid object name from a filename."""
|
|
430
|
-
name =
|
|
431
|
-
name = "".join([c for c in name.replace('-', '_')
|
|
432
|
-
if c.isalpha() or c.isdigit() or c == '_'])
|
|
430
|
+
name = re.sub('\W|^(?=\d)','_', Path(filename).stem)
|
|
433
431
|
if name in entries:
|
|
434
432
|
ind = []
|
|
435
433
|
for key in entries:
|
|
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.7 → nexpy-1.0.8}/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.7 → nexpy-1.0.8}/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
|
|
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.7 → nexpy-1.0.8}/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
|
|
File without changes
|