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)[source]
Phase shift
- Parameters
- dicdict
Dictionary of NMRPipe parameters.
- datandarray
Array of NMR data.
- p0float
Zero order phase in degrees.
- p1float
First order phase in degrees.
- invbool
True to perform inverse phase correction.
- hdrbool
True to use phasing parameters from dic.
- noupbool
True to not update phasing paramters in returned ndic.
- htbool
True to perform a Hilbert transform to reconstruction imaginaries before phasing.
- zfbool
True to zero fill before applied Hilbert transform.
- expbool
True to perform exponential phase correction. False performs linear phase correction.
- tcfloat, optional
Exponential decay constant. User when exp is True.
- Returns
- ndicdict
Dictionary of updated NMRPipe parameters.
- ndatandarray
Array of NMR data which has been phased.
Notes
When inv is True this function will correctly invert an expoenential phase correction, NMRPipe’s PS function does not. In addition, FDFNP0 and FDFNP1 are updated unless noup=True. There are not rs and ls parameter, if the data need to be shifted before phasing use the
rs()
or :py:func`ls` function before using this function.