Skip to content

Commit a4617c1

Browse files
committed
Update NXDL files with the latest NeXus definitions repository
1 parent c43b3d5 commit a4617c1

2 files changed

Lines changed: 15 additions & 23 deletions

File tree

src/nexusformat/definitions/base_classes/NXfit_function.nxdl.xml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -58,30 +58,14 @@ and a BNF of valid grammar.-->
5858
<group name="fit_parameters" type="NXparameters">
5959
<field name="PARAMETER" nameType="any" type="NX_CHAR_OR_NUMBER" units="NX_ANY">
6060
<doc>
61-
A parameter for a fit function.
62-
This would typically be a variable that
63-
is optimized in a fit.
61+
A parameter for a fit function. This would typically be
62+
a variable that is optimized in a fit.
6463
</doc>
6564
<attribute name="description" type="NX_CHAR">
6665
<doc>
6766
A description of what this parameter represents.
6867
</doc>
6968
</attribute>
70-
<attribute name="fixed" type="NX_BOOLEAN">
71-
<doc>
72-
If the parameter is held constant, then this attribute should be True.
73-
</doc>
74-
</attribute>
75-
<attribute name="min_value" type="NX_NUMBER">
76-
<doc>
77-
The minimal value of the parameter, to be used as a constraint during fitting.
78-
</doc>
79-
</attribute>
80-
<attribute name="max_value" type="NX_NUMBER">
81-
<doc>
82-
The maximal value of the parameter, to be used as a constraint during fitting.
83-
</doc>
84-
</attribute>
8569
</field>
8670
</group>
8771
</definition>

src/nexusformat/definitions/contributed_definitions/NXsensor_scan.nxdl.xml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<?xml version='1.0' encoding='UTF-8'?>
22
<?xml-stylesheet type="text/xsl" href="nxdlformat.xsl"?>
33
<!--
44
# NeXus - Neutron and X-ray Common Data Format
@@ -72,8 +72,16 @@
7272
</doc>
7373
</field>
7474
<field name="experiment_description" recommended="true"/>
75-
<field name="start_time" type="NX_DATE_TIME" units="NX_TIME" recommended="true"/>
76-
<field name="end_time" type="NX_DATE_TIME" units="NX_TIME" recommended="true"/>
75+
<field name="start_time" type="NX_DATE_TIME" recommended="true">
76+
<doc>
77+
The start time of the experiment.
78+
</doc>
79+
</field>
80+
<field name="end_time" type="NX_DATE_TIME" recommended="true">
81+
<doc>
82+
The end time of the experiment.
83+
</doc>
84+
</field>
7785
<group type="NXprocess">
7886
<doc>
7987
Define the program that was used to generate the results file(s)
@@ -145,8 +153,8 @@
145153
be useful to understand the experiment.
146154
</doc>
147155
</group>
148-
<group type="NXinstrument">
149-
<group type="NXenvironment">
156+
<group type="NXinstrument" recommended="true">
157+
<group type="NXenvironment" recommended="true">
150158
<doc>
151159
Describes an environment setup for the experiment.
152160

0 commit comments

Comments
 (0)