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.
- {NeXpy-1.0.6 → nexpy-1.0.8}/.github/workflows/ci.yml +3 -3
- {NeXpy-1.0.6 → nexpy-1.0.8}/PKG-INFO +4 -2
- {NeXpy-1.0.6 → nexpy-1.0.8}/conda-recipe/meta.yaml +3 -3
- {NeXpy-1.0.6 → nexpy-1.0.8}/setup.cfg +3 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/NeXpy.egg-info/PKG-INFO +4 -2
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/NeXpy.egg-info/SOURCES.txt +1 -51
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/NeXpy.egg-info/requires.txt +2 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/_version.py +2 -2
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXaperture.nxdl.xml +40 -5
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXattenuator.nxdl.xml +35 -3
- nexpy-1.0.8/src/nexpy/definitions/base_classes/NXbeam.nxdl.xml +340 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXbeam_stop.nxdl.xml +56 -8
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXbending_magnet.nxdl.xml +31 -2
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcapillary.nxdl.xml +23 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcite.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcollection.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcollimator.nxdl.xml +32 -2
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcrystal.nxdl.xml +31 -4
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXcylindrical_geometry.nxdl.xml +1 -1
- nexpy-1.0.8/src/nexpy/definitions/base_classes/NXdata.nxdl.xml +508 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXdetector.nxdl.xml +192 -45
- nexpy-1.0.8/src/nexpy/definitions/base_classes/NXdetector_channel.nxdl.xml +162 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXdetector_group.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXdetector_module.nxdl.xml +6 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXdisk_chopper.nxdl.xml +41 -3
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXentry.nxdl.xml +49 -41
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXenvironment.nxdl.xml +23 -2
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXevent_data.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXfermi_chopper.nxdl.xml +30 -3
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXfilter.nxdl.xml +30 -3
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXflipper.nxdl.xml +24 -2
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXfresnel_zone_plate.nxdl.xml +25 -3
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXgeometry.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXgrating.nxdl.xml +27 -3
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXguide.nxdl.xml +35 -3
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXinsertion_device.nxdl.xml +28 -2
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXinstrument.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXlog.nxdl.xml +3 -3
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXmirror.nxdl.xml +35 -3
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXmoderator.nxdl.xml +36 -3
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXmonitor.nxdl.xml +36 -5
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXmonochromator.nxdl.xml +28 -2
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXnote.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXobject.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXoff_geometry.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXorientation.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXparameters.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXpdb.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXpinhole.nxdl.xml +17 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXpolarizer.nxdl.xml +23 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXpositioner.nxdl.xml +23 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXprocess.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXroot.nxdl.xml +18 -14
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXsample.nxdl.xml +38 -11
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXsample_component.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXsensor.nxdl.xml +32 -3
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXshape.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXslit.nxdl.xml +18 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXsource.nxdl.xml +35 -3
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXsubentry.nxdl.xml +18 -14
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXtransformations.nxdl.xml +30 -4
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXtranslation.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXuser.nxdl.xml +1 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXvelocity_selector.nxdl.xml +29 -2
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXxraylens.nxdl.xml +28 -1
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/consoleapp.py +1 -2
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/mainwindow.py +30 -3
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/plotview.py +5 -2
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/treeview.py +11 -20
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/utils.py +2 -4
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/nexpygui.py +4 -0
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXarchive.nxdl.xml +0 -170
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXarpes.nxdl.xml +0 -134
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXcanSAS.nxdl.xml +0 -1291
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXdirecttof.nxdl.xml +0 -63
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXfluo.nxdl.xml +0 -107
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXindirecttof.nxdl.xml +0 -68
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXiqproc.nxdl.xml +0 -116
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXlauetof.nxdl.xml +0 -144
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXmonopd.nxdl.xml +0 -135
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXmx.nxdl.xml +0 -871
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXrefscan.nxdl.xml +0 -120
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXreftof.nxdl.xml +0 -126
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXsas.nxdl.xml +0 -191
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXsastof.nxdl.xml +0 -182
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXscan.nxdl.xml +0 -110
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXspe.nxdl.xml +0 -76
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXsqom.nxdl.xml +0 -121
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXstxm.nxdl.xml +0 -203
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXtas.nxdl.xml +0 -191
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXtofnpd.nxdl.xml +0 -130
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXtofraw.nxdl.xml +0 -146
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXtofsingle.nxdl.xml +0 -141
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXtomo.nxdl.xml +0 -153
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXtomophase.nxdl.xml +0 -172
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXtomoproc.nxdl.xml +0 -130
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXxas.nxdl.xml +0 -122
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXxasproc.nxdl.xml +0 -93
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXxbase.nxdl.xml +0 -182
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXxeuler.nxdl.xml +0 -103
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXxkappa.nxdl.xml +0 -102
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXxlaue.nxdl.xml +0 -72
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXxlaueplate.nxdl.xml +0 -51
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXxnb.nxdl.xml +0 -97
- NeXpy-1.0.6/src/nexpy/definitions/applications/NXxrot.nxdl.xml +0 -94
- NeXpy-1.0.6/src/nexpy/definitions/applications/nxdlformat.xsl +0 -221
- NeXpy-1.0.6/src/nexpy/definitions/base_classes/NXbeam.nxdl.xml +0 -145
- NeXpy-1.0.6/src/nexpy/definitions/base_classes/NXdata.nxdl.xml +0 -435
- NeXpy-1.0.6/src/nexpy/definitions/base_classes/nxdlformat.xsl +0 -198
- NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXcontainer.nxdl.xml +0 -169
- NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXcsg.nxdl.xml +0 -87
- NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXcxi_ptycho.nxdl.xml +0 -232
- NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXelectrostatic_kicker.nxdl.xml +0 -60
- NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXmagnetic_kicker.nxdl.xml +0 -57
- NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXquadric.nxdl.xml +0 -88
- NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXquadrupole_magnet.nxdl.xml +0 -51
- NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXseparator.nxdl.xml +0 -58
- NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXsnsevent.nxdl.xml +0 -328
- NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXsnshisto.nxdl.xml +0 -341
- NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXsolenoid_magnet.nxdl.xml +0 -51
- NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXsolid_geometry.nxdl.xml +0 -56
- NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXspecdata.nxdl.xml +0 -462
- NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/NXspin_rotator.nxdl.xml +0 -58
- NeXpy-1.0.6/src/nexpy/definitions/contributed_definitions/nxdlformat.xsl +0 -221
- {NeXpy-1.0.6 → nexpy-1.0.8}/.gitattributes +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/.gitignore +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/COPYING +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/README.md +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/README.rst +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/conda-recipe/bld.bat +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/conda-recipe/build.sh +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/Makefile +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/make.bat +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/_static/__ignore__.txt +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/conf.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/examples.rst +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/favicon.ico +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/axis-limits-bar.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/customize-panel.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/limits-panel.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/nexpy-fits.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/nexpy-gui.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/nexpy-logo.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/options-tab.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/projection-panel.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/projection-tab.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/scan-panel.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/signal-tab.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/simple-plot.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/skewed-axis.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/x-tab.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/y-tab.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/z-tab.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/images/z-toolbar.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/includeme.rst +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/index.rst +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/pythongui.rst +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/pythonshell.rst +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/readers.rst +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/doc/source/treeapi.rst +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/pyproject.toml +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/setup.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/NeXpy.egg-info/dependency_links.txt +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/NeXpy.egg-info/entry_points.txt +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/NeXpy.egg-info/pbr.json +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/NeXpy.egg-info/top_level.txt +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/__init__.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/__init__.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/frills/__init__.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/frills/fit.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/frills/functions/__init__.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/frills/models/__init__.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/frills/models/bose.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/frills/models/critexp.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/frills/models/op.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/api/frills/models/pdfdecay.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/__init__.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/definitions/base_classes/NXreflections.nxdl.xml +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/README.rst +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/chopper.nxs +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/example.nxs +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/plugins/README.rst +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/__init__.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/__init__.pyc +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/convert_qe.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/convert_qe.pyc +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/get_ei.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/chopper/get_ei.pyc +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/plugins/chopper_plugin/pyproject.toml +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/scripts/README.rst +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/scripts/chopper_plot.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/examples/scripts/example.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/__init__.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/datadialogs.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/fitdialogs.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/importdialog.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/pyqt.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/back.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/backward-icon.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/customize.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/equal.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/export-data.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/export-figure.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/filesave.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/forward-icon.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/forward.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/hand.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/home.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/icon/NeXpy.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/icon/NeXpy.svg +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/link-icon.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/lock-icon.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/lock-red-icon.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/modify-style.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/move.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/pause-icon.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/refresh-icon.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/unlock-icon.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/unlock-red-icon.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/resources/zoom_to_rect.png +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/scripteditor.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/gui/widgets.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/plugins/__init__.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/readers/__init__.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/readers/readspec.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/readers/readstack.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/readers/readtiff.py +0 -0
- {NeXpy-1.0.6 → nexpy-1.0.8}/src/nexpy/readers/readtxt.py +0 -0
- {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.
|
|
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
|
|
@@ -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
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<!--
|
|
4
4
|
# NeXus - Neutron and X-ray Common Data Format
|
|
5
5
|
#
|
|
6
|
-
# Copyright (C) 2008-
|
|
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>
|
|
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
|
-
<
|
|
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
|
|
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-
|
|
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:
|
|
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
|
|
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>
|