Processed Data

From NeXus

Jump to: navigation, search

Contents

XML Meta-DTD Definition for NXprocessed.xml

This follows the XML Meta-DTD Definition format and can be downloaded from http://svn.nexusformat.org/definitions/tags/PRE_NXDL/instruments/NXprocessed.xml

<!--
URL:     http://www.nexusformat.org/classes/xml/NXprocessed.xml
Editor:  NIAC
NIAC Version: 0.1
$Id$

Template of a generic NXentry containing processed data.  

The assumption is that measured data, which could, for example, stored in another 
NXentry within the same file, has been reduced to a standard form, e.g., S(Q), so 
that the instrument information is no longer required.  It is only necessary, therefore,
to store the multidimensional array containing the processed data within one or more
NXdata groups.

This is not a true metaDTD because both the values and the axis names can use 
something more descriptive.

-->
<NXentry name="{Name of entry}">
  <title>
    {Extended title for entry}
  </title>
  <definition URL="http://www.nexusformat.org/instruments/xml/NXprocessed.xml"
      version="1.0">
    NXprocessed
  </definition>
  <NXsample name="{Name of sample}">?
    {Any relevant sample information necessary to define the data.}
  </NXsample>
  <NXdata name="{Name of processed data}">
    <values signal="1" type="NX_FLOAT[:,:]" axes="axis1:axis2">{Processed values}</values>
    <axis1 type="NX_FLOAT[:]">{Values of the first dimension's axis}</axis1>
    <axis2 type="NX_FLOAT[:]">{Values of the second dimension's axis}</axis2>
  </NXdata>
  <NXprocess name="{Name of process}">?
    {Any relevant information about the steps used to process the data.}
  </NXprocess>
</NXentry>

Tabular Representation of XML Meta-DTD

(automatically generated from http://svn.nexusformat.org/definitions/tags/PRE_NXDL/instruments/NXprocessed.xml)

NXentry

Name Type Description Attributes
titleNX_CHARExtended title for entry
definitionNX_CHAR
URL="http://www.nexusformat.org/instruments/xml/NXprocessed.xml"

version="1.0"

{Name of sample}NXsampleAny relevant sample information necessary to define the data.
{Name of processed data}NXdata

NXdata

Name Type Description Attributes
valuesNX_FLOAT[:,:]Processed values
signal="1"

axes="axis1:axis2"

axis1NX_FLOAT[:]Values of the first dimension's axis
axis2NX_FLOAT[:]Values of the second dimension's axis

NXentry continued (1)

Name Type Description Attributes
{Name of process}NXprocessAny relevant information about the steps used to process the data.

Personal tools