Skip to main content

Converts SPEC data files and scans into NeXus HDF5 files

Project description

Converts SPEC data files and scans into NeXus HDF5 files:

$ spec2nexus path/to/file/specfile.dat

Writes path/to/file/specfile.hdf5

  • Conda install: conda install -c prjemian spec2nexus (alternate)
  • Conda install: conda install -c aps-anl-tag spec2nexus (production)
  • Conda install: conda install -c aps-anl-dev spec2nexus (development)
  • Pip install: pip install spec2nexus


spec2nexus ended development for Python 2 with release 2021.1.7, 2019-11-21. For more information, visit


  • spec2nexus : command-line tool: Convert [SPEC]( data files to [NeXus]( [HDF5](
  • extractSpecScan : command-line tool: Save columns from SPEC data file scan(s) to TSV files
  • spec : library: python binding to read SPEC data files
  • eznx : library: (Easy NeXus) supports writing NeXus HDF5 files using h5py
  • specplot : command-line tool: plot a SPEC scan to an image file
  • specplot_gallery : command-line tool: call specplot for all scans in a list of files, makes a web gallery

Package Information

term | description — | — author | Pete R. Jemian email | copyright | 2014-2020, Pete R. Jemian license | Creative Commons Attribution 4.0 International Public License (see [LICENSE.txt]( file) documentation | <> source | <> PyPI | <> Release Notes | <> citation | [![DOI](]( build badges | ![Python Package using Conda]( [![image](]( [![Total alerts](]( [![Codacy Badge](](;utm_medium=referral&amp;utm_content=prjemian/spec2nexus&amp;utm_campaign=Badge_Grade) release badges | [![image](]( [![image](]( [![image](]( [![image](]( [![image](](

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for spec2nexus, version 2021.1.8
Filename, size File type Python version Upload date Hashes
Filename, size spec2nexus-2021.1.8-py2.py3-none-any.whl (10.9 MB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size spec2nexus-2021.1.8.tar.gz (10.7 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page