Integ-obj
LabTalk Object Type:
The integration results from the integrate command are placed in the following integ object properties .
Please see the integ1 X-Function.
Area of the integration.
Half width of the peak.
X value of y0.
Beginning X.
Ending X.
Maximum height (measured from the baseline if present, otherwise measured from zero).
The following script performs an integration from zero on the active data plot. The integration results are printed to the Script window.
integ %C; if (mks1 >= 0) { i1 = mks1; i2 = mks2; } else { get %C -b i1; get %C -e i2; } type -a "Integ of %C from zero"; type "i = $(i1) --> $(i2)"; type "x = $(integ.x1) --> $(integ.x2)"; type "Area\tPeak at\tWidth\tHeight"; type "$(integ.area)\t$(integ.x0)\t$(integ.dx)\t$(integ.y0)";