Skip to main content

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 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 -r requirements-dev.txt
pytest

Project details


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.1a0.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file nxtoascii-0.0.1a0.tar.gz.

File metadata

  • Download URL: nxtoascii-0.0.1a0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5

File hashes

Hashes for nxtoascii-0.0.1a0.tar.gz
Algorithm Hash digest
SHA256 cf22581f03c05d6097a55462cda756dc14ca5e77c1bf69f8620df75375f20e11
MD5 60c4f58c42d2817fb22bd8d13adecc40
BLAKE2b-256 846fb7dc641a12f51455947c36a1f6a491aca1c8f3244ae39f829d685e30f6b3

See more details on using hashes here.

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