We believe that use of the CTGViewerLite is simple and intuitive. Below we provide only a specific usage.
The conversion can be done open using menu (Tools -> Convert files)
In the Convert files form the input and output format must be specified together with source and destination directory. The source and destination directory can be the same.
The conversion is only available from dat to csv. The other formats are not implemented yet. If you are interested in other format please contact us.
The download utility can be open from menu (Tools -> Download CTU-UHB data)
The following have to specified:
- database web adress (url): http://physionet.org/physiobank/database/ctu-uhb-ctgdb/
- destination directory. It is recommended to download database into an empty directory.
The downloading may take up to several minutes (depending on Internet connection). The downloaded files can be then opened in the menu File -> open file.
The following arguments can be used:
Examples
> python ctgViewerLite.py -p 1001.dat
> python ctgViewerLite.py -m 1001.mat
The data in Matlab can be viewed by the CTGViewerLite. The CTGViewerLite is run as a separate process and loads data from Matlab. The data are first saved into a matlab file and then loaded in the CTGViewerLite application. There are two essential matlab files:
Example of usage:
variables:
afFHR [Nx1] contains fetal heart rate
afUC [Nx1] contains uterine contraction
anTimestamp [Nx1] contains time samples
run as:
plotCTGViewer(anTimestamp,afFHR,afUC)
The code has been tested under linux only. Contact us in case of trouble.