Convert a BLISS HDF5 file to SPEC, MULTISPEC, CSV or a generic ASCII columns file
Project description
nxtoascii
Convert a BLISS HDF5 file to SPEC, MULTISPEC, CSV or a generic ASCII columns file.
Install
From pypi
python -m pip install nxtoascii
From source
python -m pip install .
Usage
Convert a BLISS HDF5 file to a MULTISPEC file
nxtoascii /data/visitor/hg123/id00/hg123_id00.h5
Save each scan in a separate SPEC file
nxtoascii /data/visitor/hg123/id00/hg123_id00.h5 --format SPEC
Select scans with the word "exafs" in the title
nxtoascii ... --scans "*exafs*"
Make sure the first three columns are Emono, I0 and I1
nxtoascii ... --columns Emono I0 I1
Only save the columns Emono, I0 and I1
nxtoascii ... --columns Emono I0 I1 --only_columns
Developers
python -m pip install -e .[test]
pytest
Project details
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
nxtoascii-0.0.1a1.tar.gz
(6.4 kB
view hashes)