Post all your questions about DATADJUST to the
© ATSAS Team, 2010-2014
Table of Contents
The following sections shortly describe
how to run DATADJUST from the command-line on any of the supported platforms, the required input and the produced output files.
DATADJUST may be used to match two data files by scaling and shifting one of them. This is useful for further data analysis of data sets obtained in different conditions, e.g. using different beamline setups.
$ datadjust <FILE> <FILE> [-o FILE]
OPTIONS known by DATADJUST are described in next section, the required FILE arguments in the section on input files.
DATADJUST requires the following command line arguments:
FILE File to be scaled and shifted to match the second FILE argument.
FILE File used as a template for scaling and shifting of the first FILE argument.
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.
DATADJUST recognizes following command-line options:
Short option Long option Description
--output=<FILE> Specify a
FILE where to write the adjusted data to, the FILE may contain relative or absolute path components. By default the result is written to stdout.
--version Print version information and exit.
--help Print a summary of arguments and options and exit.
Input files for datadjust 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 shifted and scaled data from the first data set as well as adjustment coefficient and constant.
$ datadjust data_001.dat data_002.dat -o output.dat