Personal tools
You are here: Home / Documentation / Unemap Manual

Unemap Manual

<center> <h1><i>UnEMAP : Electrocardiac Mapping System</i></h1> </center>

<hr>

<p> <b>User Manual May 1994:</b> </p><p> <i>This document is split into three sections: the <a href="#1"> Tutorial Section</a>, which consists of an example session using <b>Emap</b>, the <a href="#2">Reference Section</a>, which consists of a feature by feature description of the software, and finally a section on the <a href="#3">Configuration File Format</a></i>

</p><p> <i>You can also inspect the <a href="emap_toc.php">Table of Contents</a>, and the <a href="emap_index.php">Index</a> as well.</i> </p><p>

</p><hr size="4" width="60%">

<center> <h1><a name="1">TUTORIAL</a></h1> </center>

This section has two columns. The left hand column contains instructions which will guide you through an example session. The right hand column contains extra information and references which can be omitted on the first reading.<p>

</p><h2><a name="1.1">1.1 Starting</a></h2>

<table cellpadding="0" cellspacing="3" width="100%"><tbody><tr>

<td valign="top" width="75%"> Start a session by typing <b>unemap</b>. The main menu appears in Figure 1.<p> </p></td>

<td valign="top" width="25%"><font size="-1"> The colour specification file, Emap, can be edited and colours redefined. </font></td>

</tr></tbody></table>

<center> <img src="unemap_fig1.gif" height="73" width="265"><br> Figure 1. The main menu </center>

<p>

</p><h2><a name="1.2">1.2 Rig Set Up</a></h2>

<table cellpadding="0" cellspacing="3" width="100%"><tbody><tr>

<td valign="top" width="75%"> Select <b>Mapping</b> from the main menu by clicking once with the mouse. The electrode positions for the default configuration are then shown in the lower pane of the Mapping window.<p>

To specify a different rig configuration select the <b>Read configuration</b> option from the <b>File</b> menu. A dialog box will appear from which the desired configuration can be chosen.</p><p>

The Mapping window for tutorial.cnfg (which may be the default configuration) is shown in Figure 2. The top pane contains the auxiliary inputs. The bottom pane shows the heart electrodes</p><p>

</p></td>

<td valign="top" width="25%"><font size="-1"> See section 2.4.1.2 for configuration creation and modification.</font><p> </p></td>

</tr></tbody></table>

<center> <img src="unemap_fig2.gif"><br> Figure 2. The Mapping window </center>

<p>

</p><h2><a name="1.3">1.3 Data Acquisition</a></h2>

<table cellpadding="0" cellspacing="3" width="100%"><tbody><tr>

<td valign="top" width="75%"> <p> Select <b>Acquisition</b> from the main menu. The Acquisition window is shown in Figure 3.</p><p>

Click <b>Experiment</b>. You will be prompted for a directory to put the data files in.</p><p>

Click <b>Acquire</b> in the <b>Acquisition</b> menu . The specified data will be acquired and you will be prompted for a file to save it to.</p><p>

<b>Close</b> the <b>Acquisition</b> window.</p><p>

</p></td>

<td valign="top" width="25%"><font size="-1"> The <b>time segment</b> over which the measurements are taken is represented by the horizontal line. The length of time segment is altered by dragging the right hand end with the mouse. The number above the line is the length of the time segment in seconds. The acquisition time is the time when Acquire was clicked. The acquisition time can be changed by dragging the marker which is below the line. The number shown below the line is the time before the acquisition time that the time segment started.<br> </font><p> </p></td>

</tr></tbody></table>

<center> <img src="unemap_fig3.gif"><br> Figure 3. The Acquisition window </center>

<p>

</p><h2><a name="1.4">1.4 Data Analysis</a></h2>

<table cellpadding="0" cellspacing="3" width="100%"><tbody><tr>

<td valign="top" width="75%"> Open the Analysis window by selecting <b>Analysis</b> from the <b>Main Menu</b>.<p>

To read in signal data choose the <b>Read signal</b> option from the <b>File</b> menu. The name of the signal file that was created in data acquisition will appear in the file menu. Select this file by clicking once on the file name and then once on OK or by double-clicking on the file name. The data will be similar to that shown in Figure 4.</p><p>

