/
NXchemical_composition.nxdl.xml
69 lines (69 loc) · 2.65 KB
/
NXchemical_composition.nxdl.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?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) 2014-2024 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 xmlns="http://definition.nexusformat.org/nxdl/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" category="base" name="NXchemical_composition" extends="NXobject" type="group" xsi:schemaLocation="http://definition.nexusformat.org/nxdl/3.1 ../nxdl.xsd">
<symbols>
<doc>
The symbols used in the schema to specify e.g. dimensions of arrays.
</doc>
<symbol name="n">
<doc>
The number of samples or things.
</doc>
</symbol>
</symbols>
<doc>
(Chemical) composition of a sample or a set of things.
</doc>
<!--molecule descriptor
chemical_formula:
doc: |
IUPAC chemical formula-->
<field name="total" type="NX_NUMBER" units="NX_UNITLESS">
<doc>
Total based on which composition information is normalized.
</doc>
<dimensions rank="1">
<dim index="1" value="n"/>
</dimensions>
</field>
<group name="ION" type="NXion">
<field name="count" type="NX_NUMBER" units="NX_UNITLESS">
<doc>
Count or weight which, when divided by total yields the composition
of this element, isotope, molecule or ion.
</doc>
<dimensions rank="1">
<dim index="1" value="n"/>
</dimensions>
</field>
<field name="composition" type="NX_NUMBER" units="NX_DIMENSIONLESS">
<doc>
Count divided by total in atom percent.
</doc>
<dimensions rank="1">
<dim index="1" value="n"/>
</dimensions>
</field>
</group>
</definition>