SNIP(1)

NAME
snip - copy an excerpt of a WFDB record

SYNOPSIS
snip -i input-record -n new-record [ options ]

DESCRIPTION
snip copies the signal files (and, optionally, annotation files) of the specified input-record, and generates a header file, thereby creating the specified new-record. snip is usually used to extract an excerpt of its input-record, using the -f and -t options (see below) to specify the segment to be copied.

The program xform(1) can also perform this task, but offers additional flexibility (it can scale the signals, resample them at a different frequency, rearrange them, select subsets of them, or reformat them); snip is faster than xform, however.

Options are:

-a annotator
    Copy the specified annotator as well as the signal files. Two or more annotator arguments, separated by spaces, can follow -a. An annotator supplied via the standard input may be specified using `-', but only immediately after -a; in this case only, annotations are copied to the standard output.

-f time
    Begin at the specified time in the input record (default: the beginning of the record).

-h  Print a usage summary.

-t time
    Process until the specified time in the input record (default: continue to the end of the record).

ENVIRONMENT

It may be necessary to set and export the shell variable WFDB (see setwfdb(1)).

FILES

new-record.annotator
    output annotation file

new-record.dat
    output signal file

new-record.hea
    output header file

SEE ALSO
setwfdb(1), xform(1)

AUTHOR
George B. Moody (george@mit.edu)

SOURCE
http://www.physionet.org/physiotools/wfdb/app/snip.c