nmrglue.process.pipe_proc.apod

nmrglue.process.pipe_proc.apod(dic, data, qName=None, q1=1.0, q2=1.0, q3=1.0, c=1.0, start=1, size='default', inv=False, one=False, hdr=False)[source]

Generic apodization.

Parameters :

dic : dict

Dictionary of NMRPipe parameters.

data : ndarray

Array of NMR data.

qName : {‘SP’, ‘EM’, ‘GM’, ‘GMB’, ‘TM’, ‘TRI’, ‘JMOD’}

Abbreviation of apodization function the apply. See the specific apodization function for a description.

q1 : float

First apodization function parameter. See specific apodization function for details.

q2 : float

Second apodization function parameter. See specific apodization function for details.

q3 : float

Third apodization function parameter. See specific apodization function for details.

c : float

First point scale value.

start : int, optional

Starting location of apodization window. Default is the first point, 1.

size : int, optional

Size of the apodization window. Default (‘default’) is the full size of the active dimension.

inv : bool, optional

True for inverse apodization, False for normal apodization.

one : bool, optional

True to set points outside of window to 1. False leaves points outside the apodization window as is.

hdr : bool, optional

True to read apodization parameters from the the parameters in dic.

Returns :

ndic : dict

Dictionary of updated NMRPipe parameters.

ndata : ndarray

Array of NMR data with apodization applied.

See also

em
Exponential apodization.
gm
Lorentz-to-Gauss apodization.
gmb
Modified Gaussian apodization.
jmod
Exponentially damped J-modulation apodization.
sp
Sine bell apodization.
tm
Trapezoid apodization.
tri
Triangular apodization.

Previous topic

nmrglue.process.pipe_proc.ztp

Next topic

nmrglue.process.pipe_proc.em

This Page