0
EMBL Hamburg Biological
Small Angle Scattering
BioSAXS
 

DATCROP manual

datcrop

Post all your questions about DATCROP to the ATSAS Forum.

© ATSAS Team, 2011-2014

Table of Contents

Manual

The following sections shortly describe how to run DATCROP from the command-line on any of the supported platforms, the required input and the produced output files.

Introduction

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.

Running datcrop

Usage:

$ datcrop <FILE> [OPTIONS]

OPTIONS known by DATCROP are described in next section, the required argument 'FILE' in the section on input files.

Command-line arguments and options

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 optionLong optionDescription
  --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.
-o --output DATAFILE Relative or absolute path to save the result; if not specified, the result is printed to stdout.
-v --version Print version information and exit.
-h --help Print a summary of arguments and options and exit.

datcrop input files

DATAFILE must contain three columns: scattering vector, experimental intensity, experimental errors.

datcrop output files

The produced output file contains three columns with cropped data.

Example

$ autorg bsa.dat -f table
File              Rg  stdev  I(0)    stdev  Guinier points   Quality
bsa.dat           3.12   1%  65.1       0%   30-122 ( 93)    88%

$ datcrop bsa.dat --first 29 --smax 2.5 -o bsa_cropped.dat

Here we start with the first point of the Guinier region and keep angles only up to 2.5 nm-1.


  Last modified: April 11, 2013

© BioSAXS group 2013