nmrglue.process.proc_base.tm

nmrglue.process.proc_base.tm(data, t1=0.0, t2=0.0, inv=False)[source]

Trapezoid Apodization

Functional form of apodization:

Range Description
0:t1 Linear increases from 0.0 to 1.0
t1:size - t2 Flat with value of 1.0
-t2: Linear descrease from 1.0 to 0.0
Parameters :

data : ndarray

Array of NMR data.

t1 : int

Length of left ramp in points.

t2 : int

Length of right ramp in points.

inv : bool, optional

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

Returns :

ndata : ndarray

Array of NMR data with apodization applied.

Previous topic

nmrglue.process.proc_base.sine

Next topic

nmrglue.process.proc_base.tri

This Page