nxtomomill.app.fluo2nx#

Application to convert a fluo-tomo dataset, after PyMCA (https://www.silx.org/doc/PyMca/dev/index.html) fit, into an hdf5/nexus file.

usage: nxtomomill fluo2nx [-h] [--detectors [DETECTORS ...]]
                          [--dimension DIMENSION] [--info-file INFO_FILE]
                          [--config CONFIG] [--mode MODE]
                          scan_path output_file dataset_basename

Converts fluo-tomo data (after PyMca fit) to hdf5 - nexus compliant file
format.

positional arguments:
  scan_path             Path to the folder containing the raw data folder and
                        the fluofit/ subfolder.
  output_file           File produced by the converter. '.nx' extension
                        recommended.
  dataset_basename      In 2D, the exact full name of the folder. In 3D, the
                        folder name prefix (the program will search for
                        folders named <prefix>_projection_XXX where XXX is a
                        nmber.)

options:
  -h, --help            show this help message and exit
  --detectors [DETECTORS ...]
                        Define a list of (real or virtual) detector names used
                        for the exp (space separated values - no comma). E.g.
                        'falcon xmap'. If not specified, all detectors are
                        processed.
  --dimension DIMENSION
                        2 for 2D XRFCT, 3 for 3D XRFCT. Default is 3.
  --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
                        (PyMCA-computed) fluo projections to nexus. Default
                        configuration file can be created from `nxtomomill
                        fluo-config` command
  --mode MODE           What to do if file exists:- 'newfile': program will
                        fail if file already exists.- 'overwrite': program
                        will overwrite existing file or existing entries in
                        file.

Functions

main(argv)