DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


DLabPascal - Special Data Types [D..F]

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

Declaration Explanation & Details
TDataAttrib = (daNone, daNumeric, daSymbol, daClassSymbols, daClassNumbers); Defines the data attributes in diagrams.
TDataRange = (hrColumn, hrRow, hrAll, hrMarkedData); Defines the supported range options in various diagrams.
TDateTime = double; Defines the date/time data type. The integral part is the number of days that have passed since December 30, 1899. The fractional part is the time of day. The maximal correct date supported is limited to December 31, 9999 23:59:59:999.
TDims = (dimX, dimY, dimL, dimT); Defines the four dimensions of the hypercube. dimX and dimY are the lateral dimensions, dimL corresponds to the spectral dimension and dimT represents the time axis.
TDirection = (dirUpward, dirDownward, dirLeftward, dirRightward); The type definition TDirection specifies the four principal directions on the screen.
TDistMode = (dmJaccard, dmManhattan, dmEuclid, dmEuclidSqr, dmDice, dmUserDef); The type declaration TDistMode defines the possible operating modes of the method DistanceOfObjects. Currently the following distances can be calculated:

dmJaccard similarity measure first defined by P. Jaccard (sometimes also referred to as Tanimoto coefficient)
dmManhattan Manhattan or city block distance
dmEuclid Euclidean distance
dmEuclidSqr squared Euclidean distance
dmDice the Dice coefficient

TDLabDir = (ddHome, ddWork, ddScript,
ddScratch, ddColorPal, ddSysTemp);
Declares the different types of folders accessible in the DataLab environment. See GetDLabDir for details.
TDoubleArray = array of double; Declares an open array of double precision numbers (a "data vector").
TDouble2DArray = array of array of double; Declares a two-dimensional open array of double precision numbers (a "data matrix"). The first index corresponds to the columns of the matrix, the second index to the rows.
TDouble3DArray = array of array of array of double; Declares a three-dimensional open array of double precision numbers (a "data cuboid"). The first index corresponds to the columns of the matrix (dimX), the second index to the rows (dimY), the third index designates the layers of the cuboid (dimL).
TDXXUnits = (xuInvCm, xuMicrons, xuNanom, xuSeconds, xuAmu, xuHz, xuUnknown); Declares the accepted units for the spectral axis:
xuInvCm - wave numbers (cm-1)
xuMicrons - micrometers (Ám)
xuNanom - nanometers (nm)
xuSeconds - seconds (s)
xuAmu - atomic mass units
xuHz - hertz (Hz)
xuUnknown - unknown unit
TDXYUnits = (yuTmitt, yuReflect, yuAbsorb, yuKubMunk, yuArbit, yuUnknown); Declares the accepted units for the intensity axis:
yuTmitt - transmittance (IT/I0)
yuReflect - refelectance (IR/I0)
yuAbsorb - absorbance lg(I0/I)
yuKubMunk - Kubelka-Munk ((I-R2)/(2R))
yuArbit - arbitrary units
yuUnknown - unknown unit
TEdgeOp = (eopMin, eopMax, eopSum, eopMean, eopStdDev); Declares the type of operation performed by the EdgeVector function:

eopMin - find the minimum
eopMax - find the maximum
eopSum - calculate the sum
eopMean - calculate the mean
eopStdDev - calculate the standard deviation
TFFTPadding = (ftpZero, ftpLevel, ftpMirror); Specifies the type of padding to be used for the Fourier transform if the data sample does not contain a number of data points which is a power of 2.
TFastFourierWgtWin = (fwRectangle,
fwTriangle, fwCos2, fwGauss,
fwHamming, fwBlackman, fwBlkmHarris,
fwBlkmNuttall, fwTukey, fwUserDef);
The type of windowing function used by the function FFT.
TFont = class(TGraphicsObject) TFont describes font characteristics used when displaying text.
TFrameStyle = (fsNone, fsSimple, fsLowered, fsRaised, fsEmbossed, fsEngraved); Defines the possible variations of the frame of a rectangular area.