Skip to content

Algorithm Structure

Peter Charlton edited this page Mar 9, 2016 · 3 revisions

In the setup_universal_params.m script you will find a section titled "Algorithms". The algorithm toolbox is based on the assumption that all RR algorithms can be separated into three fundamental stages:

  1. extraction of a respiratory signal (a time series dominated by respiratory modulation),

  2. estimation of RR from that respiratory signal, and

  3. fusion of multiple RRs to provide one output (optional).

Specification of the first two is compulsory, extract_resp_sig and estimate_rr. The third component, fuse_rr, is optional.

The structure of the algorithms is specified by the up.al.key_components variable. For instance, to specify the simplest possible algorithms, without fusion, use:

up.al.key_components = {'extract_resp_sig', 'estimate_rr'};

Alternatively, the additonal fusion stage can be added using:

up.al.key_components = {'extract_resp_sig', 'estimate_rr', 'fuse_rr'};

Further details on the stages of the algorithms are provided in this publication.