Next: How can I change WAVE's default scales
Up: Display-related questions
Previous: How can I get correct display scales?
There are several reasons why the size of signals may be incorrect. WAVE
determines display scales for signals based on several parameters:
-
First, the DBCAL environment variable specifies the name
of a text file (located in a directory in the DB path) containing the
names of many common signals and customary display scales for each
(expressed as physical units per centimeter). For example, ECG
signals are customarily displayed at a scale of 1 mV per centimeter.
If a signal appears at an inappropriately large or small scale, its
name may be missing from the calibration file, the DBCAL
variable may not correctly specify the name of the calibration file,
or the DBCAL file may not reside in a directory in the DB path.
On most systems, the calibration file is `
/usr/local/database/dbcal', and the DBCAL environment
variable is set by the same command used to set the DB path (see the
discussion about the
database environment).
Instructions for adding additional signal names and scales to the calibration
file are located within the file itself, and may also be found in the
ECG Database Applications Guide.
-
Second, the header file for the record specifies the gain for each signal
(the number of analog-to-digital units per physical unit). If the gain has
not been determined, or is incorrect, the size of the signal as drawn by
WAVE may be incorrect as well. If you know the physical values that
correspond to at least two levels represented in the signal (for example,
the top and bottom of a calibration pulse), you can use the `calibrate'
application to determine the gain and to rewrite the header file. See the
ECG Database Applications Guide
for details. `calibrate' can be most conveniently run from
WAVE's Analysis window.
-
Finally, the display calibration determines the number of pixels per inch
(25.4 mm). WAVE usually gets its information about the display calibration
from the X server, but the X server may not supply the correct information.
See
``How can I get correct display scales?''
for details on diagnosing and correcting this problem.
Next: How can I change WAVE's default scales
Up: Display-related questions
Previous: How can I get correct display scales?
George B. Moody (george@hstbme.mit.edu)
Wed May 7 20:21:25 EDT 1997