qvd
| Description | Properties | Methods | Constants | Examples | See also |
The qvd object (Qub Visual Data) interfaces with QuB data files.
| a = isassigned; |
| f = filename; |
| l = listed; |
| listed = l; |
Use listed to determine whether the file is included in a multi-file analysis.
| c = segmentcount; |
| c = datacount[(segment)]; |
If the segment argument is not specified, datacount returns the data count of the entire file.
| c = adchannelcount; |
| s = addatasize; |
| s = scaling; |
| scaling = s; |
| s = sampling; |
| sampling = s; |
| f = selfirst; |
| l = sellast; |
| c = listcount; |
| i = listindex[(name = n)]; |
| n = listname[(index = i)]; |
| f = listselfirst[(list = l, sel = s)]; |
| l = listsellast[(list = l, sel = s)]; |
| c = selcount[(list = l)]; |
| i = selindex[(list = l)]; |
| v = parvalue({name | index}); |
| parvalue({name | index}) = v; |
| v = parcondvalue({name | index}); |
| parcondvalue({name | index}) = v; |
| c = parchannel({name | index}); |
| parchannel({name | index}) = c; |
| assign[({name | index})]; |
| new(filename = f, silent = si, adchannelcount = adc, addatasize = ads, sampling = s, scaling = sc); |
| open(filename = f, silent = si, readonly = ro, assignifopen = aio, source = src, adchannelcount = adc, addatasize = ads, sampling = s, scaling = sc, timecolumn = tc, segmented = seg); |
| save(filename = f, silent = si); |
| close(filename = n, force = f); |
If filename is specified, any open file can be closed, without assign
| append( source = src, newseg = ns, timecolumn = tc, segmented = seg); |
| clear; |
| select(first = f, last = l); |
| selectall; |
| addlist(name = n); |
| clearlist(list = {name|index}); |
| addsel(list = l, first = f, last = l); |
| a = average(channel = c, first = f, last = l); |
| m = min(channel = c, first = f, last = l); |
| m = max(channel = c, first = f, last = l); |
| i = minindex(channel = c, first = f, last = l); |
| i = maxindex(channel = c, first = f, last = l); |
| i = findindex(channel = c, first = f, last = l, value = v); |
Use findindex to find the index of the sample that is closest to value.
| addpar(name); |
| delpar(name); |