nmrglue.process.proc_base.sp

nmrglue.process.proc_base.sp(data, off=0, end=1.0, pow=1.0, inv=False, rev=False)[source]

Shifted sine-bell apodization

Functional form of apodization window:

\[sp(x_i) = \sin(\frac{pi * off + pi * (end - off) * i} {size - 1})^{pow}\]
Parameters :

data : ndarray

Array of NMR data.

off : float

Offset start of sine-bell as a percentage of the trace (0 -> 1).

end : float

End of of sine-bell as a percentage of the trace (0 -> 1).

pow : float

Power to raise sine-bell to.

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

Next topic

nmrglue.process.proc_base.sine

This Page