Guide
Reference
xpectra-process-raw
xpectra-train
xpectra-predict
xpectra-study
Project
Integrated area (or peak height) of a wavenumber window.
With subtract_local_baseline, a straight line between the window’s endpoints is removed first — the usual convention for band indices.
X (ndarray)
wavenumbers (ndarray)
lo (float)
hi (float)
mode (str)
subtract_local_baseline (bool)
ndarray