Skip to main content

Convert 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 conda-forge spec2nexus
  • Pip install: pip install spec2nexus




  • spec : python binding to read SPEC data files

  • eznx : (Easy NeXus) supports writing NeXus HDF5 files using h5py

Package Information

term description
copyright (c) 2014-2022, Pete R. Jemian
links documentation, release notes, source code
citation DOI
license Creative Commons Attribution 4.0 International Public License LICENSE.txt
current releases image image
conda-forge Anaconda-Server Badge
PyPI image
current builds Anaconda-Server Badge Python Package using Conda
test & review image image Total alerts Codacy Badge
author Pete R. Jemian

NOTE about support for Python version 2

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

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.

Source Distribution

spec2nexus-2021.2.6.tar.gz (11.5 MB view hashes)

Uploaded source

Built Distribution

spec2nexus-2021.2.6-py3-none-any.whl (11.0 MB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page