The signal from each electrode appears in the bottom pane of the Analysis window.</p><p>

The first signal in the pane is the current signal.</p><p>

The current signal is highlighted and is shown in the top pane of the Analysis window and both panes of the Signal window (Figure 5).<br> The current signal may be changed by - <br> </p><ul> <li> Clicking on a signal in the bottom pane of the Analysis window. </li><li> Stepping through all signals in the bottom pane of the Analysis window by using <b>Previous</b> and <b>Next</b> from the top menu bar of the Analysis window. </li><li> Clicking on an electrode or auxiliary input in the mapping window. </li></ul>

Electrode signals can be accepted, rejected or undecided. Auxiliary signals are always rejected. Rejected signals are not used when drawing potential maps or when calculating activation times.<p>

The current signal can be accepted or rejected by clicking <b>Accept</b> or <b>Reject</b> from the top menu bar of the Analysis window.</p><p>

Signals that have been rejected are coloured orange.<br> Signals that have been accepted are coloured cyan.<br> Signals that have been neither accepted or rejected are shown as purple.</p><p>

</p></td>

<td valign="top" width="25%"><font size="-1"> The displayed order of signals in the lower pane of the Analysis window can be either arranged according to <b>channel</b> number or <b>event time</b>.</font><p>

<font size="-1">The signals can be displayed separately or all the signals can be <b>Overlapped</b>. If <b>Separate</b> display is chosen each signals appears in the Analysis window on a separate graph</font></p><p>

<font size="-1">Electrodes can be grouped as <b>regions</b>. Signals from different regions can be viewed separately. The possible regions for each rig are given in the last menu.</font></p><p>

<font size="-1">A shorter interval can be selected for analysis using the yellow box in the top pane of the Analysis window. This interval is shown in the lower pane of the Analysis window and the top pane of the Signal window. This interval can be saved using <b>Save interval</b> from the File menu.</font></p><p>

<font size="-1">The colour settings file, Emap, can be edited and colours changed.<br> </font></p><p> </p></td>

</tr></tbody></table>

<center> <img src="unemap_fig4.gif"><br> Figure 4. The Analysis window </center>

<p>

</p><center> <img src="unemap_fig5.gif"><br> Figure 5. The Signal window </center>

<p> </p><h2><a name="1.5">1.5 Potential Map</a></h2>

<table cellpadding="0" cellspacing="3" width="100%"><tbody><tr>

<td valign="top" width="75%"> A map of potential can be drawn by selecting <b>Potential</b> from <b>Map</b> in the <b>Analysis</b> menu bar. The time for which the map is drawn is specified by the vertical red line in the top pane of the Analysis window. This time can be altered by dragging it to the desired time with the mouse.<p>

A dialog box appears. Click <b>Accept all</b>.</p><p>

The electrode configuration in the Mapping window is replaced by a <b>Potential Map</b> (Figure 6). The top pane in this window now shows the colour scale.</p><p>

Click OK for the message that appears describing how good the fit is.</p><p>

If the time at which the Potential map is required is altered, the map should be redrawn by selecting <b>Potential</b> again.</p><p>

</p></td>

<td valign="top" width="25%"><font size="-1"> For a sock there are two ways of drawing the map - <b>Hammer projection</b> or <b>Polar projection</b>. For the Hammer projection the left and right hand boundaries correspond to a cut down the middle of the right ventricle. For the Polar projection the apex is at the center and the heart is viewed from the apex end. The current projection is shown on the Mapping menu and can be changed by clicking and selecting.</font><p>

<br> <font size="-1">Features of the map may be changed by clicking <b>Map</b> in the Mapping window. This will bring up a dialog box. (see the section 2.4.2.1)</font></p><p>

<br> <font size="-1">The <b>colour scale</b> of the mapping window can be altered by dragging the vertical reference lines to the desired position..<br> </font></p><p> </p></td>

</tr></tbody></table>

<center> <img src="unemap_fig7.gif"><br> Figure 6. A potential map </center>

