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 :

data : ndarray

Array of NMR data.

lb : float

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.

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.largest_power_of_2

Next topic

nmrglue.process.proc_base.gm

This Page