DATCROP is a tool for removing data points from the beginning and/or the end of the scattering curve. Primarily it is used for removing noisy data close to the beamstop and excess data at high angles.
DATCROP requires one command line argument FILE which is a data filename, possibly with relative or absolute path components. Instead of a filename, the FILE argument may be '-' to read data from stdin.
DATCROP recognizes following command-line options:
Short option
Long option
Description
--first <N>
Index of the first point to be kept. This is mutually exclusive with smin.
--last <N>
Index of the last point to be kept. This is mutually exclusive with smax.
--smin <S>
Minimal s value to be kept. This is mutually exclusive with first.
--smax <S>
Maximal s value to be kept. This is mutually exclusive with last.