<p> </p><h2><a name="1.6">1.6 Activation Times</a></h2><p>

</p><table cellpadding="0" cellspacing="3" width="100%"><tbody><tr>

<td valign="top" width="75%"> To calculate the times of activation, click <b>Calculate</b> from the Signal menu. There are two ways of calculating the activation times - <b>Interval</b> and <b>Threshold</b>.<p>

For <b>Interval</b>, the search interval defined in the top pane of the Analysis window can be split into '<b>beats</b>'. This is done by clicking the <b>increase/decrease</b> in the top menu bar of the Signal window. One Activation time is calculated for each beat.</p><p>

If <b>Threshold</b> is selected, a threshold gradient (calculated as a percentage of the maximum gradient) and an event separation time must also be specified.</p><p>

The activation times appear on the signals in the Analysis window as green vertical lines (see Figure 7). Activation times are not calculated for rejected signals.</p><p>

The activation times of the current signal can be altered by dragging the activation lines in the lower pane of the Signal window to the desired time. This change is reflected in all other signal panes.</p><p>

The event times can be saved by choosing the <b>Save event times</b> from the <b>File</b> menu in the Analysis window. Dialog boxes will request which events are to be saved and a file name to which they are saved. </p><p>

</p></td>

<td valign="top" width="25%"><font size="-1"> The <b>Previous, Next, Accept</b> and <b>Reject</b> options in the lower menu bar of the Signal window operate analogously to those in the Analysis menu bar but apply to the activation times of the current signal. If <b>Device order</b> is selected the Next/Previous command moves through all the signals showing the same 'beat' before moving to the <b>Next/Previous</b> beat. If <b>Beat order</b> is selected the Next/Previous commands move through all the beats for one signal before moving to the Next/Previous signal.</font><p>

<br> <font size="-1">Activation times can be read from a file rather than calculated. This is done by choosing the <b>Read event time</b> from the <b>File</b> menu in the Analysis window.</font></p><p>

<br> <font size="-1">The delays for the activation markers are calculated from a datum time. The datum time is common to all signals and is shown as a white line in the bottom pane of the Signal and Analysis window. See section 2.3.3<br> </font></p><p> </p></td>

</tr></tbody></table>

<center> <img src="unemap_fig8.gif"><br> Figure 7. Activation time markers </center>

<p>

</p><h2><a name="1.7">1.7 Activation Map</a></h2><p>

</p><table cellpadding="0" cellspacing="3" width="100%"><tbody><tr>

<td valign="top" width="75%"> An <b>Activation time map</b> can be drawn by selecting <b>Activation</b> under <b>Map</b> in the Analysis menu bar. The signals which are to be used in the map are selected with the dialog box that appears. The map is shown in the bottom pane of the Mapping window (see Figure 8).<p>

Click OK for the dialog box appears showing information on map fit.</p><p> </p></td>

<td valign="top" width="25%"><font size="-1"> Features of the map may be changed by clicking <b>Map</b> in the Mapping window. See section 2.4.2.1. </font><p> </p></td>

</tr></tbody></table>

<center> <img src="unemap_fig9.gif"><br> Figure 8. An activation map </center>

<p>

</p><p> </p><h2><a name="1.8">1.8 Finishing</a></h2><p> <u></u></p><p> The session is ended by clicking <b>Close</b> in the main menu.</p><p>

</p><hr size="4" width="60%">

<center> <h1><a name="2">REFERENCE</a></h1><p> </p></center>

<h2><a name="2.1">2.1 ACQUISITION WINDOW</a></h2><p>

<b>Experiment </b>sets the zero time for time measurement and allows the user to select a directory to save data to. If <b>Acquire</b> is selected, the name of a file to record the signal data in is requested. <b>Monitoring</b> enables signals from electrodes to be viewed, with the use of <b>Page,</b> while the experiment is running (this feature has not yet been implemented). <b>Calibration</b> is possible if the experiment has not been started.</p><p> </p><p> The length of the acquisition interval can be altered by dragging the start and finish times with the mouse.</p><p>

</p><h2><a name="2.2">2.2 ANALYSIS WINDOW</a></h2><p>

