MATLAB File Help: wfdbdesc | View code for wfdbdesc | WFDB Contents

wfdbdesc

    function varargout=wfdbdesc(varargin)

     [siginfo,Fs,sigClass]=wfdbdesc(recordName)

        Wrapper to WFDB WFDBDESC:
             http://www.physionet.org/physiotools/wag/wfdbde-1.htm

     Reads a WFDB record metadata and returns:

     siginfo
           Nx1 vector of structures with the following fields:

           LengthSamples           : Number of samples in record (integer)
           LengthTime              : Duration of record  (String WFDB Time)
           RecordName              : Record name (String)
           RecordIndex             : Record Index (Integer)
           Description             : Signal Description (String)
           SamplingFrequency       : Sampling Frequency w/ Units (String)
           File                    : File name (String)
           SignalIndex             : Zero Based Signal Index (Integer)
           StartTime               : Start Time (String WFDB Time)
           Group                   : Group (Integer)
           AdcResolution           : Bit resolution of the signal (String)
           AdcZero                 : Physical value for 0 ADC (double)
           Baseline                : Physical zero level of signal (Integer)
           CheckSum                : 16-bit checksum of all samples (Integer)
           Format                  : WFDB's Format of the samples (String)
           Gain                    : ADC units per physical unit (String)
           InitialValue            : Value of sample 1 in the signal (Integer)
           IO                      : IO Type  (String)

     Fs   (Optional)
           Nx1 vector of doubles representing the sampling frequency of each
           signal in Hz (if the 'SamplingFrequency' string is parsable).

     sigClass (Optional)
           Nx1 cell array of strings for the corresponding signal class based on
           information from PhysioNet: www.physionet.org/physiobank/signals.shtml.
           The signal class will be one of the following:
                        BP         blood pressure
                        CO         cardiac output
                        CO2        carbon dioxide
                        ECG        electrocardiogram
                        EEG        electroencephalogram
                        EMG        electromyogram
                        EOG        electrooculogram
                        Flow       air flow
                        HR         heart rate
                        Noise      for stress testing
                        O2         oxygen
                        PLETH      plethysmogram
                        Pos        body position
                        Resp       respiration
                        Sound      sound
                        ST         ECG ST segment level
                        Status     status of patient or monitor
                        SV         stroke volume
                        Temp       temperature
                        []         unkown class

     Required Parameters:

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

     %Example
     siginfo=wfdbdesc('challenge/2013/set-a/a01')

     %Example 2 -Get signal Classes
     [siginfo,Fs,sigClass]=wfdbdesc('mitdb/100')

     Written by Ikaro Silva, 2013
     Last Modified by Ikaro Silva, April 16, 2015

     Version 3.0

     Since 0.0.1
     See also RDSAMP