HRV STFT Spectrogram VI
- Updated2023-02-21
- 9 minute(s) read
HRV STFT Spectrogram VI
Owning Palette: HRV Analysis VIs
Requires: Biomedical Toolkit
Calculates the short-time Fourier transform (STFT) spectrogram from RR intervals.
HRV STFT Spectrogram (Array Unevenly Sampled RR)

![]() |
RR specifies the RR intervals that this VI uses to calculate the power spectral density (PSD). | ||||||||||||||||||||||||||||||||||
![]() |
raw RR specifies the raw RR intervals. This VI interpolates raw RR intervals to an evenly-sampled time series. | ||||||||||||||||||||||||||||||||||
![]() |
STFT settings specifies parameters for the STFT.
| ||||||||||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||||||||||
![]() |
interpolation rate specifies the rate of interpolation, in hertz, for converting raw RR intervals into an evenly-sampled time series. The default is 2. | ||||||||||||||||||||||||||||||||||
![]() |
spectrogram returns the STFT spectrogram of the input RR intervals. | ||||||||||||||||||||||||||||||||||
![]() |
scale info returns the time scale and frequency scale information of the time-frequency representation, including the time offset, the time interval between every two contiguous rows, the frequency offset, and the frequency interval between every two continuous columns of spectrogram. | ||||||||||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
HRV STFT Spectrogram (Waveform Evenly Sampled RR)

![]() |
RR specifies the RR intervals that this VI uses to calculate the power spectral density (PSD). | ||||||||||||||||||||||||||||||||||
![]() |
STFT settings specifies parameters for the STFT.
| ||||||||||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||||||||||
![]() |
spectrogram returns the STFT spectrogram of the input RR intervals. | ||||||||||||||||||||||||||||||||||
![]() |
scale info returns the time scale and frequency scale information of the time-frequency representation, including the time offset, the time interval between every two contiguous rows, the frequency offset, and the frequency interval between every two continuous columns of spectrogram. | ||||||||||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
HRV STFT Spectrogram (Array Evenly Sampled RR)

![]() |
RR specifies the RR intervals that this VI uses to calculate the power spectral density (PSD). | ||||||||||||||||||||||||||||||||||
![]() |
STFT settings specifies parameters for the STFT.
| ||||||||||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||||||||||
![]() |
sampling rate specifies the sampling rate of the input RR intervals, in hertz. The default is 1. | ||||||||||||||||||||||||||||||||||
![]() |
spectrogram returns the STFT spectrogram of the input RR intervals. | ||||||||||||||||||||||||||||||||||
![]() |
scale info returns the time scale and frequency scale information of the time-frequency representation, including the time offset, the time interval between every two contiguous rows, the frequency offset, and the frequency interval between every two continuous columns of spectrogram. | ||||||||||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Example
Refer to the HRV Analyzer VI in the labview\examples\Biomedical\Biosignal directory for an example of using the HRV STFT Spectrogram VI.









