Skip to contents

Combines a 100–400 Hz band-energy ratio, normalised spectral entropy, and the Higuchi fractal dimension of the PCG into a murmur-likelihood score in [0, 1].

Usage

pcgmur(pcg, fs)

Arguments

pcg

Numeric vector (1-D PCG signal).

fs

Sampling frequency in Hz.

Value

List with value (score in [0, 1]), name, and extra (fractal_dimension, hf_energy_ratio, spectral_entropy, fd_score, hf_score, ent_score).

Details

Reference: Rangayyan, R.M. (2015) Biomedical Signal Analysis, 2nd ed., Wiley/IEEE Press, chapter on heart-sound analysis.

Examples

# \donttest{
if (requireNamespace("signal", quietly = TRUE)) {
  set.seed(1)
  pcg <- rnorm(4000)
  res <- pcgmur(pcg, fs = 2000)
  res$value
}
#> [1] 0.9989492
# }