Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
20 changes: 2 additions & 18 deletions src/nexusformat/definitions/base_classes/NXfit_function.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,30 +58,14 @@ and a BNF of valid grammar.-->
<group name="fit_parameters" type="NXparameters">
<field name="PARAMETER" nameType="any" type="NX_CHAR_OR_NUMBER" units="NX_ANY">
<doc>
A parameter for a fit function.
This would typically be a variable that
is optimized in a fit.
A parameter for a fit function. This would typically be
a variable that is optimized in a fit.
</doc>
<attribute name="description" type="NX_CHAR">
<doc>
A description of what this parameter represents.
</doc>
</attribute>
<attribute name="fixed" type="NX_BOOLEAN">
<doc>
If the parameter is held constant, then this attribute should be True.
</doc>
</attribute>
<attribute name="min_value" type="NX_NUMBER">
<doc>
The minimal value of the parameter, to be used as a constraint during fitting.
</doc>
</attribute>
<attribute name="max_value" type="NX_NUMBER">
<doc>
The maximal value of the parameter, to be used as a constraint during fitting.
</doc>
</attribute>
</field>
</group>
</definition>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet type="text/xsl" href="nxdlformat.xsl"?>
<!--
# NeXus - Neutron and X-ray Common Data Format
Expand Down Expand Up @@ -72,8 +72,16 @@
</doc>
</field>
<field name="experiment_description" recommended="true"/>
<field name="start_time" type="NX_DATE_TIME" units="NX_TIME" recommended="true"/>
<field name="end_time" type="NX_DATE_TIME" units="NX_TIME" recommended="true"/>
<field name="start_time" type="NX_DATE_TIME" recommended="true">
<doc>
The start time of the experiment.
</doc>
</field>
<field name="end_time" type="NX_DATE_TIME" recommended="true">
<doc>
The end time of the experiment.
</doc>
</field>
<group type="NXprocess">
<doc>
Define the program that was used to generate the results file(s)
Expand Down Expand Up @@ -145,8 +153,8 @@
be useful to understand the experiment.
</doc>
</group>
<group type="NXinstrument">
<group type="NXenvironment">
<group type="NXinstrument" recommended="true">
<group type="NXenvironment" recommended="true">
<doc>
Describes an environment setup for the experiment.

Expand Down