Skip to content
Bruce Ravel edited this page Sep 9, 2012 · 8 revisions

Welcome to the XAS-Data-Interchange (XDI) wiki!

XDI is a proposed specification for describing a file containing a single scan of X-ray Absorption Spectroscopy (XAS) data.

The intention of XDI is to specify a mechanism for encoding metadata and data for a single-scan into a plain-text file. The metadata encoding allows an application (i.e. a data processing program, a web application, a data acquisition program, etc.) to extract useful information about a file, for instance the provenance (synchrotron and beamline) of the data or hints about how to combine data columns into useful spectra. The XDI specification also provides a mechanism for applications to encode additional metadata into a file.

The Xasformat mailing list -- join in the conversation!

The XDI Specification

Language implementations

Along with the formal BNF grammar, a complete specification document (written in LaTeX) is available. To make the specification widely useful and to encourage its adoption, ipmlemetations of the specification in many programming languages are provided, including:

  • Perl: A complete implementation handling import and export. Implemented using Moose and Inline
  • Python:
  • Java:
  • C:
  • C++:
  • Fortran:
  • LabView:
  • IDL: