Some typical uses of the DB library are these:
wave
(see section Sources), reads the
digitized signals of a database record and displays them with
annotations superimposed on the waveforms. Such a program allows the
user to select any portion of the signals for display at various scales,
and to add, delete, or correct annotations.
bxb
(see section DB Application Programs), reads two or more sets of annotations
corresponding to a given record, and tabulates discrepancies between
them. If the reference annotations supplied with the database are
compared in this way with annotations produced using an analysis
program, this comparison is a means of establishing the accuracy of the
analysis program's output.
The DB library provides the means for programs such as those described above to select a database record, read and write signals, read and write annotations, jump to arbitrary points in the record, and determine attributes of the signals such as the sampling frequency. The library also provides a variety of other more specialized services for programs that need them. The library defines an interface between programs and the database that is sufficiently powerful, general, and efficient to eliminate the need for ad hoc user-written database I/O.
Go to the first, previous, next, last section, table of contents.