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)
findsig(desc)
setgvmode(mode)
getgvmode(dummy)
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)
tnextvec(s, 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)
setafreq(frequency)
getafreq(dummy)
setiafreq(a, frequency)
getiafreq(a)
getiaorigfreq(a)
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)
sample(s, time)
sample_valid(dummy)
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)
setinfo(record)
wfdb_freeinfo(dummy)
newheader(record)
setheader(record, nsig)
wfdbgetskew(s)
wfdbsetiskew(s, value)
wfdbsetskew(s, value)
wfdbgetstart(s)
wfdbsetstart(s, value)
wfdbputprolog(prolog, bytes, s)
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)
resetwfdb(dummy)
setibsize(value)
setobsize(value)
wfdbfile(filetype, record, pathname)
wfdbflush(dummy)
wfdbmemerr(mode)
wfdbversion(version)
wfdbldflags(options)
wfdbcflags(options)
wfdbdefwfdb(string)
wfdbdefwfdbcal(fname)
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 (recommended), do so using a command such as:
g77 -o foo foo.f -DFIXSTRINGS /usr/include/wfdb/wfdbf.c -lwfdb
The wrappers include optionally compiled code that converts traditional
space-terminated Fortran strings to null-terminated C strings and vice versa.
This code is compiled if the symbol FIXSTRINGS is defined, as in the g77
command above. If you use a different Fortran compiler, this code may not
be necessary. 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 10 June 2022