Calculates the spectrum of the heart rate. Calculates the heart rate spectrum of the signal s. Usage: calcHRSpectrum(s, h); Input parameters: s ... Input signal containing an ECG signal (as obtained by sload) h ... Header structure (as obtained by sload) Output parameter: r ... Structure containing the results