ILabPascal - Special Data Types [S..Z]

In addition to the standard data types of ILabPascal the scripting engine provides several predefined data types which are specifically needed in some function calls.

Declaration Explanation & Details
ShortString = string[255]; A ShortString is 0 to 255 single-byte characters long.
TScaleLocationHoriz = (slTop, slBottom); Declares the two possible positions (and orientations) of a horizontal axis. The scales are oriented in a way that the line of the scale is always at the side of the chart border.
TScaleLocationVert = (slLeft, slRight); Declares the two possible positions (and orientations) of a vertical axis. The scales are oriented in a way that the line of the scale is always at the side of the chart border.
TScaleUnitAnchor = (uaSclTopLft, uaSclCenter, uaSclBotRgt); Declares how the unit identifier of a scale is anchored.
TSclType = (sctMeanCenter, sctStandardize,
sctConstSum, sctConstSquaredSum, sctMaxAbs,
sctRange, sctQNormalize, sctSquash, sctUndefined);
Defines the available scaling procedures (see ScaleSpectrum for more).
TShapeKind = (skRectangle, skEllipse, skCircle); Declares how the kind shape used in function AddMaskShape.
TSpdcMode = (smUndefined, smPeak,
smArea, smCorrTempl, smPkRatio,
smCentroid, smArRatio, smCorrInvTempl,
smVirtSpdc, smIntGridFilt, smGCorrTempl,
smGCorrInvTempl, smVarDiff);
Defines the type of a spectral descriptor (see AddSpdc)
TSpecSimi = (spsEuclidean, spsCorr,
spsSigCorr, spsSpecAngle);
Defines the supported similarity operations (see function SpectralSimilarity).
TSpecSmoothMode = (spsmMovAvg, spsmWgtAvg,
spsmPolynomial, spsmMovMed, spsmPenSpline,
spsmSincLP, spsmSincHP, spsmSincBP,
spsmSincBS, spsmChebychevLP);
Declares the supported spectral smoothing methods (see SmoothAllSpectra and SmoothSpectrum).
spsmMovAvg ... moving average
spsmWgtAvg ... weighted moving average
spsmPolynomial ... Savitzky-Golay polynomial smoothing
spsmMovMed ... moving median
spsmPenSpline ... penalized spline
spsmSincBP ... windowed sinc bandpass filter
spsmSincBS ... windowed sinc bandstop filter
spsmSincLP ... windowed sinc lowpass filter
spsmSincHP ... windowed sinc highpass filter
spsmChebychevLP ... Chebychev lowpass filter
TStatOp = (soMean, soStdDev, soMin, soMax); Defines the type of statistical operator to be applies by ExtractFromCubeLayers and CreateImgStackPhoto:
soMean ... means
soStdDev ... standard deviations
soMin ... minima
soMax ... maxima
TStitchMode = (smFullSpec, smSelLayers, smSpecDesc); Defines the options for stitching data:
smFullSpec ... use all available layers
smSelLayers ... use only selected layers
smSpecDesc ... use spectral descriptors
TStrArray = array of string; Declares an open array of strings.
TTxtLblAttachMode = (tlamNone, tlamXOnly,
tlamYOnly, tlamBoth);
Declares the types of attaching TextLabels to the chart data:
tlamNone ... the label is not attached at all
tlamXOnly ... the label is attached to the x-coordinates
tlamYOnly ... the label is attached to the y-coordinates
tlamBoth ... the label is attached to both the x- and the y-coordinates
TTxtLblMode = (tlOff, tlsimple, tlBox,
tlUnderline, tlShadow);
Declares the available layouts of TextLabels:
tlOff ... label is switched off
tlSimple ... just text without any lines
tlUnderline ... text is underlined
tlBox ... a rectangular box is drawn around the label
tlShadow ... box label with shadow
TUsMode = (usNone, usSampleHold, usLinInterpol); Specifies the supported upsampling modes of UpsampleSpectra.
TVariantArray = array of variant; Declares an open array of variants.
TVerticalAlignment = (vaTop, vaCenter,
vaBottom);
Specifies the possible vertical alignments of TextLabels:
vaTop ... align an item to the top of its container
vaCenter ... align an item to the center of its container
vaBottom ... align an item to the bottom of its container


Last Update: 2018-Jšn-15