Skip to content
Snippets Groups Projects
NXxasproc.nxdl.xml 3.29 KiB
Newer Older
<?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) 2008-2016 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="NXxasproc" extends="NXobject" type="group"
  version="1.0"  category="application"
  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>
       Processed data from XAS. This is energy versus I(incoming)/I(absorbed).
    </doc>
    <group type="NXentry">
        <attribute name="entry">
            <doc>
                NeXus convention is to use "entry1", "entry2", ... 
                for analysis software to locate each entry.
            </doc>
        </attribute>
        <field name="title"/>
      <field name="definition">
        <doc> Official NeXus NXDL schema to which this file conforms </doc>
            <enumeration>
                <item value="NXxasproc"></item>
            </enumeration>
        </field>
        <group type="NXsample">
            <field name="name">
                <doc>Descriptive name of sample</doc>
            </field>
        </group>
      <group type="NXprocess" name="XAS_data_reduction">
        <field name="program" type="NX_CHAR">
          <doc>Name of the program used for reconstruction</doc>
        </field>
        <field name="version" type="NX_CHAR">
          <doc>Version of the program used</doc>
        </field>
        <field name="date" type="NX_DATE_TIME">
          <doc>Date and time of reconstruction processing.</doc>
        </field>
        <group type="NXparameters" name="parameters">
          <field name="raw_file" type="NX_CHAR">
            <doc>Original raw data file this data was derived from</doc>
          </field>
        </group>
      </group>
        <group type="NXdata">
              <field name="energy" axis="1">
                <dimensions rank="1">
                  <dim index="1" value="np" />
                </dimensions>
              </field>
              <field name="data" type="NX_FLOAT">
                <doc>
                   This is corrected and calibrated I(incoming)/I(absorbed). So it is the absorption. 
                   Expect attribute  ``signal=1``
                </doc>
                <dimensions rank="1">
                  <dim index="1" value="np" />
                </dimensions>
              </field>
        </group>
    </group>
</definition>