nmrglue.process.pipe_proc.fsh¶
-
nmrglue.process.pipe_proc.
fsh
(dic, data, dir, pts, sw=True)[source]¶ Frequency shift.
- Parameters
- dicdict
Dictionary of NMRPipe parameters.
- datandarray
Array of NMR data.
- dir{‘rs’ or ‘ls’}
Direction to shift spectra, ‘rs’ for right shifting, ‘ls’ for left shifting.
- ptsfloat
Number of points to shift.
- swbool
True to update chemical shift calibration parameters.
- Returns
- ndicdict
Dictionary of updated NMRPipe parameters.
- ndatandarray
Array of NMR data which has been frequency shifted.
Notes
This function does not perfrom a Hilbert transfrom when data is complex, NMRPipe’s FSH function appear to. As such the results of the imaginary channel differs from NMRPipe. In addition MAX/MIN value are slightly different than those in NMRPipe.