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 :

data : ndarray

Array of NMR data.

loc : int or “auto”

Location of triangle apex. ‘auto’ set the apex to the middle of the trace (default).

lHi : float

Starting height of the left side of the triangle.

rHi : float

Starting height of the right side of the triangle.

inv : bool, optional

True for inverse apodization. False (default) for standard.

rev : bool, optional.

True to reverse the apodization before applying it to the data.

Returns :

ndata : ndarray

Array of NMR data with apodization applied.

Previous topic

nmrglue.process.proc_base.tm

Next topic

nmrglue.process.proc_base.rs

This Page