2.5.8.1.1 IntegrationResult


Name

IntegrationResult

Description

Declaration

typedef struct tagIntegrationResult
{
	int         i1;
	int         i2;
	double      x1;
	double      x2;
	double      xPeak;
	double      yPeak;
	double      dxPeak;
	double      dyPeak;
	double      Area;
	double      yPeakBase;
	int         idx1;
	int         idx2;
	
	double      xLeft;
	double      xRight;
	int         iPeak;
	
	int         nPeakDir;
	
	double      xCentroid;
	double      yCentroid;
	
} IntegrationResult;

Members

i1
the beginning index of the range of integration
i2
the ending index of the range of integration
x1
the beginning of x range of integration
x2
the end of x range of integration
xPeak
x of peak position relative to baseline
yPeak
y of peak position relative to baseline
dxPeak
peak width at half height
dyPeak
peak's half height from base
Area
the area of the peak
yPeakBase
is zero if integrate without base line, otherwise the base line y at peak position
idx1
the begging index for halfwidth calculation that give rise to dxPeak
idx2
the ending index for halfwidth caculation that give rise to dxPeak
xLeft
the left x position of fwhm, to replase idx1 which are dependant on the data points
xRight
the right x position of fwhm, to replase idx2 which are dependant on the data points
iPeak
the index of the peak position
nPeakDir
the direction of the peak, 1 means positive and -1 means negative
xCentroid
the x position of centroid
yCentroid
the y position of centroid

Remark

Examples

Header to Include

origin.h

See Also

Reference