Sourcecode
rasch@rasch:~> octave
GNU Octave, version 2.1.50 (i686-pc-linux-gnu).
...
octave:1> ra=ra_lib_init
ra = 145016232
octave:2> meas=ra_meas_open(ra, '/home/rasch/ecgs/AT011030_rdi.ART', 0)
meas = 145244032
octave:3> [v, n, d]=ra_meas_get_info(meas, 'num_sessions')
v = 1
n = #sessions
d =
octave:4> [v, n, d]=ra_meas_get_info(meas, 'max_samplerate')
v = 1600
n = max. samplerate
d = maximum samplrate used in measurement
octave:5> num=ra_meas_get_info(meas, 'num_obj_infos')
num = 7
octave:6> for i=0:(num-1)
> [v,n,d]=ra_info_get_by_idx(meas, 'meas', i)
> endfor
v = A.
n = Name
d = name of the person measured
v = T.
n = Forename
d = forename of the person measured
v = 16.01.1955
n = Birthday
d = birthday of the person measured
v = male
n = gender
d = gender of the person measured
v = 46
n = Age
d = age of the person measured
v = 196
n = Height
d = height of the person measured in cm
v = 99
n = Weight
d = weight of the person measured in kg
octave:7>
|