nmrglue.process.pipe_proc.sine

nmrglue.process.pipe_proc.sine(dic, data, off=0.0, end=1.0, pow=1.0, c=1.0, start=1, size='default', inv=False, one=False, hdr=False)[source]

Sine bell apodization.

Parameters
dicdict

Dictionary of NMRPipe parameters.

datandarray

Array of NMR data.

offfloat

Starting location of sine-bell as a fraction of pi radians.

endfloat

Ending location of sine-bell as a fraction of pi radians.

powint

Sine-bell power.

cfloat

First point scale value.

startint, optional

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

sizeint, optional

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

invbool, optional

True for inverse apodization, False for normal apodization.

onebool, optional

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

hdrbool, optional

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

Returns
ndicdict

Dictionary of updated NMRPipe parameters.

ndatandarray

Array of NMR data with a sine-bell apodization applied.