Usage: | SKEW = WFDB_wfdbgetskew(SIG_NUM); | |
Input: | SIG_NUM: signal number (note: the first signal is signal number 0, etc.) | |
Output: | SKEW: skew, in frame intervals |
This function gets the skew (as recorded in the '.hea' file, but in frame intervals rather than in sample intervals) of the specified input signal, or 0 if SIG_NUM is not a valid input signal number. Since sample vectors returned by WFDB_getvec or WFDB_getframe are already corrected for skew, WFDB_wfdbgetskew is useful primarily for programs that need to rewrite existing '.hea' files, where it is necessary to preserve the previously recorded skews.