nmrglue.process.proc_base.em

nmrglue.process.proc_base.em(data, lb=0.0, inv=False, rev=False)[source]

Exponential apodization

Functional form of apodization window:

\[em(x_i) = \exp(-pi * i * lb)\]
Parameters
datandarray

Array of NMR data.

lbfloat

Exponential line broadening, in units of points. To apply a similar apodization as NMRPipe’s EM function, use lb = lb_hz / sw_hz, where lb_hz is the amount of broadening to apply in Hz and sw_hz is the spectral width of the last dimension in Hz.

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.