nxtomomill.app.edf2nx#
Application to convert a tomo dataset written in edf into and hdf5/nexus file.
usage: nxtomomill edf2nx [-h] [--dataset-basename DATASET_BASENAME]
[--info-file INFO_FILE] [--config CONFIG]
[--delete-edf] [--output-checks OUTPUT_CHECKS]
[--use-existing-angles]
[scan_path] [output_file]
convert data acquired as edf to hdf5 - nexus compliant file format.
positional arguments:
scan_path folder containing the edf files
output_file foutput .h5 file
options:
-h, --help show this help message and exit
--dataset-basename DATASET_BASENAME, --file-prefix DATASET_BASENAME
file prefix to be used to deduce projections
--info-file INFO_FILE
.info file containing acquisition information
(ScanRange, Energy, TOMO_N...)
--config CONFIG, --configuration-file CONFIG, --configuration CONFIG
file containing the full configuration to convert from
SPEC-EDF to bliss to nexus. Default configuration file
can be created from `nxtomomill edf-config` command
--delete-edf, --delete-edf-source, --delete-edf-source-files
if you are duplicating data (default behavior) you can
ask to delete used edf files to free space
--output-checks OUTPUT_CHECKS
Define list of check to be run once the conversion is
finished (raise an error if check fails). This is done
before removing edf if asked. So if check fails source
edf files won't be removed
--use-existing-angles, --no-angle-recalculcation
By default the angle will be recomputed to have
equally spaced angles from the min and the max angles.
If this option is set then angles defined in edf
headers (srot,somega) will be used.
For a complete tutorial you can have a look at edf2nx tutorial
Functions
|