Next: ANNOT(5) Up: WFDB Applications Guide Previous: WFDB(3) | On This Page |
setanninfo(a, name, stat)
getsiginfo(s, fname, desc, units, gain, initval, group, fmt, spf, bsize,
adcres, adczero, baseline, nsamp, cksum)
setsiginfo(s, fname, desc, units, gain, initval, group, fmt, spf, bsize,
adcres, adczero, baseline, nsamp, cksum)
annopen(record, nann)
isigopen(record, nsig)
osigopen(record, nsig)
osigfopen(nsig)
wfdbinit(record, nann, nsig)
setgvmode(mode)
getspf(dummy)
getvec(v)
getframe(v)
putvec(v)
getann(a, time, anntyp, subtyp, chan, num, aux)
ungetann(a, time, anntyp, subtyp, chan, num, aux)
putann(a, time, anntyp, subtyp, chan, num, aux)
isigsettime(time)
isgsettime(group, time)
iannsettime(time)
ecgstr(code, string)
strecg(string)
setecgstr(code, string)
annstr(code, string)
strann(string)
setannstr(code, string)
anndesc(code, string)
setanndesc(code, string)
iannclose(a)
oannclose(a)
timstr(time, string)
mstimstr(time, string)
strtim(string)
datstr(date, string)
strdat(string)
adumuv(s, ampl)
muvadu(s, microvolts)
aduphys(s, ampl)
physadu(s, value)
calopen(fname)
getcal(desc, units, low, high, scale, caltype)
putcal(desc, units, low, high, scale, caltype)
newcal(fname)
flushcal(dummy)
getinfo(record, string)
putinfo(string)
newheader(record)
setheader(record, nsig)
wfdbgetskew(s)
wfdbsetskew(s, value)
wfdbgetstart(s)
wfdbsetstart(s, value)
wfdbquit(dummy)
sampfreq(record)
setsampfreq(frequency)
getcfreq(dummy)
setcfreq(frequency)
getifreq(dummy)
setifreq(frequency)
getbasecount(dummy)
setbasecount(frequency)
setbasetime(string)
wfdbquiet(dummy)
wfdbverbose(dummy)
wfdberror(string)
setwfdb(string)
getwfdb(string)
setibsize(value)
setobsize(value)
wfdbfile(filetype, record, pathname)
wfdbflush(dummy)
isann(anntyp)
isqrs(anntyp)
setisqrs(anntyp, value)
map1(anntyp)
setmap1(anntyp, value)
map2(anntyp)
setmap2(anntyp, value)
ammap(anntyp)
mamap(anntyp, subtyp)
annpos(anntyp)
setannpos(anntyp, value)
Most of these wrapper subroutines behave like their similarly-named counterparts in the WFDB library. The functions setanninfo, setsiginfo, and getsiginfo do not have direct equivalents in the WFDB library; they are provided in order to permit Fortran programs to read and write data structures passed to and from several of the WFDB library functions. Since the contents of these structures are directly accessible by C programs, these functions are not needed in the C library.
Before using annopen, set up the annotation information structures using setanninfo. After using isigopen or osigopen, use getsiginfo to obtain the contents of the signal information structures if necessary. Before using osigfopen or setheader, use setsiginfo to set the contents of the signal information structures. Before using wfdbinit, use setanninfo and setsiginfo to set the contents of the annotation and signal information structures.
To use these wrappers, call them as shown above, then compile your code
together with wfdbf.c and link to the WFDB library. If you are using the
GNU g77 compiler, do so using a command such as:
g77 -o foo -fwritable-strings foo.f wfdbf.c -lwfdb
See 'fortran/README' for further information about using the WFDB Fortran
wrappers.
Please e-mail your comments and suggestions to webmaster@physionet.org, or post them to:
PhysioNetUpdated 19 March 2003