CalculateSPDBandsEnergy
Calculates the Energy in the bands of the Power Spectral Density (PSD).
CalculateEnergyInPSDBands(HRVData, indexFreqAnalysis = length(HRVData$FreqAnalysis), ULFmin = 0, ULFmax = 0.03, VLFmin = 0.03, VLFmax = 0.05, LFmin = 0.05, LFmax = 0.15, HFmin = 0.15, HFmax = 0.4)
HRVData |
Data structure that stores the beats register and information related to it. |
indexFreqAnalysis |
An integer referencing the data structure that contains the PSD analysis. |
ULFmin |
Lower limit ULF band used for distinguish the ULF band. |
ULFmax |
Upper limit ULF band used for distinguish the ULF band. |
VLFmin |
Lower limit VLF band. |
VLFmax |
Upper limit VLF band. |
LFmin |
Lower limit LF band. |
LFmax |
Upper limit LF band. |
HFmin |
Lower limit HF band. |
HFmax |
Upper limit HF band. |
A vector containing the energy of the ULF, VLF, LF and HF bands in the PSD.
## Not run: data(HRVData) HRVData=BuildNIHR(HRVData) HRVData=FilterNIHR(HRVData) # Frequency analysis requires interpolated data (except Lomb) HRVData=InterpolateNIHR(HRVData) HRVData=CreateFreqAnalysis(HRVData) HRVData=CalculatePSD(HRVData,1,"pgram",doPlot = F) # get Energy in the default ULF, VLF and LF frequency bands. # We modify the limits for the HF band CalculateEnergyInPSDBands(HRVData, 1, HFmin = 0.15, HFmax = 0.3) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.