sum

Format:
sum( scan_id [,int_expr start_index [, int_expr stop_index]])
Result:
Number
Description:
Returns the sum of the y-values in the specified range. If there are no range indices, the entire GQE is added.

This function can also be used with ARRAYs.

e.g.:
SPECTRA> * = sum(bpu1)
88.892731