Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
141 commits
Select commit Hold shift + click to select a range
163c19d
Remove NXxas and NXxasproc definitions
mretegan Aug 29, 2026
6d5b50c
Remove entries from other files
mretegan Aug 29, 2026
2c6ab6a
Introduce `NXemission_line` base class
mretegan Mar 2, 2026
585cbbb
Add an optional element group
mretegan Mar 17, 2026
b915a24
Add NXemission_lines to group multiple emission lines
mretegan Mar 17, 2026
46b35cf
Build doc on readthedocs
mretegan Mar 17, 2026
7b578b1
Add NXelement
mretegan Mar 17, 2026
a1d6218
Add Auger line base class
mretegan Mar 17, 2026
61d6ac9
One minimum occurrence
mretegan Apr 30, 2026
c13b271
Replace NXelement with NXatom
mretegan Jun 5, 2026
38f3a9d
Deduplicate Auger lines
mretegan Jun 5, 2026
54ba07f
Update doc
mretegan Jun 5, 2026
393fcd7
Revert "Replace NXelement with NXatom"
mretegan Jun 25, 2026
b1fd5f0
Update NXelement documentation
mretegan Jun 25, 2026
8a1f613
Remove again NXemission_lines
mretegan Jun 25, 2026
de244a0
Update the copyright year
mretegan Jun 25, 2026
cf86617
Remove minOccurs and maxOccurs attributes
mretegan Jun 25, 2026
cd4f73d
Remove optional fields from NXelement definition
mretegan Jun 25, 2026
46889fc
Fix missing newline
mretegan Jun 25, 2026
839533c
Move the classes to contributed_definitions
mretegan Jun 25, 2026
d046104
Update the top documentation blocks
mretegan Jun 25, 2026
2f38e32
Add the name attribute to group element
mretegan Jun 25, 2026
0a408f2
Add the contributed classes
mretegan Jul 7, 2026
fda9333
Add XAS section to the manual
mretegan Jul 7, 2026
d556876
Add XAS to the grouping and documentation references
mretegan Jul 7, 2026
66bc79a
Update documentation for dataRank dimensions
mretegan Jul 8, 2026
532cce3
Fix the required field
mretegan Jul 8, 2026
c6996e9
Fix doc and units for the intensity field
mretegan Jul 8, 2026
c4c1413
Remove duplicate energy field
mretegan Jul 8, 2026
1b9a18a
Use proper terminology
mretegan Jul 8, 2026
22dc40f
Require the name field
mretegan Jul 8, 2026
92a991c
Add doc to sample temperature
mretegan Jul 8, 2026
91bb7a1
Defer provenance in the case of simulated or reconstructed spectra
mretegan Jul 8, 2026
550ebb1
Clarify documentation for NXxas_trans
mretegan Jul 8, 2026
8a94e87
Add @signal
mretegan Jul 8, 2026
7019350
Clarify the doc for NXdata
mretegan Jul 8, 2026
46eda70
Add title and time-related fields
mretegan Jul 8, 2026
4bdf46e
Improve doc for NXabsorption_edge
mretegan Jul 8, 2026
bc36d14
Pin sphinx-toolbox<4.3 to avoid error in doc build
mretegan Aug 11, 2026
f4f0a6d
Clarify documentation for intensity_errors
mretegan Aug 11, 2026
eda2917
Fix formatting in documentation
mretegan Aug 11, 2026
50916b3
Drop sphinx-toolbox pin, fixed upstream
mretegan Sep 15, 2026
f8935e4
Update the doc with all added base classes
mretegan Sep 15, 2026
687f3e4
Fix copyright year
mretegan Sep 15, 2026
51e17e9
Rename atom group to element in NXabsorption_edge
mretegan Sep 15, 2026
75e9a21
Remove occurrence attributes from NXabsorption_edge
mretegan Sep 15, 2026
57b4e57
Store one temperature per spectrum, rank 1 with nP
mretegan Sep 15, 2026
66533c5
Move the reference group to NXxas
mretegan Sep 16, 2026
b2e880b
Make the "DATA" NXdata group required
mretegan Sep 22, 2026
1f104eb
Allow the note field to be text/plain
mretegan Sep 22, 2026
eceed06
Move the raw_data and processing to NXxas
mretegan Sep 23, 2026
c34c3a2
Rearange some filelds
mretegan Sep 23, 2026
ee2b991
Make i0 and itrans recommended
mretegan Sep 23, 2026
806a8f0
Update documentation
mretegan Sep 23, 2026
a129799
Trim the documentation
mretegan Sep 23, 2026
011d9f2
Remove NXxas and NXxasproc definitions
mretegan Aug 29, 2026
4fd0c03
Introduce `NXemission_line` base class
mretegan Mar 2, 2026
91f4ce9
Add an optional element group
mretegan Mar 17, 2026
0fe7b66
Add NXemission_lines to group multiple emission lines
mretegan Mar 17, 2026
ac60c29
Build doc on readthedocs
mretegan Mar 17, 2026
ece1a91
Add NXelement
mretegan Mar 17, 2026
39a1de1
Add Auger line base class
mretegan Mar 17, 2026
5664490
One minimum occurrence
mretegan Apr 30, 2026
fef93e6
Replace NXelement with NXatom
mretegan Jun 5, 2026
3a9ed7c
Deduplicate Auger lines
mretegan Jun 5, 2026
20ed273
Update doc
mretegan Jun 5, 2026
c71a00a
Revert "Replace NXelement with NXatom"
mretegan Jun 25, 2026
18a04a9
Update NXelement documentation
mretegan Jun 25, 2026
4c00c90
Remove again NXemission_lines
mretegan Jun 25, 2026
b16f929
Update the copyright year
mretegan Jun 25, 2026
1b1c744
Remove minOccurs and maxOccurs attributes
mretegan Jun 25, 2026
29be800
Remove optional fields from NXelement definition
mretegan Jun 25, 2026
66259c6
Fix missing newline
mretegan Jun 25, 2026
4bf6f42
Move the classes to contributed_definitions
mretegan Jun 25, 2026
7feb5ae
Update the top documentation blocks
mretegan Jun 25, 2026
b29e25f
Add the name attribute to group element
mretegan Jun 25, 2026
009b4d6
Move defitions to base_classes
mretegan Sep 26, 2026
d7cf2eb
Update documentation
mretegan Sep 26, 2026
c7dbc52
Revert "Remove NXxas and NXxasproc definitions"
mretegan Sep 26, 2026
b49adfa
Use a compact XML syntax
mretegan Sep 26, 2026
c8ba2e2
Use an open enumeration for NXauger_line
mretegan Sep 26, 2026
2e13b1d
Remove readthedocs file
mretegan Sep 26, 2026
6bbbc1d
Review the documentation
mretegan Sep 28, 2026
0cdf0db
Remove `optional=true` on the `element` group
mretegan Sep 28, 2026
4f67653
More documentation formatting
mretegan Sep 28, 2026
865925f
Remove the energy
mretegan Sep 28, 2026
4465e33
Add missing combined lines
mretegan Sep 29, 2026
1e23e1f
Make the enumeration open
mretegan Sep 29, 2026
d304b8a
Formatting
mretegan Sep 29, 2026
096ebad
Remove Ka3 (it is a satellite)
mretegan Sep 29, 2026
a81114d
Use Roman numerals as required
mretegan Sep 29, 2026
6623c2b
Add all lines
mretegan Sep 29, 2026
40e9827
Fix L2-N6(7)
mretegan Sep 29, 2026
ca11974
Remove Ka3
mretegan Sep 29, 2026
8d8dfc6
Rename Ln to Le
mretegan Sep 29, 2026
b2c3b53
A minor doc update
mretegan Sep 29, 2026
01e4299
More detailed doc
mretegan Sep 29, 2026
01f86b1
Remove vacancy
mretegan Sep 29, 2026
8d73266
More documentation update
mretegan Sep 29, 2026
09362ff
Formatting
mretegan Sep 29, 2026
8b56eff
Clarify what definition
mretegan Sep 29, 2026
8453585
White space cleanup
mretegan Sep 29, 2026
0c060af
Remove emission lines not in the IUPAC reference
mretegan Sep 29, 2026
cfb8dfd
Final alignement with IUPAC
mretegan Sep 30, 2026
1b35e52
Remove redundant info about @custom
mretegan Sep 30, 2026
8e13037
The classes should strictly represent single lines
mretegan Sep 30, 2026
616c062
Merge branch 'add-nxemission-line-class' into xas-base-and-trans-minimal
mretegan Oct 5, 2026
e8ffab7
Remove "Read the Docs"
mretegan Oct 5, 2026
0310c8e
Move NXabsorption_edge to base classes
mretegan Oct 5, 2026
79d4a9b
Update doc
mretegan Oct 5, 2026
21af53f
Remove energy
mretegan Oct 5, 2026
293d7a7
No need to document symbol again
mretegan Oct 5, 2026
0a7e84f
Remove spin-orbit split levels
mretegan Oct 5, 2026
ca741c0
Make the enumeration open
mretegan Oct 5, 2026
7296ec4
Update documentation
mretegan Oct 5, 2026
4932aac
More documentation cleaning
mretegan Oct 5, 2026
a689048
Remove Python MIME type from processiong note
mretegan Oct 5, 2026
476dd75
Limit the references to NXxas
mretegan Oct 5, 2026
acecae8
Clarify documentation
mretegan Oct 5, 2026
d13e7a0
Merge remote-tracking branch 'upstream/main' into xas-base-and-trans-…
mretegan Oct 22, 2026
e99eece
Use subentry instead of file
mretegan Oct 22, 2026
7b41ec0
Define NXinstrument in parent class
mretegan Oct 23, 2026
a7a89b5
Make the NXcrystal optional
mretegan Oct 23, 2026
575c4e9
Make the field optional also in NXxas_trans
mretegan Oct 23, 2026
2bbebb9
Add an energy resolution group to NXmonochromator
mretegan Oct 23, 2026
829cb36
Update also the class doc
mretegan Oct 23, 2026
dc4ab37
Restore NXxasproc to contributed_definitions
mretegan Oct 24, 2026
e48db73
Deprecate the NXxasproc application definition
mretegan Oct 24, 2026
63116a8
Deprecate the mode field
mretegan Oct 24, 2026
be713ee
Remove named NXdata
mretegan Oct 24, 2026
389e06b
Rephrase the application definitions doc
mretegan Oct 26, 2026
cf41877
Use an intensity attribute instead of is_experimental
mretegan Oct 26, 2026
bf54dd6
Add a type attribute to intensity
mretegan Oct 26, 2026
8a6c899
Relax the units to NX_ANY
mretegan Oct 26, 2026
7bd9e9e
Format long docs
mretegan Oct 26, 2026
45a406e
Use this instead of it
mretegan Oct 26, 2026
27fd7e0
Restrict the processing note to plain text
mretegan Oct 26, 2026
e93bff7
Refine documentation
mretegan Nov 5, 2026
161219a
Exclude a nested reference in the reference subentry
mretegan Nov 5, 2026
b6fe020
Merge remote-tracking branch 'upstream/main' into xas-base-and-trans-…
mretegan Nov 6, 2026
f88c87e
Clarify the instructions for reporting calculated spectra
mretegan Nov 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 0 additions & 127 deletions applications/NXxas.nxdl.xml

