MATLAB File Help: wabp View code for wabp WFDB Contents

function varargout=wabp(varargin)


    Wrapper to WFDB WABP:

 Attempts to locate arterial blood pressure (ABP) pulse waveforms in a continuous ABP signal
 in the specified WFDB record "recName". The detector algorithm is based on analysis of the first derivative
 of the ABP waveform. The output of WABP is an annotation file (with annotator name WABP) in which all
 detected beats are labelled normal.

 WABP can process records containing any number of signals, but it uses only one signal for ABP pulse
 detection (by default, the lowest-numbered ABP, ART, or BP signal; this can be changed using the
 'signal' option, see below). WABP is optimized for use with adult human ABPs.
 It has been designed and tested to work best on signals sampled at 125 Hz. For other ABPs, it may be
 necessary to experiment with the sampling frequency as recorded in the input record’s header file
 (see WFDBDESC ).

 CITING CREDIT: To credit this function, please cite the following paper at your work:

 Zong, W., Heldt, T., Moody, G. B., & Mark, R. G. (2003).
 An open-source algorithm to detect onset of arterial blood pressure pulses.
 Computers in Cardiology 2003, 30, 259-262. IEEE.

Required Parameters:

       String specifying the name of the record in the WFDB path or
       in the current directory.

 Optional Parameters are:

 beginTime (Optional)
       String or integer specifying the begin time. The
       WFDB time format is described at
       If an integer is entered, it  should be between 1
       (first sample) and N (last sample).

 stopTime (Optional)
       String or integer specifying the begin time. If string, it should be
       in WFDB time format, if it is an integer, should be between 1
       (first sample) and N (last sample).

       A 1x1 boolean. If true resamples the signal to 125 Hz (default=0).

       A 1x1 integer. Specify the signal index of the WFDB record to be
       used for ABP pulse detection.

 C Source file written by Wei Zong 1998
 C Source file revised by George Moody 2010

 MATLAB Wrapper Written by Ikaro Silva, 2013
 Last Modified: January 16, 2013
 Version 1.1

 Since 0.9.0


 %Example - Note this will create the file: ./slpdb/slp60.wabp in you
 plot(tm,x);hold on;grid on