Next: SETWFDB(1) Up: WFDB Applications Guide Previous: RXR(1)On This Page

Name

sampfreq - show sampling frequency for a record

Synopsis

sampfreq [ option ] record

Description

This program shows the sampling frequency (in samples per second per signal) for the specified record. A record may contain multiple signals sampled at different frequencies; in this case, the signals are stored in frames each containing at least one sample of each signal, and (by default, if no option is specified) sampfreq shows the number of frames per second. This is the number of samples per second returned for each signal when the record is read using the WFDB library function getvec in standard (low-resolution) mode; see rdsamp(1) , for example.

If specified, the option may be one of:

-a
List all signals in the record and their respective sampling frequencies.
-h
Print a usage summary.
-H
Show the highest frequency used for any signal in a multi-frequency record. This is the number of samples per second returned by getvec when the record is read in high-resolution mode; see rdsamp(1) , for example.

Environment

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

Files

record.hea
header file

See Also

rdsamp(1) , setwfdb(1)

Author

George B. Moody (george@mit.edu)

Source

http://www.physionet.org/physiotools/wfdb/app/sampfreq.c


Table of Contents

Up: WFDB Applications Guide


Please e-mail your comments and suggestions to webmaster@physionet.org, or post them to:

PhysioNet
MIT Room E25-505A
77 Massachusetts Avenue
Cambridge, MA 02139 USA

Updated 28 May 2015