This file was deleted.

145 changes: 145 additions & 0 deletions base_classes/NXabsorption_edge.nxdl.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="nxdlformat.xsl" ?>
<!--
# NeXus - Neutron and X-ray Common Data Format
#
# Copyright (C) 2026 NeXus International Advisory Committee (NIAC)
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 3 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# For further information, see http://www.nexusformat.org
-->
<definition name="NXabsorption_edge" type="group" extends="NXobject" category="base"
xmlns="http://definition.nexusformat.org/nxdl/3.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://definition.nexusformat.org/nxdl/3.1 ../nxdl.xsd">
<doc>
An X-ray absorption edge.

An absorption edge is a sharp discontinuity in the X-ray absorption spectrum
of an atom that occurs when the incident photon energy reaches the threshold
energy for exciting the atom to a state with a core vacancy. The threshold
energy is characteristic of the element and can depend on the chemical state
of the atom.
</doc>
<field name="name" type="NX_CHAR">
<doc>
Name of the absorption edge using `IUPAC notation`_ (e.g., ``K``,
``L2``, ``M5``), which identifies the core-vacancy state of the
atom.

Correspondence between IUPAC notation and electron configuration,
expressed as vacancy notation (superscript :math:`-1`):

.. list-table::
:header-rows: 1

* - IUPAC
- Electron configuration
* - ``K``
- :math:`1s^{-1}`
* - ``L1``
- :math:`2s^{-1}`
* - ``L2``
- :math:`2p_{1/2}^{-1}`
* - ``L3``
- :math:`2p_{3/2}^{-1}`
* - ``M1``
- :math:`3s^{-1}`
* - ``M2``
- :math:`3p_{1/2}^{-1}`
* - ``M3``
- :math:`3p_{3/2}^{-1}`
* - ``M4``
- :math:`3d_{3/2}^{-1}`
* - ``M5``
- :math:`3d_{5/2}^{-1}`
* - ``N1``
- :math:`4s^{-1}`
* - ``N2``
- :math:`4p_{1/2}^{-1}`
* - ``N3``
- :math:`4p_{3/2}^{-1}`
* - ``N4``
- :math:`4d_{3/2}^{-1}`
* - ``N5``
- :math:`4d_{5/2}^{-1}`
* - ``N6``
- :math:`4f_{5/2}^{-1}`
* - ``N7``
- :math:`4f_{7/2}^{-1}`
* - ``O1``
- :math:`5s^{-1}`
* - ``O2``
- :math:`5p_{1/2}^{-1}`
* - ``O3``
- :math:`5p_{3/2}^{-1}`
* - ``O4``
- :math:`5d_{3/2}^{-1}`
* - ``O5``
- :math:`5d_{5/2}^{-1}`
* - ``O6``
- :math:`5f_{5/2}^{-1}`
* - ``O7``
- :math:`5f_{7/2}^{-1}`
* - ``P1``
- :math:`6s^{-1}`
* - ``P2``
- :math:`6p_{1/2}^{-1}`
* - ``P3``
- :math:`6p_{3/2}^{-1}`
* - ``P4``
- :math:`6d_{3/2}^{-1}`
* - ``P5``
- :math:`6d_{5/2}^{-1}`

.. _IUPAC notation: https://doi.org/10.1002/xrs.1300200308
</doc>
<enumeration open="true">
<item value="K"/>
<item value="L1"/>
<item value="L2"/>
<item value="L3"/>
<item value="M1"/>
<item value="M2"/>
<item value="M3"/>
<item value="M4"/>
<item value="M5"/>
<item value="N1"/>
<item value="N2"/>
<item value="N3"/>
<item value="N4"/>
<item value="N5"/>
<item value="N6"/>
<item value="N7"/>
<item value="O1"/>
<item value="O2"/>
<item value="O3"/>
<item value="O4"/>
<item value="O5"/>
<item value="O6"/>
<item value="O7"/>
<item value="P1"/>
<item value="P2"/>
<item value="P3"/>
<item value="P4"/>
<item value="P5"/>
</enumeration>
</field>
<group name="element" type="NXelement">
<doc>
The element whose core electron is excited at this absorption edge.
</doc>
</group>
</definition>
Loading
Loading