User Manual

We believe that use of the CTGViewerLite is simple and intuitive. Below we provide only a specific usage.

Convert physionet format to csv

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.

Download all files of CTU-UHB CTG database

The download utility can be open from menu (Tools -> Download CTU-UHB data)

The following have to specified:

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.

Command line interface

The following arguments can be used:

  • -h, –help - show a help message and exit
  • -p, –physionet-file - input file in the physionet format
  • -m , –matlab-file - input file in the matlab format

Examples

> python ctgViewerLite.py -p 1001.dat
> python ctgViewerLite.py -m 1001.mat

Calling the CTGViewerLite from Matlab

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.

Table Of Contents

Previous topic

Downloads

Next topic

Development