nxtomomill.app.split_nxfile#

Application to split a file containing several NXtomo entries into several files containing each a single NXtomo

usage: nxtomomill split-nxfile [-h] [--overwrite] [--duplicate-data [DUPLICATE_DATA]] input_file [output_file_pattern]

split a file containing several NXtomo (at root level) into multiple files containing each a single NXtomo

positional arguments:
input_file            File containing NXtomo to be split into several files
output_file_pattern   output file pattern. Must contain `{entry_name}` or `{index}` pattern to make sure it is unique

optional arguments:
-h, --help            show this help message and exit
--overwrite           Do not ask for user permission to overwrite output files
--duplicate-data [DUPLICATE_DATA]
                        Make all NXtomo free of any external link. As a result this will duplicate data

Functions

main(argv)

split(input_file, output_file_pattern[, ...])

type input_file

str