int_spec: Integrate a spectral region.
Description
Integrate a spectral region.
Usage
int_spec(mrs_data, xlim = NULL, scale = "ppm", mode = "re", summation = "sum")
Arguments
xlim
spectral range to be integrated (defaults to full range).
scale
units of xlim, can be : "ppm", "Hz" or "points".
mode
spectral mode, can be : "re", "im", "mod" or "cplx".
summation
can be "sum" (default), "mean" or "l2".
Value
an array of integral values.