</p><h3><a name="2.1.1">2.2.1 Top Pane</a></h3>

<p> The top pane of the analysis window shows the currently selected signal. The name of the input device is shown on the left hand side of the pane. The vertical yellow lines of the analysis interval can be dragged along the pane with the mouse - the box determines the signal interval shown in the lower Analysis pane and the top Signal pane. The analysis interval in the Analysis window can be dragged to cover other times with the mouse.</p><p> </p><p> The data for the analysis interval for all signals can be saved by choosing <b>Save</b> <b>Interval</b> in the <b>File</b> menu.</p><p> </p><p> The red vertical line indicates the time for which the potential map would be drawn. Clicking on <b>Baseline</b> adjusts the offset for each signal so that the potential at this time is zero.<b></b></p><p> <b></b></p><p> The potential range for the current signal can be altered by holding down the mouse on the vertical axis in the lower pane of the Signal window and dragging the yellow line that appears. If <b>Range </b>in the Analysis window is then selected, this new range will be used for all signals.</p><p> <b></b></p><p>

</p><h3><a name="2.2.2">2.2.2 Acceping/Rejecting Signals</a></h3><p>

<u></u>Electrode signals can be <b>Accepted/Rejected</b> using the top menu bar. All signals in the lower pane can be viewed using <b>Next/Previous</b> selection. Clicking <b>Next</b> or <b>Previous</b> when the current signal is undecided will cause the signal to be accepted.</p><p> </p><p>

</p><h3><a name="2.2.3">2.2.3 Map Menu</a></h3><p>

<u></u>Clicking <b>Potential</b> under <b>Map</b> causes a potential map to be drawn in the Mapping window.</p><p> </p><p> An activation map can be drawn, if event times have been read or calculated, by selecting <b>Activation</b> under <b>Map</b> in the analysis window. The activation map will be drawn for the current 'beat'. Rejected activation markers will not be used when drawing the activation map.</p><p> </p><p> The <b>Gradient </b>option has not yet been implemented.</p><p> </p><p>

</p><h3><a name="2.2.4">2.2.4 File Menu</a></h3><p>

To read in signal data choose the <b>Read signal</b> option from the <b>File</b> menu. A file selection box will appear and the signal file required can be selected by clicking once on the file name then once on OK or by double-clicking on the file name. A part of the current signal interval can be saved by adjusting the yellow box in the top pane so that it encloses the desired sub-interval and selecting <b>Save Interval</b>.</p><p> </p><p> Event times can be calculated or read from a file. To read event times from a data file choose the <b>Read event time</b> from the file menu. A dialogue box will request a file name. If the event times have been calculated they can be saved to a file using the <b>Save event times</b> option.</p><p> </p><p>

</p><h3><a name="2.2.5">2.2.5 Bottom Pane</a></h3><p> <u></u></p><p> The displayed order of signals in the lower pane of the Analysis window can be either arranged according to <b>Channel</b> number or <b>Event time</b>.</p><p> </p><p> The signals can be displayed separately or all the signals can be <b>Overlapped</b>. If <b>Separate </b>display is chosen each signal appears in the Analysis window on a separate graph.</p><p> </p><p> Electrodes can be grouped in <b>regions</b>. Different regions can be selected to look at different groups of signals. The possible regions for each rig are named in the last menu.</p><p> </p><p>

</p><h2><a name="2.3">2.3 SIGNAL WINDOW</a></h2><p>

The Signal window is used for determining the activation times for the electrode signals. There are two ways of calculating the activation times - <b>Interval</b> and <b>Threshold</b>. The calculated activation times can then be corrected by the user.</p><p>

</p><h3><a name="2.3.1">2.3.1 Search Interval</a></h3><p>

