BioSignalPi  v2
Files | Classes | Functions
HRV-Analysis

Classes and Functions used for HRV-Analysis. More...

Files

file  hrvanalysis.h
 Collection of functions used to interact with the Matlab Coder generated HRV-functions.
 

Classes

class  ConvertEcgToIbi
 Converts textfile with ECG-data into IBI file. More...
 

Functions

int QRSDet (int, int)
 QRSDet Function used for the QRS-detection. More...
 
void performTimeDomainHrv (const QVector< double > *ibiData, struct0_T *output)
 Performs the Statistical Time Domain calculations for HRV Analysis. More...
 
void performFreqDomainHrv (const QVector< double > *ibiData, const QVector< double > *timeData, structFreq_T *output)
 Performs calculations for Frequency Domain HRV Analysis. More...
 

Detailed Description

Classes and Functions used for HRV-Analysis.

Author
Martin
Todo:
Add a function/class that takes a DataStream object as input and performs all the steps of the HRV Analysis taking ECG-Data as input and returning calculated HRV-Data.

Function Documentation

void performFreqDomainHrv ( const QVector< double > *  ibiData,
const QVector< double > *  timeData,
structFreq_T *  output 
)

Performs calculations for Frequency Domain HRV Analysis.

Parameters
[in]ibiDataQVector containing double with ibi information.
[in]timeDataQVector containing double with time information.
[out]outputstruct0_T containing the calculated metrics needed to plot a Lomb-periodogram
Todo:

Add Ectopic Intervall Detection and Ectopic Interval Correction for the ibiData

Add Detrend for the ibiData

Definition at line 62 of file hrvanalysis.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void performTimeDomainHrv ( const QVector< double > *  ibiData,
struct0_T *  output 
)

Performs the Statistical Time Domain calculations for HRV Analysis.

Parameters
[in]ibiDataQVector containing double with ibi information.
[out]outputstruct0_T containing all the calculated metrics
Todo:
Add Ectopic Intervall Detection and Ectopic Interval Correction for the ibiData

Definition at line 34 of file hrvanalysis.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int QRSDet ( int  ,
int   
)

QRSDet Function used for the QRS-detection.

Returns

Here is the caller graph for this function: