SCM

Forum: help

Monitor Forum | Start New Thread Start New Thread
How to save RR annotations to text file preserving original format. [ Reply ]
By: George Politis on 2019-10-06 19:37
[forum:46990]

RR-sample.zip (11) downloads
Hello,

I would like to ask you how could I save my rr annotation files to the original format (tachogram signal) instead of storing a representation of my data in hrv datastructure.

I have a signal converted with wfdb toolbox to RR annotations. (see attached sample "rr01911-small.txt").

I have loaded it as RR annotations to filter the outliers.

hrv.data = CreateHRVData()
hrv.data = SetVerbose(hrv.data, TRUE )
hrv.data = LoadBeatRR(hrv.data, "rr01911-small.txt", RecordPath=".", scale = 1,
datetime = "1/1/1900 0:0:0", verbose = NULL)
hrv.data = BuildNIHR(hrv.data)
hrv.data = FilterNIHR(hrv.data)
WriteToFile(hrv.data, "rr01911-small-filtered.txt", overwrite = TRUE, SetVerbose=NULL)

Result: file with filtered data in hrv.data format (see attached sample "rr01911-small-filtered.txt.hrv")

Is there any function or way that I can preserve the original format of the data (RR intervals)?

Many Thanks,
George

Data used from SHAREE Project: [https://physionet.org/content/shareedb/1.0.0/]

Thanks to:
Vienna University of Economics and Business Powered By FusionForge