<u></u>The yellow box in the top pane of the Signal shows the interval for which activation times will be calculated.</p><p> </p><p> For the <b>Interval</b> option, the search interval can be split into a maximum of nine '<b>beats</b>'. This is done by clicking the <b>increase/decrease arrows</b>. The active beat is indicated by a solid white box in the top pane and is shown enlarged in the bottom pane. The active beat can be changed by clicking the mouse in one of the other beats.</p><p> </p><p> For the <b>Threshold</b> option, the solid white box will initially be the same size as the search interval. As for the Interval option, the interval in the solid white box is shown in the lower pane. Unlike the Interval option, the ends of the white box can be adjusted, separately from the search interval, using the mouse. If an activation marker in the upper pane which is not within the white box is selected, the white box will be centered on it.</p><p> </p><p>

</p><h3><a name="2.3.2">2.3.2 Calculating Activation Times</a></h3><p>

The <b>activation times</b>, for the signals that are not rejected, are computed if <b>Calculate</b> is selected. The way in which these are computed depends on whether <b>Interval </b>or <b>Threshold </b>is being used.</p><p> </p><p> If <b>Interval </b>is specified, then one activation time is calculated for each beat. The activation time is the time at which the signal gradient/slope is greatest.</p><p> </p><p> For the <b>Threshold </b>option, activation times are chosen so that the gradient is greater than the specified percentage of the maximum for the interval and so that the separation between activation times is greater than the specified minimum. Activation times can be calculated for all signals that are not rejected using <b>Calculate all</b>, or just for the current signal with <b>Calculate current</b>.</p><p> </p><p> The activation markers appear as vertical green lines in the Signal window and bottom pane of the the Analysis window. The delay times for the markers of the current signal are shown in the upper pane. The delay time for the current activation marker is shown in the lower pane. The activation times can be altered by dragging the markers in the bottom pane of the Signal window with the mouse. For the <b>Threshold</b> option, markers can be added or deleted using the right mouse button.</p><p> </p><p>

</p><h3><a name="2.3.3">2.3.3 Datum time</a></h3><p>

<u></u>The datum time is the time from which activation delays are measured. The datum time is common to all signals and is shown as a white line in the bottom pane of the Signal and Analysis windows. The datum can be moved with the mouse and this will change the activation times for all signals. During the calculation of activation times, the datum can be <b>Automatic</b> or <b>Fixed</b>. If activation times are calculated with <b>Automatic</b>, the datum time will be shifted to be the earliest calculated activation time. If activation times are calculated with <b>Fixed</b>, the datum will not be changed.</p><p> </p><p>

</p><h3><a name="2.3.4">2.3.4 Accepting/Rejecting Activation Times</a></h3><p>

The <b>Previous</b>,<b> Next</b>,<b> Accept</b> and<b> Reject</b> options in the lower menu bar apply to the activation times. Activation times can be <b>Accepted/Rejected</b> using the menu bar. If <b>Device order</b> is selected, <b>Next/Previous</b> moves through all the signals showing the same 'beat' before moving to the next/previous beat. If <b>Beat order</b> is selected, <b>Next/Previous</b> moves through all the beats for one signal before moving to the next/previous signal.</p><p> </p><p> Clicking <b>Next</b> or <b>Previous</b> when the current activation time is undecided will cause the activation time to be accepted.</p><p> </p><p>

</p><h2><a name="2.4">2.4 MAPPING WINDOW</a></h2><p>

The menu bar for the mapping window has different entries depending on whether it is associated with analysis or acquisition.</p><p>

</p><h3><a name="2.4.1">2.4.1 When Acquiring Data</a></h3><p>

The upper pane is used for displaying the auxiliary inputs.</p><p>

</p><h3><a name="2.4.1.1">2.4.1.1 Rig Set Up</a></h3><p>

<u></u>Clicking on <b>Set up</b> brings up a dialog box for creating new electrode layouts. The <b>Rig</b> may be a sock (whole heart) or a patch (plaque). The number of <b>Rows</b>, <b>Columns</b>, <b>Regions </b>and <b>Auxiliary </b>inputs in the rig can be altered with the increase/decrease arrows. <b>Set up</b> on the dialog box will cause the new configuration to be created and displayed.</p><p> </p><p>

</p><h3><a name="2.4.1.2">2.4.1.2 Modify</a></h3><p>

This feature has not yet been implemented.</p><p>

</p><h3><a name="2.4.1.3">2.4.1.3 Page</a></h3><p>

