Post all your questions about DATMERGE to the ATSAS Forum.
© ATSAS Team, 2010-2012
Table of Contents
The following sections shortly describe how to run DATMERGE from the command-line on any of the supported platforms, the required input and the produced output files.
DATMERGE may be used to merge two and more data files with scaling of scattering vectors if necessary. The main application of DATMERGE is merging SAXS and WAXS data sets.
$ datmerge <FILE> <FILE> [FILE(S)] [-f] [-o FILE]
OPTIONS known by DATMERGE are described in next section, the required FILE arguments in the section on input files.
DATMERGE requires the following command line arguments:
||Data file in any of the supported formats
||Additional data files in any of the supported formats
Absolute as well as relative paths to data files are accepted. Up to one of the input files may also be given as '-', in this case input is read from stdin instead of a file.
DATMERGE recognizes following command-line options:
|Short option||Long option||Description
||prints scaling factors to stdout if specified, requires an output file name.
||Specify a FILE where to write the merged data to, the FILE may contain relative or absolute path components. By default the result is written to stdout.
||Print version information and exit.
||Print a summary of arguments and options and exit.
Input files for DATMERGE may be in any of the supported data formats as long as scattering vector, experimental intensity and errors are available.
The produced output file contains merged data from the given data sets and scaling coefficients for each parent file.
$ datmerge data_001.dat data_002.dat -o output.dat -f