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 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


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 details)

Uploaded Source

File details

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

File metadata

  • Download URL: nxtoascii-0.0.1a1.tar.gz
  • Upload date:
  • Size: 6.4 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.1a1.tar.gz
Algorithm Hash digest
SHA256 180c2244ede5090291869ee3e18e3ebc9799ce74ac0a61ec5266be170a1beadf
MD5 36b54c184160e341d2ad448c3e80e269
BLAKE2b-256 810a0ea5e0c44bcd3e2f4fbe138633aae3cff2ecceaadf2840a361c15ab15a76

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