This program operates on a passed array of data points . The integral function is the sum of the array data points times the X increment calculated from the leftx and rightx arguments and the number of points in the passed array. Area Uses trapezoidal rule using the absolute value of the regions between the baseline and the curve.
Values are determined both before and after subtracting the baseline.
Mean Sum of the Y values divided by the number of points in the selected region. Values are determined both before and after subtracting the baseline. Median Calculated by iteratively converging on the Y value that half the points are above lowering the upper limit when it is too high and raising the lower limit when it is too low. Values are determined both before and after subtracting the baseline. Values are determined both before and after subtracting the baseline.