This feature has not yet been implemented.</p><p> </p><p>

</p><h3><a name="2.4.1.4">2.4.1.4 File</a></h3><p>

The configuration of a rig can be saved to a file or read from a file using this menu. The default option in this menu makes the default configuration (automatically read in when emap starts) the same as the current configuration.</p><p> </p><p>

</p><h3><a name="2.4.1.5">2.4.1.5 Map Projection</a></h3><p>

For socks the map projection can either be <b>Hammer</b> or <b>Polar</b>. The Hammer projection has the left and right hand boundaries corresponding to a cut down the middle of the right ventricle. The Polar projection has the apex of the heart at the center and the heart viewed from the apex end.</p><p> <u></u></p><p>

</p><h3><a name="2.4.2">2.4.2 When Analysing Data</a></h3><p>

The upper pane is used for displaying the <b>colour scale</b>. It can be altered by dragging the vertical reference lines to the desired position. The <b>Set up</b> button is replaced by a <b>Map</b> button which is used for setting mapping display options (see below). The <b>Modify</b> and <b>Page</b> buttons are replaced by an <b>Animate</b> button. The <b>Animate</b> button shows the activation wave moving throught the rig.</p><p>

</p><h3><a name="2.4.2.1">2.4.2.1 Mapping Display Options</a></h3><p>

Selection of <b>Map</b> brings up a dialog box for specifying map display options.</p><p> </p><p> If <b>Colour map</b> is deactivated the set up of the rig is shown in the mapping window. If a map has previously been drawn selection of <b>Colour map</b> will show the Activation or Potential map.</p><p> </p><p> <b>Contours</b> can be drawn on the Activation or Potential maps. The number of contours is altered with the increase and decrease arrows.</p><p> </p><p> Electrodes on the map can be shown as a <b>Value</b>, <b>Name</b> or <b>Channel </b>by selecting one of these options from the menu.</p><p> Value can be shown if activation time or potential are being mapped.</p><p> Name will show the electrodes names;.</p><p> Channel shows the channel number for the electrode.</p><p> </p><p> <b>Fibres</b> can be displayed with <b>Fine</b>, <b>Medium</b> or <b>Coarse </b>spacing.<b></b></p><p> <b></b></p><p> <b>Landmarks </b>such as arteries can also be displayed.</p><p> </p><p>

</p><hr size="4" width="60%">

<center> <h1><a name="3">CONFIGURATION FILE FORMAT</a></h1> </center>

<p> This section specifies the format for the configuration (.cnfg) files. Values that need to be entered by the user are enclosed in angle brackets.<p>

<p> On the first line are the rig type (<tt>sock</tt> or <tt>patch</tt>) and the name of the rig separated by a colon -<p> <tt>(rig type) : (name)</tt><p> <tt></tt>On the following line are rig type dependent properties.<p> a) sock. Specify the focus to be used for the Hammer projection as -<p> <tt>focus for Hammer projection : (value)</tt><p> <tt></tt>b) patch. No rig type dependent properties<p> <p> There may be a number of mapping regions eg. the plunger levels for a patch or the epicardium and the endocardium for the whole heart. A separate map is drawn for each region ie. the region geometries are independent/unrelated. For each region there is a region heading line -<p> <tt>region : (region name)</tt><p> <tt></tt>followed by a list of inputs for the region. For each input the first line is -<p> <tt>(input type) : (input name)</tt><p> <tt></tt>The input type is either electrode or auxiliary. The second line for an input is -<p> <tt>channel : (channel number)</tt><p> <tt></tt>For an electrode there is an additional line specifying the position. This depends on the rig type.<p> a) sock.<p> <tt>position : x = (value), y = (value), z = (value)</tt><p> <tt></tt>b) patch.<p> <tt>position : x = (value), y = (value)</tt><p> <tt></tt><p> The line following the last input in the last region is the heading for the pages section. It is simply -<p> <tt>pages</tt><p> <tt></tt>For each page there is a page name and a list of input names in the following form -<p> <tt>(page name) : (input_name) (, ...)</tt><p> <tt></tt>