nmrglue.process.proc_base.tm
- nmrglue.process.proc_base.tm(data, t1=0.0, t2=0.0, inv=False, rev=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
- datandarray
Array of NMR data.
- t1int
Length of left ramp in points.
- t2int
Length of right ramp in points.
- 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.