HRV is typically measured using electrocardiography (ECG). Advanced algorithms analyze the ECG data to calculate various HRV parameters. These parameters include time-domain measures like the standard deviation of NN intervals (SDNN), and frequency-domain measures such as low-frequency (LF) and high-frequency (HF) components.