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
- datandarray
Array of NMR data.
- offfloat
Offset start of sine-bell as a percentage of the trace (0 -> 1).
- endfloat
End of of sine-bell as a percentage of the trace (0 -> 1).
- powfloat
Power to raise sine-bell to.
- invbool, optional
True for inverse apodization. False (default) for standard.
- revbool, optional.
True to reverse the apodization before applying it to the data.
- Returns
- ndatandarray
Array of NMR data with apodization applied.