nmrglue.process.proc_base.tri¶
-
nmrglue.process.proc_base.
tri
(data, loc='auto', lHi=0.0, rHi=0.0, inv=False, rev=False)[source]¶ Triangle apodization.
Functional form of apodization window.
Range
Description
0:loc
Linear increase/decrease from lHi to 1.0
loc:
Linear increase/decrease from 1.0 to rHi
- Parameters
- datandarray
Array of NMR data.
- locint or “auto”
Location of triangle apex. ‘auto’ set the apex to the middle of the trace (default).
- lHifloat
Starting height of the left side of the triangle.
- rHifloat
Starting height of the right side of the triangle.
- invbool, optional
True for inverse apodization. False (default) for standard.
- revbool, optional.
True to reverse the apodization before applying it to the data.
- Returns
- ndatandarray
Array of NMR data with apodization applied.