JCAMP-DX (.jdx, .dx, .jcm)

Background & Context

    • MIME type: chemical/x-jcamp-dx
    • Chemical spectroscopy format.
    • JCAMP is an acronym derived from Joint Committee on Atomic and Molecular Physical Data.
    • Binary format.

Import

  • Import["file.jdx"] imports a JCAMP-DX file, returning all data stored in the file.
  • Import["file.jdx",elem] imports the specified element from a JCAMP-DX file.
  • Import["file.jdx",{elem,suba,subb,}] imports a subelement.
  • Import["file.jdx",{{elem1,elem2,}}] imports multiple elements.
  • The import format can be specified with Import["file","JCAMP-DX"] or Import["file","JCAMPDX"].
  • See the following reference pages for full general information:
  • Importimport from a file
    CloudImportimport from a cloud object
    ImportStringimport from a string
    ImportByteArrayimport from a byte array

Import Elements

  • General Import elements:
  • "Elements" list of elements and options available in this file
    "Summary"summary of the file
    "Rules"list of rules for all available elements
  • Data representation elements:
  • "Data"list of datasets stored in the file
    "Metadata"metadata of the datasets
  • Import by default uses the "Data" element for JCAMP-DX files.

Examples

Basic Examples  (2)

Import and plot data in a JCAMP-DX file:

Import and view a sampling of the metadata in a JCAMP-DX file: