nmrglue.process.pipe_proc.gmb

nmrglue.process.pipe_proc.gmb(dic, data, lb=0.0, gb=0.0, c=1.0, start=1, size='default', inv=False, one=False, hdr=False)[source]

Modified Gaussian Apodization

Parameters :

dic : dict

Dictionary of NMRPipe parameters.

data : ndarray

Array of NMR data.

lb : float

Exponential apodization term in Hz.

gb : float

Gaussian apodization term in Hz.

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 a modified gaussian apodization applied.

Previous topic

nmrglue.process.pipe_proc.gm

Next topic

nmrglue.process.pipe_proc.jmod

This Page