Skip to main content

Convert a HDF5 file to EDF files

Project description

h52edf/h5_to_edf is a tool developed at ESRF to convert a HDF5 file to EDF files.

Installation

pip install h5_to_edf

Usage

usage: h52edf [-h] [-o EDF_DIRECTORY] [--report] [--debug] [--dry-run] [-V]
              [--no-dark] [--no-flat] [--yml] [--no-xml] [--current CURRENT]
              h5_names

positional arguments:
  h5_names

options:
  -h, --help         show this help message and exit
  -o EDF_DIRECTORY   Output directory for EDF files
  --report           Display report without data processing
  --debug            Display debug information
  --dry-run          Process the data without writing it
  -V, --version      show program's version number and exit
  --no-dark          If the h5 does not contains darks, will skip dark creation
  --no-flat          If the h5 does not contains flats, will skip flat creation
  --yml              Create a .yml file containing all the metadata from the h5 file
  --no-xml           Do not generate a .xml file containing few metadata from the h5 file
  --current CURRENT  Use a current text file containing the machine current

How to use

The converter needs the name of the hdf5 file to be converted, and the output directory where the EDF files will be created.

h52edf "path/file_001.h5" -o output_directory

You can also convert multiple hdf5 files at once with the following command:

h52edf "path/file_0*.h5" -o output_directory

Project release

pip wheel . --wheel-dir=dist
twine upload dist/h5_to_edf-*.whl

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

h5_to_edf-1.4.0-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

Details for the file h5_to_edf-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: h5_to_edf-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for h5_to_edf-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f442a896459e2d3ecf4483536c11199a893f48fe9f4f0d576399a6edf86dc345
MD5 b3723dad1f730c1c05dbeebd38217396
BLAKE2b-256 e8ad31e46b7e916fdeb59868f087e12649b8efc13777445d5a24f91d177bfbaf

See more details on using hashes here.

Supported by

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