Learn R Programming

EGM (version 0.1.1)

prucka: Read Prucka System Files

Description

read_prucka() reads both the signal data (.txt) and header information (.inf) exported from the Prucka cardiac electrophysiology system, which is the underlying recording software used in GE Healthcare's CardioLab EP system.

Usage

read_prucka(signal_file, header_file = NULL, n = Inf)

read_prucka_header(header_file)

read_prucka_signal(signal_file, n = Inf)

Value

An egm class object that is a list of EP signals the format of a data.table, with an attached header attribute that contains additional recording data.

Arguments

signal_file

Path to the *.txt signal data file

header_file

Path to the *.inf header file. If NULL, will look for a file with the same base name as signal_file but with .inf extension.

n

Number of signal values to return (this will be the same for each channel of data). Defaults to all values.

Details

Exporting from GE CardioLab/Prucka

To export data from the GE CardioLab system:

  1. Open the study/recording in CardioLab

  2. Select the time segment you want to export

  3. Navigate to File > Export or Tools > Export

  4. Choose ASCII Export or Text Export format

  5. Select the channels to export

  6. Choose export location and filename

  7. The system will create two files:

    • X####.txt: Space-delimited signal data

    • X####.inf: Header file with metadata

File Format Details

Signal file (*.txt):

  • Space-delimited numeric data

  • Each row represents one time point

  • First column: sample index/time marker

  • Subsequent columns: channel data in mV

  • All channels sampled at the same rate

Header file (*.inf):

  • Key-value pairs with "=" delimiter

  • Patient information (name, date, description)

  • Recording parameters (sampling rate, duration, channel count)

  • Channel mapping section listing channel numbers and labels

  • Channel numbers may be non-sequential (e.g., 1-12, 49-50, 75-76)

Both files must have the same base name (e.g., X001.txt and X001.inf).

Notes

  • Default units are mV for electrical signals and mmHg for pressure

  • The system typically uses 16-bit ADC resolution

  • Channel labels may include surface ECG leads (I, II, III, aVR, aVL, aVF, V1-V6) and intracardiac catheters (ABL, His, CS, RV, etc.)

  • Export may be limited by system memory for very long recordings