Previous topic

nmrglue.process.pipe_proc.di

Next topic

nmrglue.process.pipe_proc.tp

This Page

nmrglue.process.pipe_proc.ps

nmrglue.process.pipe_proc.ps(dic, data, p0=0.0, p1=0.0, inv=False, hdr=False, noup=False, ht=False, zf=False, exp=False, tc=0.0)

Phase Shift

inv=True will correctly invert an expoenential phase correction. FDFNP0 and FDFNP1 are updated unless noup=True. rs and ls are not implemented, call rs or ls first.

Parameters:

  • dic Dictionary of NMRPipe parameters.
  • data array of spectral data.
  • p0 Zero order phase in degrees.
  • p1 First order phase in defrees.
  • inv Set True to perform an inverse phase correction.
  • hdr Use phase values in header dictionary.
  • noup Don’t update values in header dictionary.
  • ht Set True to use Hilbert transform to reconstruct imaginaries.
  • zf Set True to zero fill before Hilbert Transform
  • exp Set True for Exponential correction
  • tc Exponential decay constant.