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.
Returns
A vector containing the energy of the ULF, VLF, LF and HF bands in the PSD.
Examples
## 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 bandCalculateEnergyInPSDBands(HRVData,1, HFmin =0.15, HFmax =0.3)## End(Not run)